/*!
Theme Name: Lawn Masters
Theme URI: http://designedbyjohn.com
Version: 1.0
Description: A custom theme developed 
Author: John Johnson
Author URI: http://designedbyjohn.com
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: Divi
*/

body {
    font-family: "acumin-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px !important;
}

h1, h2, h3 {
    font-family: "acumin-pro", sans-serif;
    font-weight: 800 !important;
    font-style: normal;
}

h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
}

.footer-heading {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 1.2rem !important;
}

.arrow-right:after {
    font-family: 'ETMODULES';
    content: '\26';
    font-size: 22px;
    margin-right: 7px;
    vertical-align: top;
    text-align: right;
    position: absolute;
    right: 0;
}


/* This is hidden, just like before */
        .svg-defs {
            position: absolute;
            width: 0;
            height: 0;
        }

        /* === THIS IS THE KEY CHANGE === */
        .video-container {
            /* 1. Set a width to control the size */
            width: 100%; 
            /* max-width: 600px; */ /* You could also use a max-width */

            /* 2. Automatically set the height based on the SVG's ratio */
            aspect-ratio: 868 / 814;

            /* 3. The clip-path applies perfectly, as it's no longer stretched */
            clip-path: url(#my-clip-shape);
            -webkit-clip-path: url(#my-clip-shape);
            
            /* (Optional) Add a drop shadow to see the shape better */
            filter: drop-shadow(0 4px 15px rgba(0,0,0,0.3));
        }
        /* ============================== */


        /* The video inside still just fills its container */
        .video-container video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block; /* Helps prevent small layout gaps */
        }

.et_pb_section_0_tb_header {
    background: transparent;
    z-index: 1000;
}

.green-text {
    color: #B4D332;
}

.dark-blue-text {
    color: #010245;
}

/* Fullscreen Menu */
/* Menu */

body.no-scroll {
  overflow: hidden;
}

.no-collapse .et_mobile_nav_menu {
    display: none !important;
}

.et_pb_menu .et_pb_menu__menu {
    display: flex !important;
}

html .modal-nav .et_pb_menu__wrap {
    justify-content: flex-start !important;
}

.main-menu {
  z-index: 1001;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li a, .et_pb_text_2_tb_header h2 {
  line-height: 1em;
}

.modal-nav .et_pb_menu__menu>nav>ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: start;
    flex-direction: column;
}

.et_pb_module.et_pb_menu.et_pb_menu_0_tb_header.modal-nav.no-collapse.et_pb_bg_layout_light.et_pb_text_align_left.et_dropdown_animation_fade.et_pb_menu--without-logo.et_pb_menu--style-left_aligned {
    background: none;
}

.logo svg#Layer_1 {
    height: 30px;
    max-width: 100%;
}

#menu-button {
  cursor: pointer;
}

/* Start */

/* Icon styles */
#menu-button .fa-bars,
#menu-button .fa-times {
    position: absolute;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    font-size: 30px;
}

#menu-button .fa-times {
    opacity: 0;
    transform: rotate(-90deg);
}

#menu-button.open .fa-bars {
    opacity: 0;
    transform: rotate(90deg);
}

#menu-button.open .fa-times {
    opacity: 1;
    transform: rotate(0deg);
}

/* Styles for the fullscreen menu */
html #fullscreen-menu {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;

    overflow-y: auto;
    
    /* Smooth transition for appearing/disappearing */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 998;
    padding-top: 200px;
}

#menu-button:before {
    transition: all 0.33s ease;
    font-size: 22px;
}

#menu-button.open:before {
    content: "\51" !important;
}

/* When the menu has the .open class, make it visible */
#fullscreen-menu.open {
    opacity: 1;
    visibility: visible;
}

.et_pb_module.et_pb_menu.et_pb_menu_0_tb_header.modal-nav.no-collapse.et_pb_bg_layout_light.et_pb_text_align_left.et_dropdown_animation_fade.et_pb_menu--without-logo.et_pb_menu--style-left_aligned {
    background: transparent !important;
}

/* Styling for the links inside the menu */
#fullscreen-menu a {
    /* color: white; */
    text-decoration: none;
    margin: 0rem 0;
    transition: color 0.2s;
}

#fullscreen-menu a:hover {
    color: #000;
}

.external-link::after {
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; 
  content: "\f35d"; 
  font-size: 0.8em; 
  margin-left: 6px; 
  display: inline-block; 
  vertical-align: middle;
  color: #000;
}

#fullscreen-menu h3 {
    color: #000;
}

#fullscreen-menu .email a {
    color: #000;
}

#fullscreen-menu h3.outline {
    display: none;
}

/* Footer */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-inline {
    display: inline-block;
}

.logo-inline:last-child {
    border-left: 2px solid #fff;
    margin-left: 30px;
    padding-left: 30px;
    display: flex;
    align-items: center;
}

.logo-inline:first-child {
    height: 20px;
}

.logo-inline:last-child img {
    height: 55px;
    object-fit: contain;
}

/* Cost of living calculator */
/* Main calculator container */
/* Main calculator container */
.calculator-container {
    width: 100%;
    border-radius: 0.75rem; /* rounded-xl */
}


/* Header */
.header {
    text-align: center;
    margin-bottom: 1.5rem; /* mb-6 */
}
.header h1 {
    font-size: 1.5rem; /* text-2xl */
    line-height: 2rem;
    font-weight: 700; /* font-bold */
    color: #fff; /* White text */
}
@media (min-width: 768px) {
    .header h1 {
        font-size: 1.875rem; /* md:text-3xl */
        line-height: 2.25rem;
    }
}
.header p {
    color: #64748b; /* text-slate-500 */
    margin-top: 0.5rem; /* mt-2 */
    font-size: 1.125rem;
    line-height: 1.75rem;
    /* Text removed as requested */
}

/* Form */
#calculator-form > div:not(:last-child) {
    margin-bottom: 1.25rem; /* space-y-5 */
}

#calculator-form label {
    display: block;
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    font-weight: 500; /* font-medium */
    margin-bottom: 0.25rem; /* mb-1 */
    color: #fff; /* White text */
    padding-left: 5px; /* Slight indent */
}

.form-input, .form-select {
    width: 100%;
    padding: 0.5rem 1rem; /* px-4 py-2 */
    background-color: #f8fafc; /* bg-slate-50 */
    border: 1px solid #cbd5e1; /* border border-slate-300 */
    border-radius: 100px; /* rounded-full */
    transition: all 150ms ease-in-out;
    font-family: inherit;
    font-size: 1rem;
    -webkit-appearance: none; /* Fix for iOS select styling */
    -moz-appearance: none;
    appearance: none;
}

.form-select {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 10 13 14 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-position: right 1rem center;
        background-repeat: no-repeat;
        background-size: 1em 1em;
        padding-right: 2.5rem; /* Make space for arrow */
}

/* Custom focus styles */
.form-input:focus, .form-select:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    border-color: #B4D332; /* Lime green border */
    box-shadow: 0 0 0 2px #c7d2fe; /* shadow-indigo */
    background-color: #ffffff;
}

/* State Selection Grid (Now just holds one item) */
.input-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem; /* gap-5 */
}
/* Side-by-side layout on desktop */
@media (min-width: 768px) {
    .input-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Calculate Button */
#calculate-btn {
    background-color: #B4D332; /* Lime green */
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    color: #010245; /* Dark blue text */
    padding: 0.75rem 1rem; /* py-3 px-4 */
    border: none;
    border-radius: 100px; /* rounded-full */
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    transition: all 150ms ease-in-out;
}
#calculate-btn:hover {
    background-color: #a4c02f; /* Darker lime green */
}
#calculate-btn:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #c7d2fe, 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Results Display Area */
#results-area {
    margin-top: 1.5rem; /* mt-6 */
    padding: 1.25rem; /* p-5 */
    background-color: #010245; /* Dark slate */
    border-radius: 0.5rem; /* rounded-lg */
}
#results-area.hidden {
    display: none;
}
#results-area.error-bg {
        background-color: #fee2e2; /* bg-red-100 */
}

#salary-result {
    text-align: center;
}
#results-text {
    font-size: 1.125rem; /* text-lg */
    line-height: 1.75rem;
    color: #f1f5f9; /* Light slate text */
}
#results-text strong {
    font-weight: 600;
}
#results-text .highlight-salary {
    color: #B4D332; /* Lime green text */
    font-weight: 700;
}

.error-message {
    font-weight: 600; /* font-semibold */
    color: #dc2626; /* text-red-600 */
    text-align: center;
}

/* Style for the comparison details */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: 1rem;
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #334155; /* Slate border */
}
.comparison-grid h3 {
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    font-weight: 600; /* font-semibold */
    color: #94a3b8; /* Lighter slate text */
    margin-bottom: 0.25rem; /* mb-1 */
}
.comparison-grid p {
    font-weight: 700; /* font-bold */
    color: #f1f5f9; /* Light slate text */
    font-size: 1.125rem; /* text-lg */
    line-height: 1.75rem;
}
.comparison-grid .highlight-new {
    color: #B4D332; /* Lime green text */
}

/* Responsive grid for comparison */
@media (min-width: 640px) { /* Tablet and up */
    .comparison-grid {
        grid-template-columns: repeat(3, 1fr);
    }
        .comparison-grid p {
        font-size: 1.25rem; /* md:text-xl */
        line-height: 1.75rem;
    }
}
/* Removed the other media queries for 5 columns */


html #intro .et_pb_column {
    margin-right: 5.5%;
    margin-bottom: 0;
}

h1 .larger-headline {
    font-size: 88px !important;
    line-height: 88px;
}


h2 .larger-headline {
    font-size: 60px !important;
    line-height: 60px;
}

@media (max-width: 1000px) {

    .main-header h1 {
        font-size: 30px;
    }

    h1 .larger-headline {
        font-size: 40px !important;
        line-height: 40px;
    }


    h2 .larger-headline {
        font-size: 40px !important;
        line-height: 40px;
    }


}

@media (max-width: 981px) {

    span.arrow-right {
        display: none;
    }

    html #intro .et_pb_column .et_pb_image:after {
        font-size: 13px !important;
        top: 5px;
        background: #b4d433;
        padding: 5px;
        border-radius: 100px;
        left: 5px;
        font-family: 'ETMODULES';
        content: '\26';
        margin-right: 7px;
        vertical-align: top;
        text-align: left;
        position: absolute;
        padding: 10px;
        color: #010245;
    }
}

.primary-color {
    color: #408239;
}

/* --- RESET & BASE STYLES HEADER --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- TOP GREEN BAR --- */
.top-bar {
    background-color: #5e7e3d;
    color: white;
    font-size: 13px;
    padding: 12px 20px;
    text-align: center;
    font-weight: 500;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows stacking on mobile */
    gap: 10px;
}

.top-bar span {
    position: relative;
    white-space: nowrap;
}

/* Vertical pipe separator (Desktop only) */
.top-bar span.separator::after {
    content: "|";
    margin-left: 15px;
    margin-right: 15px;
    opacity: 0.6;
}

/* --- MAIN HERO / NAVBAR AREA --- */
.main-header {
    position: relative;
    display: flex;
    justify-content: space-between; 
    align-items: flex-start; 
    padding: 0 5%;
    transition: height 0.3s ease;
    z-index: 100;
}

/* --- LEFT NAVIGATION (Desktop) --- */
.nav-left {
    display: flex;
    align-items: center;
    height: 100px; 
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-link.stacked {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-link.stacked .small-text {
    font-size: 10px;
    opacity: 0.9;
}

/* --- CENTER LOGO --- */
.logo-container {
    background-color: white;
    padding: 20px 40px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 20; /* Keep above overlay */
    transition: all 0.3s ease;
}

.logo-img {
    font-family: 'Impact', sans-serif;
    color: #4a6b2f;
    font-size: 28px;
    text-align: center;
    line-height: 1;
}

.logo-sub {
    display: block;
    font-family: sans-serif;
    font-size: 10px;
    color: #333;
    margin-top: 5px;
    letter-spacing: 1px;
}

/* --- RIGHT ACTIONS --- */
.nav-right {
    display: flex;
    align-items: center;
    height: 100px;
    gap: 20px;
    z-index: 20; /* Keep buttons clickable */
}

.btn-call {
    background-color: #5e7e3d;
    color: white;
    text-decoration: none;
    padding: 8px 25px;
    border-radius: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background 0.3s;
}

.btn-call:hover {
    background-color: #4d6930;
}

.btn-call .call-label {
    font-size: 10px;
    text-transform: uppercase;
    margin-bottom: -15px;
}

.btn-call .call-number {
    font-size: 16px;
    font-weight: bold;
}

/* Menu Button */
.btn-menu {
    border: 1px solid white;
    color: white;
    background: transparent;
    padding: 20px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-menu:hover {
    background: rgba(255,255,255,0.1);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.line {
    width: 12px;
    height: 2px;
    background-color: white;
    transition: all 0.3s;
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu-overlay {
    position: absolute;
    top: 0;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    height: 100vh;
    background-color: rgba(30, 30, 30, 0.98);
    z-index: 15; /* Under logo/buttons but over content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease-in-out;
    
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Re-enables clicks when visible */
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-link {
    color: white;
    font-size: 24px;
    text-decoration: none;
    margin: 15px 0;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Animation for links appearing */
.mobile-menu-overlay.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
/* Staggered delay for links */
.mobile-menu-overlay.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-link:nth-child(4) { transition-delay: 0.4s; }


/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    /* 1. Simplify Top Bar */
    .top-bar {
        font-size: 11px;
        padding: 8px;
    }
    .promo-text { display: none; } /* Hide extra text on tablet/mobile */
    .top-bar span.separator::after { content: ""; margin: 0; }

    /* 2. Hide Desktop Navigation Elements */
    .nav-left { display: none; }
    .btn-call { display: none; } /* We move this into the mobile menu */

    /* 3. Adjust Header Layout */
    .main-header {
        padding: 0 20px;
        height: 120px; /* Shorter header on mobile */
    }

    /* 4. Resize Logo */
    .logo-container {
        padding: 15px 20px;
        border-radius: 0 0 10px 10px;
    }
    .logo-img { font-size: 20px; }
    .logo-sub { font-size: 8px; }

    /* 5. Adjust Menu Button */
    .btn-menu {
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .logo-sub { display: none; } /* Hide subtext if really tight */
    .btn-menu span:first-child { display: none; } /* Hide "MENU" text, show only icon */
}

.content-section ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 500;
}

.content-section ul li::before {
    content: '■';
    position: absolute;
    left: 0;
    top: 2px;
    color: #72b944;
    font-size: 14px;
    line-height: 24px;
}

.city-list-style li::before {
    content: '✔' !important;
    position: absolute;
    left: 0;
    top: 0;
    color: #72b944;
    font-weight: bold;
    font-size: 18px;
}


/* Grid Container Setup */
  .grid-container {
    display: grid;
    /* This creates exactly 4 columns of equal width */
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; /* Space between items */
    max-width: 1000px;
    margin: 0 auto; /* Center the grid on the page */
  }

  /* Responsive adjustment for smaller screens (optional, but good for mobile) */
  @media (max-width: 1024px) {
    .grid-container {
      grid-template-columns: repeat(2, 1fr); /* Drop to 2 columns on tablets */
    }

    .nav-right {
        display: flex;
        align-items: center;
        height: 70px;
        z-index: 20;
    }

    .et_pb_row.et_pb_row_0_tb_header {
        margin: 0;
        width: 100%;
        padding: 0 !important;
    }
  }
  @media (max-width: 600px) {
    .grid-container {
      grid-template-columns: 1fr; /* Drop to 1 column on mobile */
    }
  }

  /* Individual Card Styling */
  .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .circle-image {
    width: 100%;
    max-width: 220px; /* Ensure circle doesn't get too huge */
    aspect-ratio: 1 / 1; /* Keeps it a perfect circle */
    background-color: #dcdcdc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

 .circle-image.mulch {
    background: url('/wp-content/uploads/2026/03/mulch.webp') center center/cover no-repeat;
  }

.circle-image.topsoil {
    background: url('/wp-content/uploads/2026/01/soil-scaled.jpg') center center/cover no-repeat;
}

.circle-image.gravel-rock {
    background: url('/wp-content/uploads/2026/01/stone-scaled.jpg') center center/cover no-repeat;
}

.circle-image.firewood {
    background: url('/wp-content/uploads/2026/01/wood-scaled.jpg') center center/cover no-repeat;
}

.circle-image.landscaping {
    background: url('/wp-content/uploads/2026/01/landscape-scaled.jpg') center center/cover no-repeat;
}

.circle-image.lawncare {
    background: url('/wp-content/uploads/2026/01/lawn-scaled.jpg') center center/cover no-repeat;
}

.circle-image.lawncare {
    background: url('/wp-content/uploads/2026/03/20539.webp') center center/cover no-repeat;
}

  .label-group {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .label-text {
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #000;
  }

  .arrow-btn {
    width: 40px;
    height: 40px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
  }

  .arrow-btn::after {
    content: '›';
    font-size: 24px;
    position: relative;
    top: -2px;
    left: 1px;
  }

    /* Responsive adjustment for smaller screens (optional, but good for mobile) */
  @media (max-width: 1024px) {
    .card {
        align-items: center;
        text-align: center;
    }
  }
  @media (max-width: 600px) {
    .card {
        align-items: center;
        text-align: center;
    }
  }


.et_pb_gallery_image.landscape {
    height: 300px;
    width: 600px;
    max-width: 100%;
}

.landscape img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* LAWN MASTERS THEME STYLES */
:root {
    --lm-green: #7cb342;
    --lm-dark-green: #558b2f;
    --lm-black: #111111;
    --lm-gray: #f5f5f5;
    --lm-white: #ffffff;
}

.page-hero {
    background-color: var(--lm-black);
    color: var(--lm-white);
    padding: 60px 0;
    text-align: center;
    text-transform: uppercase;
    padding-top: 200px;
}

.page-hero h1 { font-family: 'Oswald', sans-serif; font-size: 3rem; margin: 0; color: #fff }

.content-section { padding: 50px 0; }
.bg-gray { background-color: var(--lm-gray); }

/* Product Grids */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--lm-white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 5px solid var(--lm-green);
}

.product-card h3 { color: var(--lm-black); margin-top: 0; text-transform: uppercase; }
.price-tag { color: var(--lm-dark-green); font-weight: bold; font-size: 1.2rem; display: block; margin-bottom: 10px; }

/* Delivery & Map Sections */
.delivery-box {
    background: var(--lm-black);
    color: var(--lm-white);
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
}

.delivery-box h2 {
    color: var(--lm-white);
}

.delivery-box p {
    margin-bottom: 15px;
}

.city-list {
    column-count: 2; /* Spilt cities into columns */
    column-gap: 20px;
    list-style: none;
    padding: 0;
}
.city-list li::before { content: "✓"; color: var(--lm-green); margin-right: 10px; }

/* Buttons */
.btn-lm {
    background-color: var(--lm-green);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    transition: background 0.3s;
}
.btn-lm:hover { background-color: var(--lm-dark-green); }

/* Responsive Map Embed */
.map-responsive iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 8px;
}
  

/* 1. Make both side containers take up equal space (flex: 1) 
   This ensures the Logo remains in the exact center of the screen. */

.nav-left {
    flex: 1;
    /* optional: use 'center' or 'flex-end' to move links closer to logo */
    justify-content: flex-start; 
}

.nav-right {
    flex: 1;
    /* This keeps the buttons pushed to the far right */
    justify-content: flex-end;
}

/* 2. (Optional) Vertical Centering 
   If you want the links to align with the middle of the Logo 
   instead of the top of the page, change this in .main-header */

.main-header {
    /* Change 'flex-start' to 'center' if you want the logo vertical aligned */
    /* Keep 'flex-start' if you want the logo 'tab' to hang down from the top */
    align-items: flex-start; 
}

/* --- CONTAINER --- */
.mobile-menu-inner {
    width: 100%;
    padding: 40px 10%; /* More breathing room on sides */
    text-align: left; /* strict left alignment like the example */
    overflow-y: auto; /* allows scrolling if menu is tall */
    max-height: 100vh;
}

/* --- RESET LISTS --- */
ul.wp-mobile-list, 
ul.sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- SECTION HEADERS (Top Level Items) --- */
/* These are your 'Products', 'Services' parent items */
ul.wp-mobile-list > li {
    margin-bottom: 40px; /* Space between groups */
}

ul.wp-mobile-list > li > a {
    font-family: 'Oswald', sans-serif; /* Strong header font */
    font-size: 36px; /* Big, bold text */
    font-weight: 800; 
    text-transform: uppercase;
    color: #ffffff; /* White text for headers */
    line-height: 1;
    display: block;
    margin-bottom: 15px; /* Space between header and its sub-links */
    text-decoration: none;
}

/* subtle hover for headers */
ul.wp-mobile-list > li > a:hover {
    color: #7cb342; 
}

/* --- SUB-LINKS (The Child Items) --- */
/* These are 'Mulch', 'Landscaping', etc. */
ul.wp-mobile-list ul.sub-menu {
    display: block; /* Always visible */
    margin: 0;
    padding: 0;
    border: none;
}

ul.wp-mobile-list ul.sub-menu li {
    margin-bottom: 12px; /* Spacing between links */
    opacity: 0; /* For animation */
    animation: fadeIn 0.5s forwards; /* Simple fade in */
}

ul.wp-mobile-list ul.sub-menu li a {
    font-family: 'acumin-pro', sans-serif; /* Clean body font */
    font-size: 18px; /* Smaller than headers */
    font-weight: 400; /* Normal weight */
    color: #a0a0a0; /* Light Gray text */
    text-transform: none; /* Normal Sentence case */
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0; /* Remove previous padding */
}

ul.wp-mobile-list ul.sub-menu li a:hover {
    color: #7cb342; /* Green on hover */
    padding-left: 5px; /* Tiny shift */
}

/* --- BIG 'CONTACT US' / CALL SECTION --- */
/* This targets the 'Call' link at the bottom */
a.mobile-link.special-call {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #ffffff !important;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    margin-top: 20px;
    text-align: left;
    line-height: 1.1;
}

/* Optional: Make the actual number green */
a.mobile-link.special-call span.number {
    color: #7cb342;
    display: block; /* Puts number on new line if you want */
}

/* Animation Keyframes */
@keyframes fadeIn {
    to { opacity: 1; }
}

p:not(.has-background):last-of-type {
    margin-bottom: 15px;
}


/* --- 1. DYNAMIC HERO STYLES --- */
.page-hero.dynamic-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0; /* Taller hero */
    text-align: center;
    margin-bottom: 0;
    padding-top: 200px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay to make text pop */
    z-index: 1;
}

.relative-z { position: relative; z-index: 1; }

/* --- 2. SUB NAV BAR STYLES --- */
.sub-nav-bar {
    background: #f4f4f4;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
    /* margin-bottom: 40px; */
}

.sub-nav-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.sub-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: white;
    padding: 8px 15px 8px 8px;
    border-radius: 50px; /* Pill shape */
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid transparent;
}

.sub-nav-item:hover, .sub-nav-item.active {
    background: #fff;
    border-color: #7cb342;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.sub-nav-item.active .nav-label {
    color: #7cb342;
    font-weight: 800;
}

.nav-thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.nav-label {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

/* --- 3. PRODUCT DETAIL CARD (Screenshot Style) --- */
.product-detail-card {
    display: flex;
    flex-wrap: wrap; /* Stack on mobile */
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-radius: 8px;
    overflow: hidden;
}

/* Left Image Area */
.pd-image {
    flex: 0 0 300px; /* Fixed width for image */
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    min-height: 250px;
    position: relative;
}

/* Zoom Icon (Mock) */
.pd-zoom-icon {
    position: absolute;
    top: 15px; right: 15px;
    background: #fff;
    width: 35px; height: 35px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Right Content Area */
.pd-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.pd-title {
    font-family: 'acumin-pro', sans-serif;
    font-size: 28px;
    font-weight: 400; /* Thin look like screenshot */
    margin: 0 0 10px;
    color: #333;
}

.pd-price {
    font-size: 20px;
    color: #7cb342; /* Lawn Masters Green */
    font-weight: bold;
    margin-bottom: 15px;
}

.pd-badge {
    display: inline-block;
    border: 1px solid #7cb342;
    color: #7cb342;
    padding: 0px 8px;
    border-radius: 20px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

span.pd-badge.pd-tag-grind {
    background: #fff !important;
}

.pd-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.pd-desc ul {
    padding-left: 20px;
    margin: 0;
}

.pd-actions {
    margin-top: auto; /* Push to bottom */
    display: flex;
    gap: 15px;
    align-items: center;
}

.pd-btn {
    background: #fff;
    color: #7cb342;
    border: 2px solid #7cb342;
    padding: 10px 30px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.pd-btn:hover {
    background: #7cb342;
    color: white;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .product-detail-card { flex-direction: column; }
    .pd-image { flex: none; height: 250px; width: 100%; }
}

/* --- PRODUCT GRID LAYOUT (4 Columns) --- */

/* 1. The Container */
.product-grid-wrapper {
    display: grid;
    /* Force exactly 4 columns of equal width */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Space between cards */
}

/* 2. The Card */
.product-grid-wrapper .product-detail-card {
    flex-direction: column; /* Stack Image on Top, Content on Bottom */
    height: 100%; /* Make all cards in a row the same height */
}

/* 3. The Image Area */
.product-grid-wrapper .pd-image {
    width: 100%;
    height: 200px; /* Slightly shorter to look balanced in narrow columns */
    border-right: none; 
    border-bottom: 1px solid #eee;
    background-size: cover;
    background-position: center;
}

/* 4. The Content Area */
.product-grid-wrapper .pd-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px; /* Slightly reduced padding for narrower cards */
}

/* 5. Typography Adjustments for 4-Column Layout */
.product-grid-wrapper .pd-title {
    font-size: 22px; /* Smaller title to fit better */
}
.product-grid-wrapper .pd-desc {
    font-size: 14px; /* Smaller body text */
}

/* Ensure the button stays at the bottom */
.product-grid-wrapper .pd-actions {
    margin-top: auto;
    padding-top: 15px;
}
.product-grid-wrapper .pd-btn {
    padding: 8px 15px; /* Compact button */
    font-size: 14px;
    width: 100%; /* Full width button looks better in grid */
    text-align: center;
    display: block;
}

.section-block, .product-grid-wrapper {
    padding: 30px 0;
}

.et_pb_row.et_pb_row_2_tb_footer, .et_pb_row.et_pb_row_1_tb_footer {
    font-size: 14px;
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Tablet / Small Laptop: Drop to 2 Columns */
@media (max-width: 1100px) {
    .product-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: Drop to 1 Column */
@media (max-width: 600px) {
    .product-grid-wrapper {
        grid-template-columns: 1fr;
    }
}

.et_pb_text_7 h2 {
    font-family: 'Bad Script', handwriting;
    font-weight: 700;
    font-size: 100px;
    color: #FFFFFF !important;
    text-align: center;
    text-transform: none;
}

/* --- CITY LIST STYLES (2 Columns with Checkmarks) --- */

.city-list-style ul {
    column-count: 3;       /* Splits list into 2 columns */
    column-gap: 40px;      /* Gap between columns */
    list-style: none;      /* Remove default bullets */
    padding-left: 0;
    margin: 0;
}

.city-list-style li {
    position: relative;
    padding-left: 30px;    /* Make room for the checkmark */
    margin-bottom: 10px;   /* Space between items */
    font-size: 16px;
    color: #fff;           /* White text to match dark background */
    break-inside: avoid;   /* Prevents split words */
}

/* Custom Green Checkmark */
.city-list-style li::before {
    content: '✔';          
    position: absolute;
    left: 0;
    top: 0;
    color: #72b944;        /* The bright green from your image */
    font-weight: bold;
    font-size: 18px;
}

/* --- GREEN CALL BUTTON --- */
.btn-green-custom {
    background-color: #72b944;
    color: #fff !important;
    font-weight: 800;
    font-size: 18px;
    padding: 12px 30px;
    border-radius: 50px; /* Pill shape */
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-green-custom:hover {
    background-color: #5a9632;
    color: #fff;
}

.text-white {
    color: #ffffff !important;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .city-list-style ul {
        column-count: 1; /* 1 column on mobile */
    }
    .contact-content {
        padding: 30px !important;
    }
}

/* --- REVIEWS SLIDER (Marquee Style) --- */

.reviews-slider-wrapper {
    overflow: hidden; /* Hides the cards that go off-screen */
    background: #f9f9f9;
    padding: 50px 0;
    position: relative;
    border-top: 1px solid #eee;
}

.reviews-main-title {
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 28px;
    margin-bottom: 40px;
    color: #111;
}

/* The Moving Track */
.reviews-track {
    display: flex;
    width: max-content; /* Allows track to be as wide as needed */
    animation: scroll 60s linear infinite; /* Adjust '60s' to make it faster/slower */
}

/* Pause on Hover */
.reviews-track:hover {
    animation-play-state: paused;
}

/* The Individual Card */
.review-card {
    background: #fff;
    width: 350px; /* Fixed width for cards */
    flex-shrink: 0;
    margin: 0 15px; /* Spacing between cards */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

/* Header (Logo + Name + Date) */
.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.r-logo {
    width: 35px;
    height: 35px;
    margin-right: 15px;
}
.r-logo svg {
    width: 100%;
    height: 100%;
}

.r-author {
    font-weight: 700;
    font-size: 16px;
    color: #202124;
    line-height: 1.2;
}

.r-date {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* Stars */
.r-stars {
    margin-bottom: 15px;
    font-size: 16px;
}
.star { color: #e0e0e0; }
.star.filled { color: #fbbc04; }

/* Text */
.r-text {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
}

/* --- ANIMATION KEYFRAMES --- */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move left by 50% (since we doubled the content, 50% is exactly one full set) */
        transform: translateX(-50%);
    }
}

span.float-right {
    text-align: right;
    float: right;
}

/* --- SERVICE OVERVIEW CARDS --- */

/* 1. The Card Container */
.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Important for flex height alignment */
    display: flex;
    flex-direction: column;
}

/* Hover Effect */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1) !important;
}

/* 2. Image Area */
.service-img-link {
    display: block;
    height: 220px; /* Fixed height for image area */
    overflow: hidden;
    flex-shrink: 0; /* Prevents image from shrinking */
}

.service-bg-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.service-card:hover .service-bg-img {
    transform: scale(1.1);
}

/* 3. Card Content */
.service-card-body {
    padding: 25px;
    flex-grow: 1; /* Fills remaining space */
}

.service-card-title {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.service-card-title a {
    color: #111;
    text-decoration: none;
}

.service-card-title a:hover {
    color: #72b944;
}

.service-card-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 4. Footer/Button */
.service-card-footer {
    /* Pushed to bottom via flex-grow on desc above */
}

.btn-text-arrow {
    color: #72b944;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-text-arrow:hover {
    text-decoration: underline;
    color: #5a9632;
}

/* --- SERVICES GRID LAYOUT --- */

.services-grid-container {
    display: grid;
    /* Force 3 columns of equal width */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; /* Space between cards */
    margin-bottom: 50px;
}

/* Responsive: 2 Columns on Tablet */
@media (max-width: 992px) {
    .services-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: 1 Column on Mobile */
@media (max-width: 600px) {
    .services-grid-container {
        grid-template-columns: 1fr;
    }
}


/* --- CARD STYLES (Kept from before) --- */
.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1) !important;
}

.service-img-link {
    display: block;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-bg-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.service-card:hover .service-bg-img {
    transform: scale(1.1);
}

.service-card-body {
    padding: 25px;
    flex-grow: 1;
}

.service-card-title {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.service-card-title a {
    color: #111;
    text-decoration: none;
}

.service-card-title a:hover {
    color: #72b944;
}

.service-card-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-text-arrow {
    color: #72b944;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-text-arrow:hover {
    text-decoration: underline;
    color: #5a9632;
}

