/* ==========================================================================
   Site chrome base (v2)
   For v2 pages that do NOT load the homepage stack (css/main.css, Bootstrap 4,
   themes/css/themes.css + nova.css), e.g. services/lead-generation-services.php.
   Recreates what that stack gives the shared header (#home), testimonials and
   footer (.footer-wrap), and cancels the page's own generic rules inside them
   (philly/assets/css/style.css: a underline, .navbar ul, section padding, ...).
   Load order: page CSS -> icofont.min.css -> this file -> site-chrome.css.
   Needs data-theme="voltage" on <html>; every rule is scoped under
   html[data-theme] #home / .footer-wrap / .testimonials-section.
   ========================================================================== */

/* Same weights as css/main.css: there is no 600, so font-weight 600 renders at 700 like on the homepage */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

html[data-theme="voltage"] {
    --sc-bg: #101425;
    --sc-bg2: #0b0f1d;
    --sc-surface: #1a2039;
    --sc-band: #0b0f1d;
    --sc-ink: #c8d0e8;
    --sc-heading: #ffffff;
    --sc-accent: #22d3ee;
    --sc-accent2: #c4b5fd;
    --sc-border: #26304d;
    --sc-shadow: 0 3px 18px rgb(0 0 0 / .45);
    --sc-grad-a: #0e7490;
    --sc-grad-b: #6d28d9;
}

/* --------------------------------------------------------------------------
   Shared base inside the chrome
   -------------------------------------------------------------------------- */
html[data-theme] #home,
html[data-theme] .footer-wrap {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: var(--sc-ink);
    text-align: left;
}
/* On the homepage the section inherits Bootstrap's body line-height and
   main.css's paragraph letter-spacing */
html[data-theme] .testimonials-section {
    font-size: 14px;
    line-height: 1.5;
    color: var(--sc-ink);
}
html[data-theme] .testimonials-section p {
    letter-spacing: .025em;
    line-height: 1.8;
}
/* :where() keeps these resets at low specificity so the rules below win */
html[data-theme] :where(#home, .footer-wrap, .testimonials-section) a {
    text-decoration: none;
}
html[data-theme] :where(#home, .footer-wrap) :where(ul, ol) {
    margin: 0;
    padding: 0;
    list-style: none;
}
html[data-theme] :where(#home, .footer-wrap) img {
    border-radius: 0;
}
/* style.css: section { padding: 20px 0; overflow: hidden } */
html[data-theme] section.testimonials-section {
    padding: 0;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
html[data-theme] header#home {
    display: block;
    min-height: 120px;
}
/* style.css stacks hero content up to z-index 200 (the old #header sat at 997);
   body in the selector so this beats site-chrome.css's z-index: 50 */
html[data-theme] body header#home {
    z-index: 997;
}
/* Inner pages (inner-header.php) expect the header in the page flow: sticky
   instead of fixed, so it still stays on top but doesn't cover the content */
html[data-theme] body header#home.header-in-flow {
    position: sticky;
    top: 0;
    /* the homepage header is 80% opaque over a dark hero; over these pages'
       white body that reads grey, so use the same colour solid */
    background-color: oklch(0.16 0.03 253.97) !important;
}
/* style.css: .navbar a { display:flex; padding:5px 2px; font-size:1rem;
   font-weight:700; ... } and .navbar li a:hover { color:#17ACD4 !important } */
html[data-theme] #home a {
    position: relative;
    display: inline;
    padding: 0;
    font-family: Roboto, sans-serif;
    font-size: inherit;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: none;
    white-space: normal;
    color: #ffffff;
    transition: none;
}
html[data-theme] #home a:hover,
html[data-theme] #home li a:hover {
    color: var(--sc-accent) !important;
}
html[data-theme] #home li {
    position: static;
    padding: 0;
    white-space: normal;
}
/* style.css floats .navbar right (with margins) below 992px */
html[data-theme] #home .navbar {
    position: relative;
    float: none;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    padding: 5px 0 0 10px;
    background: none;
}
html[data-theme] #home .navbar-brand {
    display: block;
    width: 100%;
    margin-right: 10px;
    padding: 0;
    font-size: 20px;
    line-height: 30px;
    white-space: nowrap;
}
html[data-theme] #home .navbar-brand img {
    width: 240px;
    height: 85px;
    max-width: none;
}
html[data-theme] #home .header-phone {
    margin-bottom: 12px;
    text-align: right;
}
html[data-theme] #home .header-phone img {
    width: 20px;
    height: 20px;
    margin: -5px 10px 0 0;
}
html[data-theme] #home .header-phone a {
    font-size: 22px;
    line-height: 1.5;
}

/* Desktop nav row */
html[data-theme] #home .navbar-collapse {
    align-items: center;
}
/* style.css: .navbar ul { display:flex; align-items:center } */
/* css/innerpages.css: .navbar-nav { margin-right: 40px !important } */
html[data-theme] #home .navbar-nav {
    display: flex;
    align-items: normal;
    margin: 0 !important;
    padding: 0;
    background: none;
}
html[data-theme] #home .navbar-nav .nav-item {
    display: list-item;
    margin: 0 13px;
    padding: 0;
    color: #ffffff;
}
html[data-theme] #home .navbar-nav .nav-item.dropdown {
    position: relative;
}
html[data-theme] #home .navbar-nav .nav-link {
    position: relative;
    display: block;
    padding: 0;
    font-size: 14.4px;
    line-height: 1.5;
    text-transform: uppercase;
    white-space: nowrap;
    color: #ffffff;
    background: none;
}
html[data-theme] #home .navbar-nav .nav-link:is(:hover, :focus) {
    color: var(--sc-accent);
}
/* Bootstrap caret on the dropdown toggles */
html[data-theme] #home .dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

/* Dropdown menus */
html[data-theme] #home .navbar-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    margin: -6px 0 0;
    padding: 8px 0;
    border: 1px solid var(--sc-border);
    border-radius: 4px;
    background-color: var(--sc-surface);
    background-image: linear-gradient(160deg, transparent 0%, var(--sc-bg2) 140%);
    box-shadow: var(--sc-shadow);
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    opacity: 1;
    visibility: visible;
    transition: none;
}
html[data-theme] #home .navbar-nav .dropdown-menu li {
    display: list-item;
    min-width: 0;
    padding: 0;
    color: #ffffff;
}
html[data-theme] #home .navbar-nav .dropdown-menu .dropdown-item {
    display: block;
    width: 100%;
    margin: 5px 0;
    padding: 5px 24px;
    font-size: 14.4px;
    line-height: 21.6px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
    color: #ffffff;
    background: transparent;
}
html[data-theme] #home .navbar-nav .dropdown-menu .dropdown-item:is(:hover, :focus) {
    color: var(--sc-accent);
    background: transparent;
}

/* Login button */
html[data-theme] #home .button-1 {
    display: block;
    width: 170px;
    margin: 0;
    padding: 10px 0;
    border: 0;
    border-radius: 5px;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    background-color: var(--sc-accent);
    background-image: linear-gradient(135deg, var(--sc-grad-a) 0%, var(--sc-grad-b) 100%);
    transition: all .15s ease-in-out;
}
html[data-theme] #home .button-1:hover {
    color: #ffffff;
    background-color: var(--sc-accent2);
    background-image: linear-gradient(135deg, var(--sc-grad-b) 0%, var(--sc-grad-a) 100%);
}

/* Mobile toggle (hamburger) */
html[data-theme] #home .navbar-toggler {
    position: absolute;
    top: 50px;
    right: 22px;
    margin-right: 15px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    font-size: 20px;
    line-height: 20px;
    color: #d33b27;
    background: transparent;
    box-shadow: none;
}
html[data-theme] #home .navbar-toggler a {
    font-size: 20px;
    line-height: 20px;
}
html[data-theme] #home .interactive-menu-button {
    position: relative;
}
html[data-theme] #home .interactive-menu-button a {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
}
html[data-theme] #home .interactive-menu-button a span {
    position: absolute;
    top: 6px;
    width: 100%;
    height: 4px;
    background: #ffffff;
    text-indent: -999em;
    transition: all .5s cubic-bezier(0, .275, .125, 1);
}
html[data-theme] #home .interactive-menu-button a span::before,
html[data-theme] #home .interactive-menu-button a span::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ffffff;
    transition: all .5s cubic-bezier(0, .275, .125, 1);
}
html[data-theme] #home .interactive-menu-button a span::after {
    top: 6px;
}

@media (min-width: 992px) {
    html[data-theme] #home .navbar-toggler {
        display: none;
    }
    html[data-theme] #home .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
    html[data-theme] #home .navbar-nav {
        flex-direction: row;
    }
    html[data-theme] #home .navbar-nav .nav-item:hover > .dropdown-menu {
        display: block;
    }
}

@media (max-width: 1199px) {
    html[data-theme] #home .navbar-nav .nav-item {
        padding: 5px 0;
    }
    html[data-theme] #home .navbar-nav .nav-link {
        font-size: 1rem;
    }
}

@media (max-width: 991px) {
    html[data-theme] #home .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
        padding-top: 15px;
    }
    html[data-theme] #home .navbar-brand {
        width: 80%;
    }
    html[data-theme] #home .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        margin-top: 10px;
        text-align: center;
    }
    html[data-theme] #home .navbar-nav {
        flex-direction: column;
    }
    html[data-theme] #home .navbar-nav .nav-link {
        font-size: 1.3rem;
    }
    html[data-theme] #home .navbar-nav .dropdown-menu {
        position: static;
        float: none;
    }
    html[data-theme] #home .navbar-nav .dropdown-menu .dropdown-item {
        text-align: center;
    }
    html[data-theme] #home .button-1 {
        display: inline-block;
    }
}

@media (max-width: 768px) {
    html[data-theme] #home .header-phone {
        margin-top: 15px;
    }
    html[data-theme] #home .header-phone a {
        font-size: 24px;
    }
}

@media (min-width: 320px) and (max-width: 768px) {
    html[data-theme] #home .navbar-nav .nav-link {
        padding-left: 5px;
        text-align: left;
    }
    html[data-theme] #home .add_add_custom {
        position: absolute;
        top: 13px;
        right: 9px;
        z-index: 99909;
        width: 0;
        height: 0;
        border-top: 15px solid #d33b27;
        border-right: 12px solid transparent;
        border-left: 12px solid transparent;
    }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
html[data-theme] .footer-wrap footer {
    position: relative;
    z-index: 99;
    width: 100%;
    min-height: 400px;
    padding: 50px 0 4rem;
    text-align: center;
}
/* Bootstrap 4 container widths. css/innerpages.css forces 12px side padding
   with !important at 320-768px. */
html[data-theme] .footer-wrap .container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 15px !important;
}
@media (min-width: 576px) {
    html[data-theme] .footer-wrap .container { max-width: 540px; }
}
@media (min-width: 768px) {
    html[data-theme] .footer-wrap .container { max-width: 720px; }
}
@media (min-width: 992px) {
    html[data-theme] .footer-wrap .container { max-width: 960px; }
}
@media (min-width: 1200px) {
    html[data-theme] .footer-wrap .container { max-width: 1140px; }
}
html[data-theme] .footer-wrap .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
html[data-theme] .footer-wrap .row > * {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0 15px;
}
html[data-theme] .footer-wrap .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}
@media (min-width: 992px) {
    html[data-theme] .footer-wrap .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
html[data-theme] .footer-wrap footer img {
    margin-bottom: 2rem;
}
html[data-theme] .footer-wrap footer p {
    margin: 0;
    font-family: Roboto, sans-serif;
    font-size: 12.8px;
    letter-spacing: .32px;
    line-height: 23.04px;
    text-align: center;
    color: #ffffff;
}
html[data-theme] .footer-wrap footer p span {
    font-weight: 600;
    color: #ffffff;
}
html[data-theme] .footer-wrap footer li {
    color: #ffffff;
}
html[data-theme] .footer-wrap footer a {
    position: relative;
    font-weight: 400;
    letter-spacing: 1px;
    color: #ffffff;
}
html[data-theme] .footer-wrap footer a:hover {
    color: var(--sc-accent);
}
html[data-theme] .footer-wrap footer p.footer-copy {
    margin: 50px 0 20px;
    font-size: 14.4px;
    letter-spacing: 1px;
    line-height: 1.2;
}
html[data-theme] .footer-wrap .social {
    margin: 0 0 1rem;
    padding: 0;
    text-align: center;
}
html[data-theme] .footer-wrap .social li {
    display: inline;
}
html[data-theme] .footer-wrap .social li a {
    margin: 0 30px;
    font-size: 1.5rem;
    line-height: 36px;
}
html[data-theme] .footer-wrap .soc2logo {
    width: 10%;
}
@media (max-width: 1199px) {
    html[data-theme] .footer-wrap .social {
        margin-bottom: 2rem;
    }
    html[data-theme] .footer-wrap .soc2logo {
        width: 30%;
    }
    html[data-theme] .footer-wrap .social li a {
        margin: 0 15px;
    }
}
@media (max-width: 991px) {
    html[data-theme] .footer-wrap footer {
        padding: 10px 0 0;
    }
}
@media (max-width: 768px) {
    html[data-theme] .footer-wrap .social li {
        display: inline-block;
    }
}
