@media (orientation: portrait) {}

@media (orientation: landscape) {}

@media (min-width: 2561px) {
    .header-links {
        height: 2vw;
        bottom: -1.5vw;
    }

    .cr-container2 .row {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-2 {
        height: 4.5rem;
    }
}

@media (max-width: 2560px) {
    .header-links {
        height: 3vw;
        bottom: -2vw;
    }

    .cr-container2 .row {
        width: 100%;
    }

    .crc1-row {
        flex: 1;
    }

    .contact-page .container {
        max-width: 40vw;
    }

    .contact-page h1 {
        width: 35vw;
    }
}

@media (max-width: 1920px) {

    .contact-page .container {
        max-width: 55vw;
    }

    .contact-page h1 {
        width: 60vw;
    }

    .title .button-cont {
        flex-direction: column;
        gap: 10px;
    }

    .cpa-img-cont a {
        width: 20%;
    }

    .cpa-img-cont a img {
        height: 35px;
    }

    .cpa-img-cont {
        width: 55%;
    }

    .cpa-img-cont-2 {
        width: 100%;
    }

    .header-links {
        max-width: 90vw;
    }

    .cr-container2 {
        width: 80vw;
    }

    .header-links2 {
        max-width: 85vw;
    }
}

@media (max-width: 1600px) {
    .header-links {
        max-width: 90vw;
        height: 4vw;
    }

    .header-links2 {
        max-width: 90vw;
    }

    .title .button-cont {
        flex-direction: column;
        gap: 10px;
    }

    .cpa-img-cont {
        width: 100%;
    }


    .title .main-butt {
        width: 8em;
    }

    .cr-container2 {
        max-width: 95vw;
        width: 100%;
    }

    .crc1-row {
        flex: 1;
    }

    .forms-cont-mobile {
        flex-direction: column;
    }

    .f-c-m-inner {
        display: flex;
        gap: 20px;
    }

    .f-c-m-inner>div {
        margin-top: 0px;
    }

    .cr-container2 {
        width: 95vw;
    }

    .link p {
        font-size: 14px;
    }
}

@media (max-width: 1400px) {
    .header-links {
        max-width: 90vw;
    }

    .inner-services-container {
        width: 100%;
    }

    .title .button-cont {
        flex-direction: column;
        gap: 10px;
    }

    .cpa-img-cont a {
        width: 20%;
    }

    .cpa-img {
        width: 100%;
        height: auto;
    }

    .header-links2 {
        max-width: 90vw;
    }

    .contact-container .container {
        height: auto;
    }

    .form-cont img {
        width: 40%;
    }

    .forms-cont-mobile {
        flex-direction: column;
        margin-top: 20px;
    }

    .forms-cont-mobile {
        flex-direction: column;
        margin-top: 0px;
        gap: 0px;
    }

    .contact-page-img-text h1 {
        font-size: 50px;
    }

    .card h1 {
        font-size: 18px;
    }

    .contact-page-img-text p {
        max-width: 85%;
    }

    .deadlines {
        margin-top: 20px;
    }

    .cr-container2 {
        width: 95vw;
    }

    .margin-top-mobile {
        margin-top: 20px;
    }

    .accordion {
        height: auto;
    }

    .crc1-row {
        width: 100% !important;
    }

    .header-contact p {
        font-size: 13px;
    }

    .link p {
        font-size: 11px;
    }

    .about-us-container .container {
        width: 90vw;
        margin: 0 auto;
    }

    .container {
        max-width: 90vw;
        margin: 0 auto;
    }

    .footer-above {
        max-width: 90vw;
    }

    .province-grid div {
        font-size: 11px;
    }

    .cr-col-1 .row {
        flex-direction: column;
        gap: 0px;
    }

    .column-form {
        gap: 30px !important;
    }

    .privacy-container {
        margin-top: 25px;
    }
}

@media (max-width: 1200px) {

    .title-in span {
        color: #826754;
    }

    .title-in {
        margin: 0 auto;
    }

    .privacy-container {
        margin-top: 25px;
    }

    .gap-row-cr {
        flex-direction: row !important;
        gap: 20px !important;
    }

    .column-form {
        gap: 25px !important;
    }

    .phone-header-contact {
        width: fit-content;
        margin: 0 auto;
        display: flex;
        gap: 5px;
        padding-bottom: 10px;
        padding-top: 10px;
        width: 100vw;
        align-items: center;
        justify-content: center;
    }

    .phone-header-contact img {
        height: 20px;
    }

    .phone-header-contact a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2px;
        background: white;
        border-radius: 20px;
        padding: 5px;
        padding-left: 10px;
        padding-right: 10px;
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    }

    .phone-header-contact a p {
        color: black;
        font-size: 15px;
    }

    .header-links {
        height: 5.75vw;
        max-width: 90vw;
        bottom: -2.5vw;
    }

    header {
        height: 8rem;
    }


    .header-info {
        max-width: min-content;
        flex-direction: column;
        align-items: center;
    }

    .bg-video {
        width: 100vw;
        height: 78vh;
        border-bottom-left-radius: 0px;
    }

    .title-cont {
        max-width: 75vw;
        margin: 0 auto;
    }

    .title-cont .main-butt {
        width: 8em;
    }

    .title-cont {
        margin-bottom: 3vh;
        margin-top: 0.5vh;
    }

    .about-container {
        flex-direction: column;
        padding-bottom: 10vh;
    }

    .about-us-container p {
        width: 100%;
        margin: 0 auto;
    }

    .attributes {
        margin: 0 auto;
        width: 1000%;
        margin-top: 20px;
    }

    .about-right {
        margin: 0 auto;
        width: 70%;
    }

    .about-img-1 {
        width: 80%;
    }

    .experience-counter {
        height: 150px;
        width: 150px;
        top: 5px;
        border: solid 3px #826754;
    }

    .experience-counter h3 {
        font-size: 22px;
        line-height: 24px;
    }

    .experience-counter p {
        font-size: 10px;
        line-height: 12px;
    }

    .slogan {
        display: none;
    }

    .reveal img {
        width: 96%;
    }

    .about-img-2 {
        bottom: -35%;
        left: 0%;
    }


    .w-m-u-d-cont {
        width: 90%;
        margin-top: 75px;
        flex-direction: column;
    }

    .comp-con p {
        white-space: initial;
    }


    .w-m-u-d-cont:hover {
        background-color: #e9e9e9;
    }

    .s-p-tc {
        border-top: solid 1px black;
        width: 100%;
        justify-content: center;
    }

    .stat p {
        font-size: 14px;
    }

    .comparison-cont,
    .comparison {
        width: 100%;
    }

    .about-title {
        width: 90vw;
        margin: 0 auto;
    }

    .header-links2 {
        max-width: 100vw;
    }

    .services-title .row {
        flex-direction: row-reverse;
    }

    .services-title {
        align-items: flex-start;
        max-width: 90vw;
        margin: 0 auto;
    }

    .services-title h2 {
        white-space: initial;
        letter-spacing: 0px;
        text-align: left;
    }

    .industries-container .container {
        max-width: 90vw;
        margin: 0 auto;
    }

    .wc-container {
        max-width: 90vw;
        margin: 0 auto;
    }

    .wc-content .row {
        flex-direction: column;
    }

    .stat img {
        width: 50px;
    }

    .faq-container {
        height: auto;
    }

    .faq-container .container {
        max-width: 90vw;
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
    }

    .faq-text {
        width: 100%;
    }

    .card {
        width: 100%;
    }

    .services-cont {
        max-width: 90vw;
        margin: 0 auto;
    }

    .service {
        height: 300px;
    }

    .inner-services-container h2 {
        white-space: initial;
    }

    .services-cont a .service {
        background-image: url(/PreciseBookkeeping/bookkeeping.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .testimonial-cont {
        width: 90vw;
        margin: 0 auto;
    }

    .contact-container .container {
        flex-direction: column;
        height: auto;
    }

    .contact-form,
    .setmore {
        width: 100%;
    }

    .setmore {
        margin-top: 5%;
    }

    .form {
        bottom: -10%;
        height: auto;
    }

    .form-cont {
        height: auto;
        padding-top: 5vh;
    }

    .w-m-u-d-cont h1 {
        border-left: none;
        border-bottom: solid 2px black;
        width: 100%;
    }

    .footer-above {
        flex-direction: column;
        width: 90vw;
        height: auto;
        gap: 10px;
    }

    .f-a-title {
        border-right: none;
        border-bottom: solid 2px black;
    }

    .province-grid {
        grid-template-rows: repeat(3, auto);
        gap: 10px 10px;
        padding-left: 0px;
    }

    footer .container {
        flex-direction: column;
        max-width: 80vw;
        margin: 0 auto;
        gap: 20px;
        margin-top: 7.5vh;
    }

    .column-4 img {
        width: 30%;
    }

    .copyright .container {
        gap: 0px;
        max-width: 100vw;
        align-items: center;
        margin-top: 0px;
        height: auto;
    }

    .cpa-img-cont {
        display: none;
    }

    .bg-video {
        height: 100vh;
    }

    .about-us-container {
        margin-top: 0px;
    }

    .title-cont h1 {
        text-decoration: none;
    }

    .header-contact {
        display: none;
    }

    .header-2 .header-contact {
        display: flex;
        flex-direction: column;
        gap: 0px;
        align-items: flex-start;
        justify-content: center;
        gap: 2px;
    }

    .header-2 .header-contact a {
        box-shadow: none;
    }

    .cr-col-1,
    .cr-col-2 {
        width: 100%;
    }

    .cr-container2 .row {
        flex-direction: column;
    }

    .header-links-mobile {
        display: none;
    }

    .header-links-mobile img {
        height: 60px;
    }

    .header-links-mobile a {
        display: flex;
        justify-content: flex-start;
        padding-bottom: 3px;
    }

    .title-cont h1 {
        text-decoration: none;
    }

    .title .button-cont {
        flex-direction: row;
    }

    .cpa-img-cont {
        display: flex;
    }

    /* .header-links2 {
        overflow: hidden;
    } */

    .header-links2 {
        max-width: 100vw;
        z-index: 10;
    }

    .menu {
        background-color: transparent;
        border: none;
        cursor: pointer;
        display: none;
        padding: 0;
    }

    .line {
        fill: none;
        stroke: black;
        stroke-width: 6;
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
            stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .line1 {
        stroke-dasharray: 60 207;
        stroke-width: 6;
    }

    .line2 {
        stroke-dasharray: 60 60;
        stroke-width: 6;
    }

    .line3 {
        stroke-dasharray: 60 207;
        stroke-width: 6;
    }

    .opened .line1 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
    }

    .opened .line2 {
        stroke-dasharray: 1 60;
        stroke-dashoffset: -30;
        stroke-width: 6;
    }

    .opened .line3 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
    }

    .wc-content p {
        width: 100%;
    }

    .about-left-2 {
        width: 100%;
    }

    .why h2 {
        font-size: 14px;
        line-height: 14px;
    }

    .mobile-menu {
        position: absolute;
        top: 100%;
        /* just under header */
        left: 50%;
        transform: translateX(-50%) scaleY(0);
        /* collapsed */
        transform-origin: top center;
        /* shrink/grow from top */
        width: 95%;
        background: white;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
            rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
            rgba(0, 0, 0, 0.2) 0px -3px 0px inset;

        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 1;
    }

    .menu.opened~.mobile-menu {
        transform: translateX(-50%) scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .group .mobile-menu {
        top: calc(100% + 2px);
    }


    .mobile-menu-inner {
        padding: 2%;
    }

    .open {
        border-bottom: none !important;
    }

    .mobile-menu-inner li {
        margin-top: 5px;
        margin-bottom: 5px;
        border-bottom: solid 1px #826754;
    }

    .mobile-menu-inner li a {
        text-decoration: none;
        color: black;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: 'Metrophobic';
        font-weight: 900;
        letter-spacing: -1px;
    }

    .mobile-menu-inner li a img {
        height: 12px;
        width: auto;
    }

    .mobile-menu {
        display: block;
    }

    .has-submenu {
        display: block;
        position: relative;
    }

    /* link + arrow button side by side */
    .has-submenu>.services-link,
    .has-submenu>.submenu-toggle {
        display: inline-flex;
        align-items: center;
        vertical-align: middle;
    }

    /* toggle button reset */
    .submenu-toggle {
        background: none;
        border: 0;
        padding: 0 6px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
    }

    .bg-video {
        height: 100vh;
    }

    .submenu-toggle img {
        height: 15px;
        width: 15px;
    }

    .about-cont-inner .about-right {
        width: 50%;
    }

    /* submenu hidden by default */
    .submenu {
        display: none;
        list-style: none;
        margin: 0;
        padding: 0;
        background: #fff;
        margin-top: 0px;
        margin-bottom: 10px;

    }

    /* reveal submenu */
    .has-submenu.open>.submenu {
        display: block;
    }

    /* submenu items */
    .submenu li a {
        display: block;
        color: #000000;
        text-decoration: none;
        font-family: 'Metrophobic';
        font-weight: 900;
    }

    #services-submenu {
        padding-left: 20px;
    }

    .submenu li {
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .submenu li a:hover {
        background: #eee;
    }

    .submenu-open .has-submenu {
        border-bottom: none;
    }

}

@media (max-width: 1100px) {
    .why .our-process h1 {
        font-size: 40px;
    }
}

@media (max-width: 1024px) {
    .header-links {
        height: 6.25vw;
        max-width: 90vw;
        bottom: -3.5vw;
    }

    .contact-page-img-cnt {
        max-width: 95vw;
        flex-direction: column-reverse;
        margin-left: 5vw;
        gap: 3vh;
    }

    .contact-page-image {
        width: 100%;
    }

    .bg-video {
        width: 100vw;
        height: 78vh;
        border-bottom-left-radius: 0px;
    }

    .title-cont {
        max-width: 85vw;
        margin: 0 auto;
    }

    .title p {
        display: block;
    }

    .loc-container {
        display: none;
    }

    .title-cont .main-butt {
        width: 8em;
    }

    .title-cont {
        margin-bottom: 3vh;
        margin-top: 0.5vh;
        padding: 0px;
    }

    .about-container {
        flex-direction: column;
        padding-bottom: 10vh;
    }

    .about-us-container p {
        width: 100%;
        margin: 0 auto;
    }

    .attributes {
        margin: 0 auto;
        width: 100%;
        margin-top: 20px;
    }

    .about-right {
        width: 90%;
        margin: 0 auto;
    }

    .about-img-1 {
        width: 80%;
    }

    .experience-counter {
        height: 120px;
        width: 120px;
        top: 5px;
        border: solid 3px #826754;
    }

    .experience-counter h3 {
        font-size: 22px;
        line-height: 24px;
    }

    .experience-counter p {
        font-size: 10px;
        line-height: 12px;
    }

    .slogan {
        display: none;
    }

    .reveal img {
        width: 96%;
    }

    .about-img-2 {
        bottom: -35%;
        left: 0%;
    }

    .w-m-u-d-cont {
        width: 100%;
        margin-top: 75px;
    }

    .comp-con p {
        white-space: initial;
    }


    .w-m-u-d-cont:hover {
        background-color: #e9e9e9;
    }

    .stat p {
        font-size: 14px;
    }

    .comparison-cont,
    .comparison {
        width: 100%;
    }

    .about-title {
        width: 90vw;
        margin: 0 auto;
    }

    .header-links2 {
        max-width: 100vw;
    }

    .services-title .row {
        flex-direction: row-reverse;
    }

    .services-title {
        align-items: flex-start;
        max-width: 90vw;
        margin: 0 auto;
    }

    .about-cont-inner .about-right {
        width: 40%;
    }

    .services-title h2 {
        white-space: initial;
        letter-spacing: 0px;
        text-align: left;
    }

    .industries-container .container {
        max-width: 90vw;
        margin: 0 auto;
    }

    .wc-container {
        max-width: 90vw;
        margin: 0 auto;
    }

    .wc-content .row {
        flex-direction: column;
    }

    .stat img {
        width: 50px;
    }

    .faq-container {
        height: auto;
    }

    .faq-container .container {
        max-width: 90vw;
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
    }

    .faq-text {
        width: 100%;
    }

    .card {
        width: 100%;
    }

    .services-cont {
        flex-direction: column;
        max-width: 70vw;
        margin: 0 auto;
    }

    .contact-page h1 {
        width: 75vw;
        max-width: 75vw;
    }

    .service {
        height: 300px;
    }

    .inner-services-container h2 {
        white-space: initial;
    }

    .services-cont a .service {
        background-image: url(/PreciseBookkeeping/bookkeeping.jpg);
        background-size: cover;
        background-position: center !important;
        background-repeat: no-repeat;
    }

    .testimonial-cont {
        width: 90vw;
        margin: 0 auto;
    }

    .contact-container .container {
        flex-direction: column;
        height: auto;
        max-width: 75vw;
        width: 100%;
    }

    .contact-form,
    .setmore {
        width: 100%;
    }

    .setmore {
        margin-top: 5%;
    }

    .form {
        bottom: -10%;
        height: auto;
    }

    .form-cont {
        height: auto;
        padding-top: 5vh;
    }

    .w-m-u-d-cont h1 {
        border-left: none;
        border-bottom: solid 2px black;
        width: 100%;
    }

    .footer-above {
        flex-direction: column;
        width: 90vw;
        height: auto;
        gap: 10px;
    }

    .f-a-title {
        border-right: none;
        border-bottom: solid 2px black;
    }

    .province-grid {
        grid-template-rows: repeat(3, auto);
        gap: 10px 10px;
        padding-left: 0px;
    }

    footer .container {
        flex-direction: column;
        max-width: 80vw;
        margin: 0 auto;
        gap: 20px;
        margin-top: 7.5vh;
    }

    .column-4 img {
        width: 30%;
    }

    .copyright .container {
        gap: 0px;
        max-width: 100vw;
        align-items: center;
        margin-top: 0px;
        height: auto;
    }

    .cpa-img-cont {
        display: flex;
    }

    .title .button-cont {
        display: flex;
    }

    .bg-video {
        height: 100vh;
    }

    .about-us-container {
        margin-top: 0px;
    }

    .title-cont h1 {
        text-decoration: none;
    }

    .cr-col-1,
    .cr-col-2 {
        width: 100%;
    }

    .cr-col-1 .row {
        flex-direction: column;
    }

    .column-form {
        gap: 30px !important;
    }

    .why .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:1024px) and (orientation:landscape) {
    .about-right {
        width: 60vw;
    }
}

@media (max-width: 900px) {

    .why .our-process h1 {
        font-size: 30px;
    }

    .services-container {
        padding-bottom: 40px;
    }

    .title p {
        display: block;
    }

    .cr-col-1,
    .cr-col-2 {
        width: 100%;
    }

    .cr-container2 .row {
        flex-direction: column;
    }

    .header-links {
        display: none;
    }

    .page-links {
        display: none;
    }

    .header-contact {
        display: flex;
    }

    .outer-row-about {
        flex-direction: column;
    }

    .outer-row-about .about-right {
        width: 100%;
    }

    .experience-counter p {
        font-size: 18px;
        line-height: 18px;
    }

    .header-links-mobile {
        background-color: white;
        position: absolute;
        top: 77.5%;
        width: 95%;
        display: flex;
        border-radius: 10px;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 0px;
        box-sizing: border-box;
        padding-bottom: 0px;
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
        justify-content: space-between;
        align-items: center;
    }

    .about-cont-inner .experience-counter {
        height: 90%;
    }

    .services-cont {
        max-width: 75vw;
    }

    .mission-cont {
        flex-direction: column;
    }

    .rightSide {
        width: 100%;
    }

    .header-links-mobile img {
        height: 60px;
    }

    .header-links-mobile a {
        display: flex;
        justify-content: flex-start;
        padding-bottom: 3px;
    }

    .footer-above {
        top: 5%;
    }

    .title-cont h1 {
        text-decoration: none;
    }

    .title-cont .button-cont {
        display: flex;
        align-items: center;
    }

    .cpa-img-cont {
        display: flex;
    }

    .title-cont {
        max-width: 98vw;
        padding: 0px;
    }

    .loc-container {
        display: flex;
    }

    /* .header-links2 {
        overflow: hidden;
    } */

    .header-links2 {
        max-width: 100vw;
        z-index: 10;
    }

    .menu {
        background-color: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        padding: 0;
    }

    .line {
        fill: none;
        stroke: black;
        stroke-width: 6;
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
            stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .line1 {
        stroke-dasharray: 60 207;
        stroke-width: 6;
    }

    .line2 {
        stroke-dasharray: 60 60;
        stroke-width: 6;
    }

    .line3 {
        stroke-dasharray: 60 207;
        stroke-width: 6;
    }

    .opened .line1 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
    }

    .opened .line2 {
        stroke-dasharray: 1 60;
        stroke-dashoffset: -30;
        stroke-width: 6;
    }

    .opened .line3 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
    }

    .mobile-menu {
        position: absolute;
        top: 100%;
        /* just under header */
        left: 50%;
        transform: translateX(-50%) scaleY(0);
        /* collapsed */
        transform-origin: top center;
        /* shrink/grow from top */
        width: 95%;
        background: white;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
            rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
            rgba(0, 0, 0, 0.2) 0px -3px 0px inset;

        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 1;
    }

    .menu.opened~.mobile-menu {
        transform: translateX(-50%) scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .group .mobile-menu {
        top: calc(100% + 2px);
    }


    .mobile-menu-inner {
        padding: 2%;
    }

    .open {
        border-bottom: none !important;
    }

    .mobile-menu-inner li {
        margin-top: 5px;
        margin-bottom: 5px;
        border-bottom: solid 1px #826754;
    }

    .mobile-menu-inner li a {
        text-decoration: none;
        color: black;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: 'Metrophobic';
        font-weight: 900;
        letter-spacing: -1px;
    }

    .mobile-menu-inner li a img {
        height: 12px;
        width: auto;
    }

    .mobile-menu {
        display: block;
    }

    .has-submenu {
        display: block;
        position: relative;
    }

    /* link + arrow button side by side */
    .has-submenu>.services-link,
    .has-submenu>.submenu-toggle {
        display: inline-flex;
        align-items: center;
        vertical-align: middle;
    }

    /* toggle button reset */
    .submenu-toggle {
        background: none;
        border: 0;
        padding: 0 6px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
    }

    .bg-video {
        height: 100vh;
    }

    .submenu-toggle img {
        height: 15px;
        width: 15px;
    }

    /* submenu hidden by default */
    .submenu {
        display: none;
        list-style: none;
        margin: 0;
        padding: 0;
        background: #fff;
        margin-top: 0px;
        margin-bottom: 10px;

    }

    /* reveal submenu */
    .has-submenu.open>.submenu {
        display: block;
    }

    /* submenu items */
    .submenu li a {
        display: block;
        color: #000000;
        text-decoration: none;
        font-family: 'Metrophobic';
        font-weight: 900;
    }

    #services-submenu {
        padding-left: 20px;
    }

    .submenu li {
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .submenu li a:hover {
        background: #eee;
    }

    .submenu-open .has-submenu {
        border-bottom: none;
    }

}

@media (max-width: 1024px) and (orientation: landscape) {
    footer {
        padding-top: 20%;
    }

    .title p {
        display: none;
    }

    .loc-container {
        display: none;
    }

    .cr-container2 .row {
        flex-direction: column;
    }

    .link p {
        font-size: 10px;
    }

    .contact-page-img-cnt {
        gap: 10vh;
    }
}

@media (max-width: 768px) {

    .gap-row-cr {
        gap: 20px !important;
        flex-direction: column !important;
    }

    .header-links {
        height: 6.25vw;
        max-width: 90vw;
    }

    .bg-video {
        width: 100vw;
        height: 100vh;
        border-bottom-left-radius: 0px;
    }

    .title-cont {
        max-width: 95vw;
        padding-bottom: 15px;
    }

    .title p {
        display: block;
    }

    .loc-container {
        display: none;
    }

    .services-cont {
        max-width: 75vw;
    }

    .title-cont .main-butt {
        width: 8em;
    }

    .title-cont {
        margin-bottom: 0px;
        margin-top: 0.5vh;
    }

    .about-container {
        flex-direction: column;
        padding-bottom: 10vh;
    }

    .about-us-container p {
        width: 100%;
        margin: 0 auto;
    }

    .attributes {
        margin: 0 auto;
        width: 100%;
        margin-top: 20px;
    }

    .about-right {
        width: 100%;
        margin: 0 auto;
    }

    .about-img-1 {
        width: 80%;
    }

    .experience-counter {
        height: 70px;
        width: 70px;
        top: 5px;
        border: solid 3px #826754;
    }

    .experience-counter h3 {
        font-size: 22px;
        line-height: 24px;
    }

    .slogan {
        display: none;
    }

    .reveal img {
        width: 96%;
    }

    .about-img-2 {
        bottom: -35%;
        left: 0%;
    }

    .comparison-cont {
        flex-direction: column;
    }

    .page-links {
        display: none;
    }

    .w-m-u-d-cont {
        width: 100%;
        margin-top: 75px;
    }

    .comp-con p {
        white-space: initial;
    }


    .w-m-u-d-cont:hover {
        background-color: #e9e9e9;
    }

    .stat p {
        font-size: 14px;
    }

    .comparison-cont,
    .comparison {
        width: 100%;
    }

    .about-title {
        width: 90vw;
        margin: 0 auto;
    }

    .header-links2 {
        max-width: 100vw;
    }

    .services-title .row {
        flex-direction: row-reverse;
    }

    .services-title {
        align-items: flex-start;
        max-width: 90vw;
        margin: 0 auto;
    }

    .services-title h2 {
        white-space: initial;
        letter-spacing: 0px;
        text-align: left;
    }

    .industries-container .container {
        max-width: 90vw;
        margin: 0 auto;
    }

    .wc-container {
        max-width: 90vw;
        margin: 0 auto;
    }

    .wc-content .row {
        flex-direction: column;
    }

    .stat img {
        width: 50px;
    }

    .faq-container {
        height: auto;
    }

    .faq-container .container {
        max-width: 90vw;
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
    }

    .faq-text {
        width: 100%;
    }

    .card {
        width: 100%;
    }

    .service {
        height: 300px;
    }

    .services-cont a .service {
        background-image: url(/PreciseBookkeeping/bookkeeping.jpg);
        background-size: cover;
        background-position: center center !important;
        background-repeat: no-repeat;
    }

    .testimonial-cont {
        width: 90vw;
        margin: 0 auto;
    }

    .contact-container .container {
        flex-direction: column;
        height: auto;
    }

    .contact-form,
    .setmore {
        width: 100%;
    }

    .setmore {
        margin-top: 0%;
    }

    .form {
        bottom: -20%;
        height: auto;
        top: auto;
    }

    .form-cont {
        height: auto;
        padding-top: 5vh;
    }


    .s-p-tc {
        width: 100%;
        align-items: center;
        justify-content: center;
        border-top: solid 1px black;
    }

    .footer-above {
        flex-direction: column;
        width: 90vw;
        height: auto;
        gap: 10px;
    }

    .f-a-title {
        border-right: none;
        border-bottom: solid 2px black;
    }

    .province-grid {
        grid-template-rows: repeat(3, auto);
        gap: 10px 10px;
        padding-left: 0px;
    }

    footer .container {
        flex-direction: column;
        max-width: 80vw;
        margin: 0 auto;
        gap: 20px;
        margin-top: 7.5vh;
    }

    .column-4 img {
        width: 30%;
    }

    .copyright .container {
        gap: 0px;
        max-width: 100vw;
        align-items: center;
        margin-top: 0px;
        height: auto;
    }

    .header-contact {
        display: flex;
    }

    header {
        height: 7em;
    }

    .header-info {
        flex-direction: column;
    }

    .header-info p {
        text-align: center;
        padding: 0px;
    }

    .contact-page-img-cnt {
        flex-direction: column-reverse;
        max-width: 95vw;
        margin-left: 5vw;
        gap: 5vh;
    }

    .phone-header-contact {
        width: 100vw;
        margin: 0 auto;
        display: flex;
        gap: 5px;
        padding-bottom: 10px;
        padding-top: 10px;
    }

    .contact-page-image {
        width: 100%;
    }

    .phone-header-contact img {
        height: 20px;
    }

    .phone-header-contact a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2px;
        background: white;
        border-radius: 20px;
        padding: 5px;
        padding-left: 10px;
        padding-right: 10px;
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    }

    .phone-header-contact a p {
        color: black;
        font-size: 15px;
    }

    .dropdown,
    .link:nth-child(3) {
        width: auto;
    }

    .inner-services-container {
        width: 100%;
    }

    .cr-container .container {
        max-width: 90%;
        margin: 0 auto;
        margin-top: 25px;
    }

    .cr-container2 .row {
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
    }

    .cr-col-1,
    .cr-col-2 {
        width: 100%;
    }

    .crc1-row {
        margin-top: 0px;
        width: 100% !important;
    }

    .crc1-row:first-of-type {
        width: 100%;
    }

    .forms-cont-mobile {
        flex-direction: column;
        margin-top: 20px;
    }

    .cr-container2 {
        width: 90vw;
    }

    .margin-top-mobile {
        margin-top: 20px;
    }

    .accordion {
        height: auto;
    }

    table {
        min-width: 500px;
    }

    .services-container h1 {
        font-size: 50px;
        line-height: 50px;
        padding-top: 0px;
        margin-top: 25px;
    }

    .service-text h1 {
        margin-top: 0px;
        font-size: 40px;
        line-height: 40px;
    }

    .services-title .button-cont {
        padding-top: 0px;
        margin: 0px;
    }

    .accordion-content {
        overflow-x: auto;
    }

    .cr-title {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .contact-container .container {
        width: 100%;
        max-width: 85vw;
    }

    .contact-page .setmore {
        margin-top: 0px;
    }


    .stats-cont {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .header-links {
        display: none;
    }


    .f-c-m-inner {
        flex-direction: column;
    }

    .cr-col-1,
    .cr-col-2 {
        width: 100%;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .title p {
        display: none;
    }

    .industries-container .container {
        flex-direction: column;
    }

    .industries-container {
        padding-bottom: 2vh;
    }

    footer .container {
        margin-top: 25vh;
    }
}

@media (max-width: 600px) {

    .industries-container {
        padding-bottom: 2vh;
    }

    .all-industries-cont .item img {
        height: 100%;
        width: auto;
    }

    .copyright p {
        font-size: 14px;
    }

    .column-4 img {
        width: 60%;
    }

    footer .container {
        margin-top: 10vh;
    }

    .industries-container .container {
        flex-direction: column;
    }

    .title-in {
        width: 98vw;
    }

    .stats-cont {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .header-contact {
        flex-direction: column;
        gap: 0px !important;
        align-items: flex-start;
    }

    .services-cont {
        max-width: 90vw;
    }

    .header-links2 .header-contact a {
        box-shadow: none;
    }

    .header-contact a img {
        height: 10px;
        width: 10px;
    }

    .header-links2 .header-contact p {
        font-size: 14px;
    }

    .header-links {
        display: none;
    }

    .about-para p {
        margin-top: 25px;
    }

    .header-links-mobile {
        background-color: white;
        position: absolute;
        top: 77.5%;
        width: 95%;
        display: block;
        border-radius: 10px;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 0px;
        box-sizing: border-box;
        padding-bottom: 0px;
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .why .services-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .all-industries-cont {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .all-industries-cont .item:after {
        font-size: 14px;
    }

    .header-links-mobile img {
        height: 60px;
    }

    .header-links-mobile a {
        display: flex;
        justify-content: flex-start;
        padding-bottom: 3px;
    }

    .title-cont h1 {
        text-decoration: none;
    }

    .title-cont .button-cont {
        display: none;
    }

    #province-content {
        max-width: 90vw;
    }

    .p-i-t {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .pit-t {
        width: fit-content;
    }

    .prov-img {
        width: 20vw;
    }

    /* .header-links2 {
        overflow: hidden;
    } */

    .header-links2 {
        max-width: 100vw;
        z-index: 10;
    }

    .menu {
        background-color: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        padding: 0;
    }

    .line {
        fill: none;
        stroke: black;
        stroke-width: 6;
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
            stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .line1 {
        stroke-dasharray: 60 207;
        stroke-width: 6;
    }

    .line2 {
        stroke-dasharray: 60 60;
        stroke-width: 6;
    }

    .line3 {
        stroke-dasharray: 60 207;
        stroke-width: 6;
    }

    .opened .line1 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
    }

    .opened .line2 {
        stroke-dasharray: 1 60;
        stroke-dashoffset: -30;
        stroke-width: 6;
    }

    .opened .line3 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
    }

    .mobile-menu {
        position: absolute;
        top: 100%;
        /* just under header */
        left: 50%;
        transform: translateX(-50%) scaleY(0);
        /* collapsed */
        transform-origin: top center;
        /* shrink/grow from top */
        width: 95%;
        background: white;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
            rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
            rgba(0, 0, 0, 0.2) 0px -3px 0px inset;

        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 1;
    }

    .menu.opened~.mobile-menu {
        transform: translateX(-50%) scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .group .mobile-menu {
        top: calc(100% + 2px);
    }


    .mobile-menu-inner {
        padding: 2%;
    }

    .open {
        border-bottom: none !important;
    }

    .mobile-menu-inner li {
        margin-top: 5px;
        margin-bottom: 5px;
        border-bottom: solid 1px #826754;
    }

    .mobile-menu-inner li a {
        text-decoration: none;
        color: black;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: 'Metrophobic';
        font-weight: 900;
        letter-spacing: -1px;
    }

    .mobile-menu-inner li a img {
        height: 12px;
        width: auto;
    }

    .mobile-menu {
        display: block;
    }

    .has-submenu {
        display: block;
        position: relative;
    }

    /* link + arrow button side by side */
    .has-submenu>.services-link,
    .has-submenu>.submenu-toggle {
        display: inline-flex;
        align-items: center;
        vertical-align: middle;
    }

    /* toggle button reset */
    .submenu-toggle {
        background: none;
        border: 0;
        padding: 0 6px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
    }

    .submenu-toggle img {
        height: 15px;
        width: 15px;
    }

    input,
    textarea,
    select {
        font-size: 16px;
        /* prevent zoom */
        line-height: 1;
        /* keep caret aligned */
        padding: 6px 10px;
        /* adjust feel */
        height: auto;
        /* let padding control height */
        box-sizing: border-box;
        color: white !important;
    }


    /* submenu hidden by default */
    .submenu {
        display: none;
        list-style: none;
        margin: 0;
        padding: 0;
        background: #fff;
        margin-top: 0px;
        margin-bottom: 10px;

    }

    /* reveal submenu */
    .has-submenu.open>.submenu {
        display: block;
    }

    /* submenu items */
    .submenu li a {
        display: block;
        color: #000000;
        text-decoration: none;
        font-family: 'Metrophobic';
        font-weight: 900;
    }

    #services-submenu {
        padding-left: 20px;
    }

    .submenu li {
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .submenu li a:hover {
        background: #eee;
    }

    .submenu-open .has-submenu {
        border-bottom: none;
    }

    .our-process .p-step:nth-of-type(1) {
        border-left: #fff solid 8px;
    }

    .p-step1,
    .p-step3 {
        border-left: solid 2px #826754;
        border-bottom: none;
        background-size: 0 100%;
        background-image: linear-gradient(to right, #826754, #826754);
        background-position: left center;
    }

    .p-step2,
    .p-step4 {
        border-right: solid 2px #826754;
        border-top: none !important;
        background-image: linear-gradient(to left, #826754, #826754);
        border-bottom: none;
        background-size: 0 100%;
        background-position: right center !important;

    }
}

@media (max-width: 525px) {
    .about-cont-inner .row {
        flex-direction: column;
    }

    .about-cont-inner .experience-counter {
        width: 40%;
    }

    .about-cont-inner .attributes {
        align-items: center;
    }
}

@media (max-width: 480px) {



    .gap-row-cr {
        gap: 20px !important;
    }

    .header-contact {
        flex-direction: column;
    }

    .header-info {
        width: 100%;
        max-width: 100vw;
        flex-direction: column;
        padding-bottom: 2.5vh;
    }

    .header-info p {
        text-align: center;
        padding-left: 0px;
        font-size: 14px;
    }

    .header-links {
        display: none;
    }

    .bg-video {
        width: 100vw;
        height: 100%;
        border-radius: 0px;
    }

    .title-cont {
        max-width: 100vw;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        background: rgba(0, 0, 0, .48);
        backdrop-filter: blur(12.100000381469727px);
        margin-bottom: 0rem;
        padding-bottom: 0.5rem;
    }

    .title-in span {
        color: #826754;
        padding-left: 5px;
        padding-right: 5px;
        border-radius: 5px;
        opacity: 1;
    }

    .banner-img h1 {
        font-size: 50px;
        line-height: 50px;
        width: 100%;
    }

    .title p {
        display: none;
    }

    .cpa-img-cont {
        display: none;
    }

    .about-us-container {
        margin-top: 0px;
        border-top: none;
    }

    .loc-container {
        display: none;
    }

    .front-cover-container {
        height: 90vh;
    }

    .main-butt {
        width: 8em;
    }

    .button-cont {
        justify-content: flex-end;
    }

    .phone-header-contact {
        width: fit-content;
        margin: 0 auto;
        display: flex;
        gap: 5px;
        padding-bottom: 10px;
        padding-top: 10px;
    }

    .phone-header-contact img {
        height: 20px;
    }

    .phone-header-contact a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2px;
        background: white;
        border-radius: 20px;
        padding: 5px;
        padding-left: 10px;
        padding-right: 10px;
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    }

    .phone-header-contact a p {
        color: black;
        font-size: 15px;
    }

    header {
        height: auto;
    }

    .about-title {
        gap: 5px;
        padding-top: 0px;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin: 0 auto;
    }

    .about-container {
        flex-direction: column;
        padding-bottom: 10vh;
    }

    .about-us-container p {
        width: 100%;
        margin: 0 auto;
    }

    .attributes {
        margin: 0 auto;
        width: 100%;
        margin-top: 20px;
    }

    .about-right {
        width: 100%;
        margin: 0 auto;
    }

    .about-img-1 {
        width: 80%;
    }

    .experience-counter {
        height: 70px;
        width: 70px;
        top: 5px;
        border: solid 3px #826754;
    }

    .experience-counter h3 {
        font-size: 22px;
        line-height: 24px;
    }

    .experience-counter p {
        font-size: 10px;
        line-height: 12px;
    }

    .slogan {
        display: none;
    }

    .reveal img {
        width: 96%;
    }

    .about-img-2 {
        bottom: -60%;
        left: 0%;
    }

    .comparison-cont {
        flex-direction: column;
    }

    .w-m-u-d-cont {
        width: 100%;
        margin-top: 75px;
    }

    .comp-con p {
        white-space: initial;
    }


    .w-m-u-d-cont:hover {
        background-color: #e9e9e9;
    }

    .stat p {
        font-size: 14px;
    }

    .services-title {
        align-items: flex-start;
        width: 100%;
        margin: 0 auto;
        margin-top: 25px;
        max-width: 90vw;
    }

    .services-title .row {
        flex-direction: row-reverse;
        justify-content: space-between;
        width: 100%;
    }

    .services-title h2 {
        white-space: initial;
        text-align: left;
        font-size: 16px;
        display: none;
    }

    .services-cont {
        flex-direction: column;
    }

    .service {
        width: 100%;
        margin: 0 auto;
        height: 400px;
    }

    .industries-container h1 {
        font-size: 35px;
        margin: 0 auto;
    }

    .industries-container .container {
        flex-direction: column;
        padding-bottom: 2vh;
        width: 90%;
        max-width: 0 auto;
    }

    .wc-content .row {
        flex-direction: column;
        margin: 0 auto;
    }

    .wc-title {
        margin: 0 auto;
        width: 90%;
    }

    .stats-cont {
        width: 100%;
        margin: 0 auto;
        grid-template-columns: repeat(2, 48%);
        grid-template-rows: repeat(2, 1fr);
    }

    .faq-container {
        height: auto;
    }

    .faq-container .container {
        flex-direction: column;
    }

    .faq-text {
        width: 100%;
        margin: 0 auto;
    }

    .card {
        width: 100%;
        margin: 0 auto;
        padding: 0px;
    }

    .test-title {
        width: 100%;
        margin: 0 auto;
    }

    .swiper {
        width: 100%;
        margin: 0 auto;
    }

    .contact-container .container {
        flex-direction: column;
        height: auto;
        max-width: 90%;

    }

    .contact-form {
        width: 100%;
    }

    .setmore {
        width: 100%;
        margin-top: 0px;
    }

    .form-cont {
        height: auto;
        padding-top: 5vh;
    }

    .form-cont img {
        display: none;
    }

    .form {
        height: auto;
        position: initial;
        width: 100%;
    }

    .s-service {
        padding-right: 10%;
    }

    .form .row {
        flex-direction: column;
    }

    .form-button-cont {
        height: min-content;
        margin-top: 20px;
    }

    .setmore iframe {
        width: 103%;
        margin-top: 0%;
    }

    .iframe-cont-inner {
        width: 98%;
    }

    .footer-above {
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
        height: auto;
        top: 8%;
    }

    .province-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-auto-flow: row;
        padding-left: 0px;
        gap: 10px 10px;
        margin-top: 10px;
    }

    .column-1 {
        justify-content: flex-start;
    }

    footer .container {
        flex-direction: column;
        max-width: 90%;
        margin: 0 auto;
        gap: 25px;
    }

    footer {
        padding-top: 75%;
    }

    .copyright {
        height: auto;
    }

    .copyright .container {
        flex-direction: column;
        gap: 10px;
        padding-top: 10px;
        width: 100%;
        max-width: 98%;
    }

    .copyright .container p {
        font-size: 13px;
        text-align: center;
    }

    .s-p-tc {
        border-top: solid 1px black;
        align-items: center;
        justify-content: center;
        width: 100vw;
    }

    .s-p-tc a {
        width: fit-content;
    }

    .s-p-tc a p {
        white-space: nowrap;
    }

    .copyright p {
        width: 100%;
    }

    .setmore p {
        font-size: 18px;
    }

    .our-process-container {
        width: 100%;
    }

    .o-l-d {
        display: none;
    }

    .why .p-step .row {
        flex-direction: row;
    }

    .p-point:nth-of-type(1) {
        top: 0%;
        left: 7%;
    }

    .p-point:nth-of-type(2) {
        top: 33.33%;
        right: 13%;
        left: auto;
    }

    .p-point:nth-of-type(2) .number-p {
        bottom: -7px;
        left: 20px;
    }


    .p-point:nth-of-type(3) {
        bottom: 33.33%;
        left: 13%;
    }

    .p-point:nth-of-type(3) .number-p {
        bottom: -7px;
        left: -35px;
    }

    .p-point:nth-of-type(4) {
        top: auto;
        bottom: 0%;
    }

    .p-step:nth-of-type(1) {
        bottom: auto !important;
        top: 0% !important;
    }

    .header-links-mobile {
        background-color: white;
        position: absolute;
        top: 77.5%;
        width: 95%;
        display: block;
        border-radius: 10px;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 0px;
        box-sizing: border-box;
        padding-bottom: 0px;
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-links-mobile img {
        height: 60px;
    }

    .header-links-mobile a {
        display: flex;
        justify-content: flex-start;
        padding-bottom: 3px;
    }

    .title-cont h1 {
        text-decoration: none;
    }

    .title-cont .button-cont {
        display: none;
    }

    /* .header-links2 {
        overflow: hidden;
    } */

    .header-links2 {
        max-width: 100vw;
        z-index: 10;
    }

    .group {
        padding-top: 0.5vh;
        padding-bottom: 0.5vh;
        padding-left: 0px;
        padding-right: 0.5vh;
    }

    .header-contact {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0px !important;
    }

    .main-logo-cont {
        height: 95%;
        width: 50%;
        display: flex;
        align-items: center;
    }

    .services-container .button-cont button {
        width: 7em;
    }

    .about-title .main-h1 {
        font-size: 70px;
        line-height: 70px;
    }

    .main-logo-cont a {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header-links2 .header-contact a {
        box-shadow: none;
    }

    .main-logo-cont img {
        width: 100%;
    }

    .header-contact a img {
        height: 10px;
        width: 10px;
    }

    .header-links2 .page-links {
        display: none;
    }

    .header-links2 .header-contact p {
        font-size: 12px;
    }

    .menu {
        background-color: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        padding: 0;
    }

    .line {
        fill: none;
        stroke: black;
        stroke-width: 6;
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
            stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .line1 {
        stroke-dasharray: 60 207;
        stroke-width: 6;
    }

    .line2 {
        stroke-dasharray: 60 60;
        stroke-width: 6;
    }

    .line3 {
        stroke-dasharray: 60 207;
        stroke-width: 6;
    }

    .opened .line1 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
    }

    .opened .line2 {
        stroke-dasharray: 1 60;
        stroke-dashoffset: -30;
        stroke-width: 6;
    }

    .opened .line3 {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
        stroke-width: 6;
    }

    .mobile-menu {
        position: absolute;
        top: 100%;
        /* just under header */
        left: 50%;
        transform: translateX(-50%) scaleY(0);
        /* collapsed */
        transform-origin: top center;
        /* shrink/grow from top */
        width: 95%;
        background: white;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px,
            rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
            rgba(0, 0, 0, 0.2) 0px -3px 0px inset;

        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 1;
    }

    .menu.opened~.mobile-menu {
        transform: translateX(-50%) scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .group .mobile-menu {
        top: calc(100% + 2px);
    }


    .mobile-menu-inner {
        padding: 2%;
    }

    .open {
        border-bottom: none !important;
    }

    .mobile-menu-inner li {
        margin-top: 5px;
        margin-bottom: 5px;
        border-bottom: solid 1px #826754;
    }

    .mobile-menu-inner li a {
        text-decoration: none;
        color: black;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: 'Metrophobic';
        font-weight: 900;
        letter-spacing: -1px;
    }

    .mobile-menu-inner li a img {
        height: 12px;
        width: auto;
    }

    .sitemap-container {
        width: 90%;
        margin: 0 auto;
    }

    .inner-page-desc h1 {
        width: 100%;

        margin: 0 auto;
    }

    .f-a-title {
        border-right: none;
        border-bottom: solid 2px black;
    }

    .privacy-container {
        max-width: 90vw;
        margin-top: 5vh;
    }

    .inner-services-container {
        max-width: 90vw;
        margin: 0 auto;
        padding-bottom: 20px;
    }

    .inner-services-container h1 {
        white-space: initial;
    }

    .inner-services-container h2 {
        max-width: 90vw;
        width: 100%;
        margin: 0 auto;
        white-space: initial;
        letter-spacing: -1px;
        line-height: 25px;
        margin-bottom: 20px;
    }

    .inner-services-container .services-cont .service {
        width: 100%;
        background-position: center -20px !important;
    }

    .services-information-container {
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
    }

    .side-tab {
        width: auto;
    }

    .banner-img {
        margin-bottom: 0px;
    }

    .column-4 a {
        justify-content: flex-start;
    }

    .column-4 img {
        width: 75%;
    }

    .footer-logo {
        width: 100%;
        height: auto;
    }

    .contact-page-img-cnt {
        flex-direction: column-reverse;
        width: 95%;
        margin-left: 5%;
        gap: 50px;
    }

    .contact-page-image {
        width: 100%;
    }

    .contact-page-img-text {
        transform: translateX(-2.5vw);
    }

    .contact-page-img-text h1 {
        font-size: 40px;
        line-height: 40px;
    }

    .contact-page-img-text p {
        max-width: 100%;
    }

    .iframe-butt {
        width: 35%;
        padding-top: 2%;
        padding-bottom: 2%;
    }

    .contact-page h1 {
        max-width: 90%;
    }

    .contact-container .container {
        width: 100%;
    }

    .contact-page .setmore {
        margin-top: 0px;
    }

    .cr-container .container {
        max-width: 90%;
        margin: 0 auto;
        margin-top: 25px;
    }

    .cr-container2 .row {
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
    }

    .cr-col-1,
    .cr-col-2 {
        width: 100%;
    }

    .crc1-row {
        margin-top: 0px;
        width: 100% !important;
    }

    .crc1-row:first-of-type {
        width: 100%;
    }

    .forms-cont-mobile {
        flex-direction: column;
        margin-top: 20px;
    }

    .cr-container2 {
        width: 90vw;
    }

    .margin-top-mobile {
        margin-top: 20px;
    }

    .accordion {
        height: auto;
    }

    table {
        min-width: 500px;
    }

    .services-container h1 {
        font-size: 70px;
        line-height: 70px;
        padding-top: 0px;
    }

    .services-title .button-cont {
        padding-top: 0px;
        margin: 0px;
    }

    .accordion-content {
        overflow-x: auto;
    }

    .cr-title {
        font-size: 40px;
        margin-bottom: 20px;
    }

    /* parent with submenu */
    .has-submenu {
        display: block;
        position: relative;
    }

    /* link + arrow button side by side */
    .has-submenu>.services-link,
    .has-submenu>.submenu-toggle {
        display: inline-flex;
        align-items: center;
        vertical-align: middle;
    }

    /* toggle button reset */
    .submenu-toggle {
        background: none;
        border: 0;
        padding: 0 6px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
    }

    .submenu-toggle img {
        height: 15px;
        width: 15px;
    }

    /* submenu hidden by default */
    .submenu {
        display: none;
        list-style: none;
        margin: 0;
        padding: 0;
        background: #fff;
        margin-top: 0px;
        margin-bottom: 10px;

    }

    /* reveal submenu */
    .has-submenu.open>.submenu {
        display: block;
    }

    /* submenu items */
    .submenu li a {
        display: block;
        color: #000000;
        text-decoration: none;
        font-family: 'Metrophobic';
        font-weight: 900;
    }

    #services-submenu {
        padding-left: 20px;
    }

    .submenu li {
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .submenu li a:hover {
        background: #eee;
    }

    .submenu-open .has-submenu {
        border-bottom: none;
    }

    .contact-container h1 {
        max-width: 90vw;
    }

    .mobile-menu {
        display: block;
    }

    .swiper-slide {
        width: 100%;
    }

    .wc-content .row {
        gap: 5vh;
    }

    .dropdown2 {
        width: 100%;
        margin-top: 0px;
    }

    .faq-container {
        background-position: 0%;
    }

    .s-service p {
        font-size: 12px;
        line-height: 12px;
    }

    .province-grid div {
        font-size: 16px;
    }

    .service-text h1 {
        font-size: 40px;
        line-height: 40px;
    }

    .our-process {
        min-height: 90vh;
        margin-top: 12vh;
    }
}

@media (max-width: 414px) {
    .services-container h1 {
        font-size: 50px;
        margin-top: 0px;
    }

    .province-grid div {
        font-size: 12px;
    }

    .copyright .container p {
        font-size: 10px;
    }

    .all-industries-cont .item:after {
        font-size: 12px;
    }

    .all-industries-cont .item img {
        height: 100%;
        width: auto;
    }

    .about-title .main-h1 {
        font-size: 55px;
        line-height: 55px;
    }

    .contact-container h1 {
        font-size: 50px;
    }

    .testimonial-cont h3 {
        font-size: 50px;
    }

    .industries-container h1 {
        line-height: 40px;
        margin-top: 25px;
        font-size: 30px;
    }

    .wc-title h1 {
        font-size: 50px;
    }

    .about-title {
        gap: 4vw !important;
        margin-bottom: 20px;
    }

    .services-container .button-cont button {
        width: 6.5em;
    }

    .phone-header-contact a {
        height: min-content;
    }

    footer {
        padding-top: 90%;
    }

    .phone-header-contact {
        align-items: center;
    }

    .phone-header-contact a {
        width: fit-content;
    }

    .header-links-mobile {
        top: 80%;
    }

    .header-info p {
        font-size: 12px;
    }

    .comparison-cont {
        width: 100%;
    }

    .comparison {
        width: 100%;
    }

    .stats-cont {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, auto);
    }

    .w-m-u-d-cont h1 {
        white-space: initial;
        font-size: 30px;
        width: 100%;
        text-align: center;
    }

    .cr-title {
        font-size: 30px;
        line-height: 30px;
    }

    .crc1-row h1 {
        font-size: 17px;
    }

    .banner-img h1 {
        font-size: 40px;
        line-height: 40px;
    }

    .service-text h1 {
        font-size: 35px;
    }

    .w-m-u-d-cont h1 {
        border-left: none;
        border-bottom: solid 2px black;
        font-size: 30px;
    }

    .phone-header-contact a p {
        font-size: 12px;
    }
}

@media (max-width: 375px) {
    .phone-header-contact a p {
        font-size: 10px;
    }

    .phone-header-contact {
        flex-direction: row;
    }

    .header-links-mobile {
        top: 78%;
    }

    .contact-page-img-cnt {
        width: 90%;
        margin-left: 10%;
    }

    .stats-cont2 {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: auto;
    }

    .all-industries-cont {
        grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
    }

    .contact-page-img-text {
        transform: translateX(-5%);
    }

    .contact-page-img-text h1 {
        font-size: 40px;
    }

    .header-links2 .header-contact p {
        font-size: 10px;
    }

    .cr-title {
        font-size: 35px;
    }

    .crc1-row h1 {
        font-size: 16px;
    }

    footer {
        padding-top: 100%;
    }
}

@media (max-width: 320px) {
    .header-info {
        width: 100%;
        max-width: 100vw;
    }

    .testimonial-cont h3 {
        font-size: 40px;
    }

    .header-info p {
        text-align: center;
    }

    .header-links {
        display: none;
    }

    .bg-video {
        width: 100vw;
        height: 100vh;
        border-radius: 0px;
    }

    .title-cont {
        max-width: 100vw;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin-bottom: 0rem;
        padding-bottom: 0.5rem;
    }

    .title p {
        display: none;
    }

    .services-title .row {
        align-items: center;
        justify-content: space-between;
    }

    .services-container .button-cont {
        padding: 0px;
    }

    footer {
        padding-top: 110%;
    }

    .copyright .container p {
        font-size: 10px;
    }

    .cr-title {
        font-size: 30px;
    }

    .contact-page-img-text h1 {
        font-size: 40px;
    }

    .header-links2 .header-contact p {
        font-size: 10px;
    }

    .contact-page-img-cnt {
        width: 90%;
        margin-left: 10%;
    }

    .header-links-mobile img {
        height: 45px;
    }

    .header-links-mobile {
        top: 82%;
    }

    .contact-page-img-text {
        transform: translateX(-5%);
    }

    .province-grid div {
        font-size: 12px;
    }

    .crc1-row h1 {
        font-size: 14px;
    }

    .privacy-ul li {
        font-size: 14px;
    }

    .information p {
        font-size: 14px;
    }

    .services-information h2 {
        font-size: 36px;
    }

    .inner-services-container h2 {
        font-size: 18px !important;
        line-height: 25px;
        margin-bottom: 15px;
    }

    .w-m-u-d-cont {
        margin-top: 25px;
    }

    .service-text h1 {
        font-size: 25px;
    }

    .service p {
        font-size: 14px;
        line-height: 14px;
    }

    .service {
        height: 400px;
    }

    .about-title .main-h1 {
        font-size: 40px;
        line-height: 40px;
    }

    .services-container h1 {
        font-size: 40px;
        line-height: 40px;
        padding-top: 0px;
    }

    .services-title {
        margin-top: 20px;
    }
}