/*
Theme Name: Park Place Chiropractic Standalone Theme
Theme URI: https://painreliefsanmarcos.com/
Author: Gerald Silverio
Description: Custom, self-contained WordPress theme replicating the exact layout, typography, responsive design, shape dividers, and color scheme of painreliefsanmarcos.com.
Version: 1.0.1
Text Domain: chiro-theme
*/

/* Core CSS Reset & Variables */
:root {
    --pColor: #487abf;
    --sColor: #0057af;
    --aColor: #0057af;
}

html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, a, img, ul, li, form, label, table, tr, th, td, footer, header, nav, section, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

body {
    background-color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--pColor);
    text-decoration: none;
    transition: all 0.25s linear;
}

a:hover {
    color: var(--sColor);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.4;
}

h1 { font-size: 36px; font-weight: 700; }
h2 { font-size: 32px; font-weight: 600; }
h3 { font-size: 26px; font-weight: 600; }
h4 { font-size: 20px; font-weight: normal; }
h5 { font-size: 18px; font-weight: normal; }
h6 { font-size: 16px; font-weight: normal; }

/* Grid / Container Layouts */
.container {
    max-width: 1250px !important;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.main-container {
    width: 100%;
    margin: 0 auto;
    clear: both;
    display: block;
}

[class*="flex-"] {
    display: flex;
    flex-wrap: wrap;
}

.flex-ed {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 700px;
    margin: auto;
    padding: 5.5px;
}

.hide-d {
    display: none;
}

@media (max-width: 940px) {
    .hide-d {
        display: block;
    }
    .hide-xs {
        display: none !important;
    }
}

/* Header Styles */
#site-header {
    width: 100%;
    position: relative;
    z-index: 99;
}

#header {
    background: var(--sColor);
    padding: 10px 0;
    width: 100%;
}

div#header .container {
    max-width: 1400px !important;
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0 auto;
}

.col12 {
    width: 100%;
    text-align: center;
    padding: 7px 0px;
}

.col3 {
    width: 33.33%;
    box-sizing: border-box;
    text-align: center;
}

#logo {
    display: block !important;
    width: 100%;
    text-align: center;
    margin-bottom: 0;
}

#logo a {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold !important;
    font-size: 26px !important;
    color: #fff !important;
    text-transform: none !important;
    display: block;
}

.logo-wrap {
    position: relative;
}

.logo-wrap p {
    margin: 0px;
    text-transform: uppercase;
    font-size: 17px;
    width: 100%;
    text-align: center;
    position: relative;
    left: 10px;
    letter-spacing: 0.3px;
    font-weight: 800;
    color: #fff;
}

/* Navigation Menu */
#secondary-navigation {
    display: block;
    width: 100%;
}

.navigation ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-around;
    max-width: 1100px;
}

.navigation ul li {
    position: relative;
    transition: all 0.25s linear;
}

.navigation ul li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #ffffff !important;
    text-transform: uppercase;
    padding: 6px;
    letter-spacing: 3.6px;
    display: inline-block;
}

/* Dropdown Menu styling */
@media (min-width: 881px) {
    .navigation {
        display: block !important;
    }

    .navigation ul li ul.sub-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background-color: #ffffff;
        visibility: hidden;
        opacity: 0;
        display: flex;
        flex-direction: column;
        width: 240px;
        z-index: 999;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
        overflow: hidden;
        border-top: 3px solid var(--sColor);
        border-left: 1px solid rgba(0, 0, 0, 0.05);
        border-right: 1px solid rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 6px 0;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .navigation ul li ul.sub-menu::before {
        content: "";
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%);
        border-width: 0 6px 6px 6px;
        border-style: solid;
        border-color: transparent transparent var(--sColor) transparent;
        z-index: 1000;
    }

    .navigation ul li:hover ul.sub-menu {
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 880px) {
    .navigation ul li ul.sub-menu {
        position: static;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.15);
        box-shadow: none;
        display: none;
        flex-direction: column;
        border: 0;
        border-radius: 0;
        padding: 0;
    }
    
    .navigation ul li.open ul.sub-menu {
        display: flex;
    }
}

.navigation ul li ul.sub-menu li {
    width: 100%;
    border-bottom: 1px solid #f2f2f2;
}

.navigation ul li ul.sub-menu li:last-child {
    border-bottom: 0;
}

.navigation ul li ul.sub-menu li a {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
    letter-spacing: 0.5px;
    color: #333333 !important;
    display: block;
    box-sizing: border-box;
    text-transform: capitalize;
    transition: background-color 0.2s ease, color 0.2s ease;
}

@media (max-width: 880px) {
    .navigation ul li ul.sub-menu li a {
        padding: 12px 20px 12px 40px !important;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.85) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        letter-spacing: 1px;
    }

    .navigation ul li ul.sub-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.05) !important;
        color: #ffffff !important;
    }
}

.navigation ul li ul.sub-menu li a:hover {
    background-color: var(--pColor) !important;
    color: #ffffff !important;
}

#secondary-navigation > nav > ul > li:hover {
    background-color: #0057af !important;
}

#secondary-navigation > nav > ul > li:hover > a {
    color: #fff !important;
}

#secondary-navigation > nav > ul > li.current-menu-item,
#secondary-navigation > nav > ul > li.current-menu-parent {
    background-color: #0057af !important;
}

/* Phone Contacts & Social Icons in Header */
.headerPhone p {
    font-size: 24px;
    color: #fff;
    margin: 0;
}

.headerPhone p a {
    color: #fff;
}

.hp p {
    margin: 0px;
    padding-left: 20px;
}

.hp p a {
    position: relative;
    display: block;
    line-height: 1;
    text-align: left;
}

.hp p a i {
    position: absolute;
    left: -18px;
    top: 9px;
}

p.big-p {
    color: #fff;
    display: block;
    text-align: center;
    margin: 0px;
    font-size: 25px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
}

p.big-p a {
    color: inherit;
}

.footer-social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 4px;
}

.footer-social-icons a {
    color: #fff;
    font-size: 26px;
    display: inline-block;
    margin: 0px 15px;
}

.footer-social-icons i {
    background: white;
    padding: 5px;
    width: 35px !important;
    border-radius: 25px;
    color: black !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 35px;
}

img.topmov {
    background: white;
    padding: 5px;
    width: 35px !important;
    height: 35px !important;
    border-radius: 25px;
    margin-top: 2px;
}

.wide-wrapper {
    border-top: 1px solid #ffffff;
    text-align: center;
    position: relative;
    width: 100%;
    background: var(--sColor);
}

.wide-wrapper .container {
    padding: 8px 0px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wide-wrapper svg {
    fill: var(--sColor);
    transform: translateY(0px) scaleY(-1);
    top: 100%;
}

a#pull {
    display: none;
}

/* Shape Dividers */
.header-hero__shape-divider {
    fill: rgb(255, 255, 255);
    width: 100%;
    left: 0;
    bottom: 0px;
    position: absolute;
    height: 25%;
    z-index: 1;
    pointer-events: none;
}

.header-hero__shape-divider path:nth-child(1) { opacity: 0; }
.header-hero__shape-divider path:nth-child(2) { opacity: 0.12; }
.header-hero__shape-divider path:nth-child(3) { opacity: 0; }
.header-hero__shape-divider path:nth-child(4) { opacity: 0; }

svg.header-hero__shape-divider.too_para {
    bottom: auto;
    top: 0px;
    transform: scaleY(-1);
}

svg.header-hero__shape-divider.boo_para {
    bottom: 0px;
    top: auto;
    transform: none;
}

/* Hero Video Banner */
.video-wrapper {
    position: relative;
    height: 65vh;
    max-height: 80vh;
    width: 100%;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.video-wrapper:before {
    height: 100%;
    width: 100%;
    position: absolute;
    content: "";
    top: 0px;
    left: 0px;
    background-color: #000;
    opacity: 0.4;
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    bottom: auto;
    text-align: left;
    width: 100%;
    max-width: 600px;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    left: 6%;
}

.carousel-caption h2 {
    color: #fff;
    font-size: 45px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.carousel-caption a {
    margin: 10px auto;
    padding: 15px 20px !important;
}

/* Buttons */
[class^="btn"], a.btn {
    position: relative;
    z-index: 1;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    text-align: center;
    transition: 0.3s all;
    font-weight: 600;
    line-height: 1.3;
    font-size: 12px;
    letter-spacing: 1px;
    color: #fff !important;
    text-transform: uppercase;
    min-width: 235px;
    margin: 10px;
    padding: 12px 18px;
    background-color: #111;
    margin-left: 0px;
    border: 0;
}

html body .btn {
    color: #fff !important;
    padding: 9px 15px;
    text-transform: uppercase;
    background-color: var(--sColor) !important;
}

[class^="btn"]:hover, a.btn:hover {
    background-color: var(--sColor) !important;
    color: #111 !important;
}

/* Welcome Section */
section.content-section {
    padding: 60px 0px;
    position: relative;
    z-index: 2;
}

section.content-section h2.page-title {
    text-align: center;
    font-size: 45px;
    margin-bottom: 30px;
    font-weight: 700;
}

section.content-section .flex-ed {
    padding: 0 10px;
    margin: auto;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1250px;
    gap: 40px;
}

.content-4-5 {
    flex: 1 1 50%;
    padding: 0 15px;
    width: 50%;
    order: 2;
}

.content-4-5 p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.content-4-5 p a {
    font-weight: bold;
    color: var(--pColor);
}

.welcome2 {
    flex: 0 0 45%;
    width: 45% !important;
    padding: 0 15px;
    order: 1;
}

.welcome2 .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.welcome2 .half {
    width: 100%;
    margin: 0;
}

.welcome2 video {
    width: 100%;
    display: block;
    outline: 2px solid #3988e1;
    border: 5px solid #eee;
    border-radius: 25px;
    height: auto !important;
}

/* We Specialize In / Counter Section */
.no-number-up {
    padding: 50px 50px 0;
    position: relative;
    text-align: center;
    width: 100%;
}

.no-number-up h3 {
    font-style: normal;
    font-weight: 300;
    font-size: 28px;
    color: #111;
    margin-bottom: 45px;
}

.no-number-up .container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1450px !important;
    flex-wrap: wrap;
    gap: 15px;
}

.counter-item {
    position: relative;
    width: 18%;
    box-sizing: border-box;
}

.counter-wrap {
    background-color: var(--pColor);
    transition: ease-in-out 0.7s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
    position: relative;
    overflow: visible;
}

.counter-wrap a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    min-height: 80px;
    border: 0px;
    width: 100%;
}

.counter-wrap img.big-img {
    filter: brightness(0) invert(1);
    max-width: 45px;
    height: auto;
}

.counter-wrap h4 {
    font-style: normal;
    font-weight: normal;
    font-size: 15px;
    text-align: center;
    padding-left: 5px;
    color: #fff;
    margin-bottom: 0;
    flex-grow: 1;
}

.counter-wrap i {
    color: #fff;
    font-size: 18px;
}

/* Split dropdown description details on hover */
.create-medown {
    position: absolute;
    background-color: var(--pColor);
    text-align: left;
    line-height: 20px;
    padding: 15px;
    box-sizing: border-box;
    width: 100%;
    left: 0px;
    top: 100%;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.create-medown p {
    margin: 0px;
    color: #fff;
    font-size: 13px;
}

.counter-wrap a:hover .create-medown {
    opacity: 1;
    visibility: visible;
}

/* About Office Banner Section */
section.big-banner {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    position: relative;
    padding: 60px 40px;
    background: #000;
}

section.big-banner:before {
    height: 100%;
    width: 100%;
    position: absolute;
    content: "";
    opacity: 0.6;
    background: #000;
    top: 0px;
    left: 0px;
    z-index: 1;
}

section.big-banner .container {
    z-index: 2;
    position: relative;
}

.text-container {
    max-width: 550px;
    margin: 0 0 0 auto;
    position: relative;
    text-align: left;
}

section.big-banner h2 {
    font-size: 46px;
    color: #ffffff;
    margin-bottom: 32px;
    line-height: 1.1;
    font-weight: 700;
}

section.big-banner p {
    color: #fff;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

section.big-banner a {
    color: #ffffff;
    font-weight: 600;
}

section.big-banner svg {
    height: 110px;
    width: 120%;
    left: -10%;
}

/* Testimonials / Gallery Background */
.services-new {
    background-image: url('https://painreliefsanmarcos.com/wp-content/uploads/2021/02/mainbg-scaled.jpg');
    background-size: cover;
    text-align: center;
    padding: 70px 0px;
    width: 100%;
}

.services-new h2 {
    font-style: normal;
    font-weight: normal;
    font-size: 43px;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 40px;
    position: relative;
    left: -10px;
}

.testimonial-up {
    margin-bottom: 30px;
    max-width: 100%;
    padding: 0 15px;
}

.testimonial-item {
    padding: 0 5px;
    transition: all 0.3s ease-in-out;
}

.testimonial-wrap {
    max-width: 100%;
    margin: 0;
    position: relative;
    padding: 30px;
    font-weight: 300;
    font-style: italic;
    font-size: 14px;
    line-height: 24px;
    background: var(--aColor);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0;
}

.testimonial-wrap p {
    color: #fff;
    font-style: italic;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 20px;
}

.testimonial-item h4 {
    padding-left: 6px;
    display: block;
    text-align: center;
    color: #fff;
    margin-top: 25px;
    text-transform: uppercase;
    letter-spacing: 3.6px;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
}

.stars {
    display: block;
    margin-bottom: 5px;
    color: #ffcc00;
}

span.stars:before {
    content: "\f005 \f005 \f005 \f005 \f005";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    letter-spacing: 2px;
}

/* Slick Testimonial Center Highlight Overrides */
.testimonial-up .slick-list {
    padding: 50px 0px !important;
    overflow: visible !important;
}

.services-new .slick-slide {
    opacity: 0.4;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.services-new .slick-center,
.services-new .slick-active.slick-current {
    opacity: 1 !important;
    transform: scale(1.15);
    z-index: 3;
    position: relative;
}

.testimonial-up .slick-arrow {
    display: none !important;
}

.sub-footer svg {
    bottom: auto;
    top: -3px;
    transform: scaleY(-1);
    height: 120px;
    width: 120%;
    left: -10%;
}

/* Sub-Footer Gravity Form Styling */
.sub-footer.contact-footer {
    background-color: var(--pColor);
    padding-top: 115px;
    padding-bottom: 85px;
    margin: 0;
    position: relative;
}

.sub-footer h3 {
    text-align: center;
    font-size: 40px;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 700;
}

.sub-footer .gform_wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.sub-footer form {
    display: block;
}

.sub-footer ul.gform_fields {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: block !important;
}

.sub-footer ul.gform_fields::after {
    content: "";
    display: table;
    clear: both;
}

.sub-footer li.gfield {
    width: 100%;
    float: left;
    box-sizing: border-box;
    margin-bottom: 20px !important;
}

.sub-footer li.gf_left_half {
    width: 50% !important;
    float: left !important;
    box-sizing: border-box !important;
}

.sub-footer li.gf_left_half input {
    width: calc(100% - 10px) !important;
    margin-right: 10px !important;
    box-sizing: border-box !important;
}

.sub-footer li.gf_right_half {
    width: 50% !important;
    float: left !important;
    box-sizing: border-box !important;
}

.sub-footer li.gf_right_half input {
    width: calc(100% - 10px) !important;
    margin-left: 10px !important;
    box-sizing: border-box !important;
}

.sub-footer label {
    display: none !important;
}

.sub-footer input[type="text"],
.sub-footer input[type="tel"],
.sub-footer input[type="email"],
.sub-footer textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: #393939 !important;
    border: 0px !important;
    color: #fff !important;
    padding: 15px !important;
    font-size: 16px;
    border-radius: 4px;
}

.sub-footer input::placeholder,
.sub-footer textarea::placeholder {
    color: #bbb;
}

.sub-footer li.gfield_html {
    color: #fff;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

.sub-footer .gform_footer {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.sub-footer input[type="submit"] {
    background: var(--sColor) !important;
    color: #fff !important;
    width: 200px !important;
    margin: 0px auto !important;
    display: block !important;
    float: none !important;
    text-transform: uppercase;
    padding: 15px 0 !important;
    cursor: pointer;
    border: 0;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
}

.sub-footer input[type="submit"]:hover {
    background-color: #004494 !important;
}

/* Footer Section */
footer#site-footer {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 40px 10px 0;
    margin: 0px !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

footer#site-footer:before {
    height: 100%;
    width: 100%;
    position: absolute;
    content: "";
    opacity: 0.8;
    background-color: #000;
    top: 0px;
    left: 0px;
    z-index: 1;
}

footer#site-footer * {
    position: relative;
    z-index: 2;
}

.fo-map {
    width: 100%;
}

.fo-map .container {
    max-width: 1250px !important;
    margin-top: -85px;
    margin-right: auto;
    margin-left: auto;
    z-index: 3;
    margin-bottom: 60px;
    border: 2px solid #fff;
    padding: 0;
}

.fo-map iframe {
    height: 300px;
    display: block;
    border: 0;
}

.sub-footer-bottom {
    width: 100%;
    padding: 40px 0 60px;
}

.sub-3 {
    width: 33.33%;
    padding: 0px 15px;
    position: relative;
    color: #fff;
}

.sub-3 h4 {
    text-transform: capitalize;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.sub-3 p {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

.sub-3 a {
    color: #fff;
}

.sub-3:nth-child(2):before {
    left: -5px;
    height: 120%;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    background-color: #fff;
    position: absolute;
    content: "";
}

.sub-3:nth-child(2):after {
    height: 120%;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    background-color: #fff;
    position: absolute;
    content: "";
    right: 0px;
}

.footer-hours p {
    font-size: 15px;
    line-height: 1.8;
}

/* Copyright Bar */
.copyrights {
    background: transparent;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    text-align: center;
}

.copyrights p {
    color: #fff;
    font-size: 15px;
    margin: 0;
}

.copyrights a {
    color: #fff;
    text-decoration: underline;
}

/* Accessibility Overlay Toolbar */
.wda-access-toolbar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99999;
}

.wda-toolbar-toggle-link {
    background-color: var(--sColor);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.3);
}

/* Mobile CTA buttons & stickies */
.mobile_cta_buttons {
    display: none;
}

.cta_fixed_button {
    display: none;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 1024px) {
    .content-4-5, .welcome2 {
        width: 100% !important;
        flex: 1 1 100%;
    }

    .content-4-5 {
        margin-top: 30px;
        order: 2;
    }
    
    .welcome2 {
        order: 1;
    }

    .welcome2 .half {
        margin: 0 auto !important;
    }

    .counter-item {
        width: 48%;
    }
    
    .sub-3 {
        width: 100% !important;
        text-align: center;
        margin-bottom: 30px;
    }

    .sub-3:nth-child(2):before,
    .sub-3:nth-child(2):after {
        display: none;
    }
}

@media (max-width: 880px) {
    .hide-d {
        display: block !important;
    }
    
    .hide-xs {
        display: none !important;
    }

    /* Mobile Header Layout Adjustments */
    div#header .container {
        padding: 5px 15px !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        max-width: 100% !important;
    }

    div#header .container > .col3:nth-child(1) {
        display: none !important;
    }

    div#header .container > .col3:nth-child(2) {
        width: auto !important;
        flex-grow: 1;
        text-align: left;
    }

    div#header .container > .col3:nth-child(3) {
        width: auto !important;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: flex-end;
        gap: 15px;
    }

    #header .col3 .footer-social-icons {
        display: none !important;
    }

    p.big-p {
        font-size: 18px !important;
        margin: 0 !important;
        line-height: 1;
        white-space: nowrap;
        font-weight: 700;
        display: flex;
        align-items: center;
    }

    p.big-p i {
        margin-right: 6px;
        font-size: 16px;
    }

    #logo {
        text-align: left !important;
        margin: 0 !important;
    }

    #logo img {
        max-width: 180px;
        margin: 0 !important;
        display: block;
    }

    #logo a {
        font-size: 20px !important;
        text-align: left !important;
        display: block;
    }

    .navigation {
        display: none;
        width: 100%;
        float: none;
        clear: both;
    }

    .navigation ul {
        display: flex;
        flex-direction: column;
        background-color: var(--sColor);
        padding: 10px 0;
        margin: 0;
        width: 100%;
        list-style: none;
    }

    .navigation ul li {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .navigation ul li a {
        display: block;
        padding: 14px 20px !important;
        font-size: 16px;
        letter-spacing: 2px;
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-sizing: border-box;
        width: 100%;
    }

    .navigation ul li:last-child > a {
        border-bottom: 0;
    }

    .navigation ul li a:hover {
        background-color: rgba(255, 255, 255, 0.05) !important;
    }

    a#pull {
        display: block;
        width: 32px;
        height: 32px;
        background: transparent;
        position: relative;
        cursor: pointer;
    }

    a#pull:after {
        content: "\f0c9";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 24px;
        color: #fff;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .carousel-caption h2 {
        font-size: 30px;
    }

    .carousel-caption {
        width: 90%;
        left: 5%;
        text-align: center;
    }

    .video-wrapper {
        height: 50vh;
    }

    /* Fixed Mobile Action buttons bar */
    .mobile_cta_buttons {
        display: flex;
        flex-direction: column;
        background-color: #fff;
        padding: 15px;
    }

    .mobileBtn a {
        display: block;
        color: #fff !important;
        text-align: center;
        background-color: var(--pColor);
        padding: 12px;
        border-radius: 8px;
        margin: 5px 0 !important;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 16px;
    }

    .mobileBtn.phoneBtn a {
        background-color: var(--sColor);
    }

    .cta_fixed_button {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        height: 50px;
    }

    .cta_fixed_button a.sticks {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        font-size: 14px;
        font-weight: bold;
        text-transform: uppercase;
    }

    .cta_fixed_button a.sticks:nth-child(1) {
        background-color: #000;
        color: #fff !important;
    }

    .cta_fixed_button a.sticks:nth-child(2) {
        background-color: #efefef;
        color: #111 !important;
    }

    .move_down {
        height: 50px;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .counter-item {
        width: 100%;
    }
    
    section.big-banner h2 {
        font-size: 32px;
    }
    
    .sub-footer li.gf_left_half,
    .sub-footer li.gf_right_half {
        width: 100% !important;
        float: none !important;
    }

    .sub-footer li.gf_left_half input,
    .sub-footer li.gf_right_half input {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ==========================================================================
   Relaxing Green Multi-Step Form Styles
   ========================================================================== */

:root {
    --healing-green: #2E7D32;
    --healing-green-hover: #1B5E20;
    --healing-green-light: #E8F5E9;
    --healing-green-border: #81C784;
}

/* 1. Hero Split Layout */
.carousel-caption.split-hero {
    max-width: 1200px !important;
    width: 90% !important;
    left: 5% !important;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-form-col {
    flex: 1;
    max-width: 500px;
    z-index: 5;
}

.hero-text-col {
    flex: 1.2;
    max-width: 600px;
    color: #ffffff;
    z-index: 5;
    text-align: left;
}

.hero-text-col h2 {
    color: #ffffff !important;
    font-size: 45px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2 !important;
}

.hero-hook {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 25px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    color: #ffffff;
}

/* 2. Hero Form Styles (Glassmorphism & Healing Green Accents) */
.hero-form-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    text-align: left;
}

.hero-form-container h3 {
    color: #ffffff !important;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-quick-form .form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.hero-quick-form input,
.hero-quick-form select,
.hero-quick-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.9);
    color: #333333;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.hero-quick-form input:focus,
.hero-quick-form select:focus,
.hero-quick-form textarea:focus {
    border-color: var(--healing-green-border);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3);
    background: #ffffff;
}

.hero-quick-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

.hero-quick-form select:invalid {
    color: #757575;
}

.hero-quick-form textarea {
    resize: none;
}

.hero-quick-form input[type="date"] {
    color: #333333;
}

/* Next Step Button */
.btn-next, html body .btn-next {
    background-color: var(--healing-green) !important;
    border: 1px solid var(--healing-green-border) !important;
    color: #ffffff !important;
    width: 100%;
    margin: 10px 0 0 0 !important;
    padding: 14px 20px !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.btn-next:hover, html body .btn-next:hover {
    background-color: var(--healing-green-hover) !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-outline-hero {
    background: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 6px;
    padding: 12px 24px !important;
}

.btn-outline-hero:hover {
    background: #ffffff !important;
    color: var(--healing-green-hover) !important;
}

/* 3. Main Appointments Form Styling (CF7) */
.appointments-page input[type="text"],
.appointments-page input[type="email"],
.appointments-page input[type="tel"],
.appointments-page input[type="date"],
.appointments-page select,
.appointments-page textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    background: #fafafa;
    color: #333333;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    margin-bottom: 15px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.appointments-page input:focus,
.appointments-page select:focus,
.appointments-page textarea:focus {
    border-color: var(--healing-green-border);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    background: #ffffff;
}

.appointments-page .wpcf7-submit {
    background-color: var(--healing-green) !important;
    border: 1px solid var(--healing-green-border) !important;
    color: #ffffff !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 10px 0;
}

.appointments-page .wpcf7-submit:hover {
    background-color: var(--healing-green-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.insurance-other-wrapper {
    margin-top: -5px;
    margin-bottom: 15px;
}

/* Privacy Consent Layout */
.appointments-page .wpcf7-list-item {
    margin: 0 0 15px 0;
    display: block;
}

.appointments-page .wpcf7-list-item-label {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    display: inline;
}

.appointments-page input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

/* 4. Responsive adjustments for Split Hero */
@media (max-width: 940px) {
    .carousel-caption.split-hero {
        flex-direction: column !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        gap: 20px !important;
        text-align: center;
        width: 92% !important;
        left: 4% !important;
    }
    
    .hero-form-col, .hero-text-col {
        max-width: 100% !important;
        width: 100%;
        text-align: center;
    }
    
    .hero-text-col h2 {
        font-size: 28px !important;
        margin-bottom: 10px !important;
    }
    
    .hero-hook {
        font-size: 16px !important;
        margin-bottom: 15px;
    }
    
    .video-wrapper {
        height: auto !important;
        min-height: 90vh;
    }
}

@media (max-width: 480px) {
    .hero-quick-form .form-row {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .hero-form-container {
        padding: 15px;
    }
    
    .hero-form-container h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
}

