/*
Theme Name: Odyssey Marketing Co
Theme URI: https://odysseymarketingco.com
Author: Odyssey Marketing Co
Author URI: https://odysseymarketingco.com
Description: High-converting Texas Local SEO & Digital Marketing Agency WordPress Theme, engineered for local search dominance, Google Business Profile (GMB) ranking, and high-intent lead generation across Texas.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: odysseymarketingco
Tags: local-seo, agency, digital-marketing, texas-business, custom-header, custom-menu, featured-images, theme-options
*/

/* ==========================================================================
   Odyssey Marketing Co - Custom Theme Enhancements
   ========================================================================== */

:root {
  --ody-primary: #0778F9;
  --ody-secondary: #0A192F;
  --ody-accent: #00D4B2;
  --ody-dark: #0f172a;
  --ody-text: #475569;
  --ody-light-bg: #F8FAFC;
  --ody-border: #E2E8F0;
  --ody-texas-red: #BF0A30;
  --ody-texas-blue: #002868;
}

/* Base Typography & Body Styles (SEOX Style) */
html, body, button, input, select, textarea {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

body {
  color: var(--ody-text);
  overflow-x: hidden;
  background-color: #ffffff;
}

/* ==========================================================================
   SEOX PHP Template Index-4 Header (Pixel-Perfect Match)
   ========================================================================== */

/* Header Area 8 - Transparent Overlay */
.vl-header-area8.header-tranperent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease;
}

/* Floating White Container */
.vl-header-area8 .header2-bg {
  margin-top: 20px;
  border-radius: 16px;
  padding: 12px 28px;
  background-color: #ffffff;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

/* Sticky Header Active State */
.vl-header-area8.header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  padding: 0;
  z-index: 1000;
  animation: vlfadeInDown 0.5s ease-in-out;
}

@keyframes vlfadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.vl-header-area8.header-sticky .header2-bg {
  margin-top: 0;
  padding: 8px 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* Logo Alignment */
.vl-header-area8 .vl-logo {
  display: flex;
  align-items: center;
}

.vl-header-area8 .vl-logo a {
  display: inline-flex;
  align-items: center;
}

.vl-header-area8 .vl-logo img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Navigation Menu */
.vl-header-area8 .vl-main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.vl-header-area8 .vl-main-menu nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.vl-header-area8 .vl-main-menu ul {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.vl-header-area8 .vl-main-menu ul > li {
  display: inline-block;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vl-header-area8 .vl-main-menu ul > li > a {
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #090B0E;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap !important;
  text-decoration: none;
}

.vl-header-area8 .vl-main-menu ul > li > a:hover,
.vl-header-area8 .vl-main-menu ul > li.current-menu-item > a,
.vl-header-area8 .vl-main-menu ul > li.current_page_item > a,
.vl-header-area8 .vl-main-menu ul > li.current-menu-ancestor > a {
  color: #0587FF !important;
}

/* Dropdown Sub-menus */
.vl-header-area8 .vl-main-menu ul > li .sub-menu {
  position: absolute;
  top: calc(100% + 12px) !important;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  padding: 8px 0;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(1, 15, 28, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  border-top: 3px solid #0587FF;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1001;
  list-style: none;
  text-align: left;
  display: block;
}

/* Invisible hover bridge tunnel to prevent mouse-leave flickering */
.vl-header-area8 .vl-main-menu ul > li .sub-menu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
  background: transparent;
  display: block;
  z-index: 2;
}

.vl-header-area8 .vl-main-menu ul > li:hover > .sub-menu,
.vl-header-area8 .vl-main-menu ul > li:focus-within > .sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  top: calc(100% + 12px) !important;
  transform: translateY(0) !important;
  pointer-events: auto;
}

/* Sticky Header dropdown position */
.vl-header-area8.header-sticky .vl-main-menu ul > li .sub-menu,
.vl-header-area8.header-sticky .vl-main-menu ul > li:hover > .sub-menu,
.vl-header-area8.header-sticky .vl-main-menu ul > li:focus-within > .sub-menu {
  top: calc(100% + 8px) !important;
}

/* Suppress legacy pseudo lines */
.vl-header-area8 .vl-main-menu ul > li .sub-menu::after,
.vl-header-area8 .vl-main-menu ul > li .sub-menu li a::after {
  display: none !important;
}

.vl-header-area8 .vl-main-menu ul > li .sub-menu li {
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
}

.vl-header-area8 .vl-main-menu ul > li .sub-menu li a {
  display: block;
  padding: 10px 22px;
  font-family: 'Outfit', sans-serif !important;
  font-size: 14.5px;
  font-weight: 500;
  color: #090B0E;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}

.vl-header-area8 .vl-main-menu ul > li .sub-menu li a:hover,
.vl-header-area8 .vl-main-menu ul > li .sub-menu li.current-menu-item > a {
  color: #0587FF;
  background-color: #F4F8FC;
  padding-left: 26px;
}

/* Right Header Buttons */
.vl-header8-btns {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.vl-header8-btns .buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.vl-header8-btns .vl-search1 {
  display: inline-flex;
  align-items: center;
}

.vl-header8-btns .search-open-btn {
  background: none;
  border: none;
  font-size: 19px;
  color: #090B0E;
  cursor: pointer;
  padding: 0;
  margin-right: 36px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease;
  line-height: 1;
}

.vl-header8-btns .search-open-btn:hover {
  color: #0587FF;
}

/* Vertical Separator Divider */
.vl-header8-btns .search-open-btn::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 1.5px;
  background-color: #090B0E;
  opacity: 0.2;
  border-radius: 2px;
}

/* SEOX Theme Button 14 (Animated Arrow CTA Button) */
.theme-btn14 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  background-color: #0587FF;
  border-radius: 8px;
  overflow: hidden;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.35s ease;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(5, 135, 255, 0.25);
}

.theme-btn14 .arrow1,
.theme-btn14 .arrow2 {
  display: inline-block;
  transform: rotate(-45deg);
  font-size: 15px;
  position: relative;
  transition: all 0.35s cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

.theme-btn14 .arrow1 {
  opacity: 1;
  transform: rotate(-45deg) translate(0, 0);
}

.theme-btn14 .arrow2 {
  position: absolute;
  right: 22px;
  opacity: 0;
  transform: rotate(-45deg) translate(-24px, 24px);
}

.theme-btn14:hover {
  color: #ffffff !important;
  background-color: #090B0E;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(9, 11, 14, 0.3);
}

.theme-btn14:hover .arrow1 {
  opacity: 0;
  transform: rotate(-45deg) translate(24px, -24px);
}

.theme-btn14:hover .arrow2 {
  opacity: 1;
  transform: rotate(-45deg) translate(0, 0);
}

/* Mobile Offcanvas Toggle Button */
.vl-header-action-item .vl-offcanvas-toggle {
  background: transparent;
  border: 1px solid #DDE1E9;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #090B0E;
  transition: all 0.3s ease;
  cursor: pointer;
}

.vl-header-action-item .vl-offcanvas-toggle:hover {
  background-color: #0587FF;
  border-color: #0587FF;
  color: #ffffff;
}

/* Responsive Navigation Tweaks */
@media screen and (max-width: 1399px) and (min-width: 1200px) {
  .vl-header-area8 .vl-main-menu ul > li > a {
    font-size: 15px;
    padding: 10px 10px;
  }
  .vl-header8-btns .search-open-btn {
    margin-right: 28px;
  }
  .vl-header8-btns .search-open-btn::after {
    right: -14px;
  }
  .theme-btn14 {
    padding: 11px 18px;
    font-size: 15px;
  }
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
  .vl-header-area8 .header2-bg {
    padding: 10px 16px;
  }
  .vl-header-area8 .vl-main-menu ul > li > a {
    font-size: 13.5px;
    padding: 8px 6px;
  }
  .vl-header8-btns .search-open-btn {
    margin-right: 22px;
    font-size: 16px;
  }
  .vl-header8-btns .search-open-btn::after {
    right: -11px;
  }
  .theme-btn14 {
    padding: 9px 14px;
    font-size: 14px;
  }
}

@media screen and (max-width: 991px) {
  .vl-header-area8.header-tranperent {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
  }
  .vl-header-area8 .header2-bg {
    margin-top: 10px !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  }
  .vl-header-area8.header-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background-color: #ffffff !important;
    z-index: 1001 !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08) !important;
  }
  .vl-header-area8.header-sticky .header2-bg {
    margin: 0 !important;
    padding: 8px 16px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
}

/* Logo Sizing */
.vl-logo img,
.vl-offcanvas-logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.ody-text-logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.ody-text-logo .badge-tx {
  font-size: 11px;
  font-weight: 700;
  background: #EFF6FF;
  color: var(--ody-primary);
  border: 1px solid #BFDBFE;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

/* Texas Badge in Hero */
.badge-texas-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(7, 120, 249, 0.08);
  border: 1px solid rgba(7, 120, 249, 0.2);
  border-radius: 9999px;
  color: var(--ody-primary);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}

.badge-texas-flag i {
  color: #EF4444;
}

/* Texas Locations Grid Section */
.texas-coverage-section {
  padding: 90px 0;
  background: #F8FAFC;
  position: relative;
}

.city-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.city-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(7, 120, 249, 0.1);
  border-color: var(--ody-primary);
}

.city-card .city-icon {
  width: 54px;
  height: 54px;
  background: #EFF6FF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ody-primary);
  font-size: 22px;
  margin-bottom: 18px;
}

.city-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0F172A;
}

.city-card p {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 16px;
}

.city-card .city-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ody-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.city-card .city-link:hover {
  gap: 10px;
}

/* Google 3-Pack Highlight Box */
.gmb-3pack-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Inner Page Hero Styles */
.inner-hero {
  background-size: cover;
  background-position: center;
  padding: 180px 0 100px;
  position: relative;
}

.inner-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(7, 120, 249, 0.75) 100%);
}

.inner-hero .container {
  position: relative;
  z-index: 2;
}

.inner-main-heading h1 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 800;
}

.breadcrumbs-pages ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.breadcrumbs-pages ul li {
  color: #E2E8F0;
  font-size: 15px;
}

.breadcrumbs-pages ul li a {
  color: #93C5FD;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs-pages ul li a:hover {
  color: #ffffff;
}

.breadcrumbs-pages ul li.angle {
  font-size: 11px;
  opacity: 0.6;
}

/* Service Details Content Styling */
.service-details-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid #E2E8F0;
}

.service-checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  color: #334155;
}

.service-checklist li i {
  color: #10B981;
  font-size: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Sidebar Styling */
._sidebar-widget {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 30px;
}

._sidebar-widget h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #E2E8F0;
}

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

.sidebar-list ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: #ffffff;
  border-radius: 10px;
  color: #334155;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #E2E8F0;
  transition: all 0.2s ease;
}

.sidebar-list ul li a:hover,
.sidebar-list ul li a.active {
  background: var(--ody-primary);
  color: #ffffff;
  border-color: var(--ody-primary);
}

/* ==========================================================================
   Texas Locations / Service Areas Grid Styles
   ========================================================================== */
.texas-locations-sec {
  background-color: #F8FAFC;
  position: relative;
  overflow: hidden;
}

.texas-city-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.texas-city-card:hover {
  transform: translateY(-6px);
  border-color: var(--ody-primary);
  box-shadow: 0 16px 35px rgba(7, 120, 249, 0.12);
}

.texas-city-card .city-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.texas-city-card .city-icon {
  width: 48px;
  height: 48px;
  background: rgba(7, 120, 249, 0.08);
  color: var(--ody-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.texas-city-card .city-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #EFF6FF;
  color: var(--ody-primary);
  border: 1px solid rgba(7, 120, 249, 0.2);
}

.texas-city-card .city-badge.flagship {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FCD34D;
}

.texas-city-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ody-secondary);
}

.texas-city-card .city-region {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.texas-city-card .city-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 20px;
  flex-grow: 1;
}

.texas-city-card .city-action {
  margin-top: auto;
}

.texas-city-card .city-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 16px;
  background: #F1F5F9;
  color: var(--ody-secondary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.texas-city-card:hover .city-btn {
  background: var(--ody-primary);
  color: #ffffff;
}

.texas-statewide-box {
  background: linear-gradient(135deg, #0A192F 0%, #1E293B 100%);
  border-radius: 16px;
  padding: 32px 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.texas-statewide-box h4 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.texas-statewide-box p {
  color: #94A3B8;
  margin: 0;
  font-size: 15px;
}

/* ==========================================================================
   Mobile Sticky Call & Lead Bar (High Conversion)
   ========================================================================== */
.mobile-sticky-cta-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-sticky-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #0A192F;
    border-top: 2px solid var(--ody-primary);
    padding: 10px 14px;
    gap: 10px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  }

  .mobile-sticky-cta-bar .btn-call {
    flex: 1;
    background: #10B981;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 8px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .mobile-sticky-cta-bar .btn-audit {
    flex: 1.2;
    background: var(--ody-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 8px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  body {
    padding-bottom: 60px !important;
  }
}

/* Responsive Utilities & Mobile Hardening */
@media (max-width: 991px) {
  .inner-hero {
    padding: 140px 0 70px;
  }
  .inner-main-heading h1 {
    font-size: 32px;
  }
}

/* ==========================================================================
   Comprehensive Mobile Responsiveness & Polish Enhancements
   ========================================================================== */

/* 1. Global Viewport & Media Hygiene */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

img, video, iframe {
  max-width: 100%;
}

/* 2. Offcanvas Mobile Drawer Z-Index & Layout */
.vl-offcanvas {
  z-index: 100000 !important;
}

.vl-offcanvas-overlay {
  z-index: 99998 !important;
}

/* Hide mobile bottom CTA bar when offcanvas drawer is open */
.vl-offcanvas-open ~ .mobile-sticky-cta-bar,
body.offcanvas-open .mobile-sticky-cta-bar {
  display: none !important;
}

@media (max-width: 575px) {
  .vl-offcanvas {
    padding: 24px 20px !important;
    width: 100% !important;
  }

  .vl-offcanvas-header {
    margin-bottom: 24px !important;
  }

  .vl-offcanvas-close button,
  .vl-offcanvas-close-toggle {
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #F1F5F9 !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    color: #0F172A !important;
    border: none !important;
    transition: all 0.2s ease !important;
  }

  .vl-offcanvas-close button:hover,
  .vl-offcanvas-close-toggle:hover {
    background: #E2E8F0 !important;
    color: #0587FF !important;
  }

  .vl-menu-close {
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    border: 1px solid #E2E8F0 !important;
    background: #F8FAFC !important;
    color: #0F172A !important;
    top: 5px !important;
  }

  .vl-offcanvas-menu ul li .sub-menu {
    padding-left: 16px !important;
    border-left: 2px solid #E2E8F0 !important;
    margin-left: 4px !important;
    margin-top: 6px !important;
  }

  .vl-offcanvas-menu ul li .sub-menu li a {
    font-size: 15px !important;
    padding: 6px 0 !important;
    color: #475569 !important;
    font-weight: 500 !important;
  }

  .vl-offcanvas-menu ul li .sub-menu li a:hover {
    color: #0587FF !important;
  }
}

/* 3. Hero Section & Audit Form on Mobile */
@media (max-width: 767px) {
  .hero8 {
    min-height: auto !important;
    padding-bottom: 50px !important;
  }

  .main-heading8 {
    padding-top: 110px !important;
    padding-right: 0 !important;
  }

  .main-heading8 h1 {
    font-size: clamp(28px, 7.5vw, 38px) !important;
    line-height: 1.22 !important;
  }

  .main-heading8 p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .hero8-form {
    margin-top: 24px !important;
  }

  .hero8-form form {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .hero8-form input {
    width: 100% !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
  }

  .hero8-form .button,
  .hero8-form button {
    position: static !important;
    width: 100% !important;
  }

  .hero8-form .button .theme-btn14,
  .hero8-form button.theme-btn14 {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    border-radius: 10px !important;
  }

  .hero8-images {
    height: auto !important;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
  }

  .hero8-images .shape,
  .hero8 .sec-shape {
    display: none !important;
  }
}

/* 4. Inner Hero & Breadcrumbs on Mobile */
@media (max-width: 767px) {
  .inner-hero {
    padding: 120px 0 60px !important;
  }

  .inner-main-heading h1 {
    font-size: clamp(24px, 6.5vw, 34px) !important;
    line-height: 1.25 !important;
  }

  .breadcrumbs-pages ul {
    flex-wrap: wrap !important;
    gap: 6px !important;
    font-size: 13px !important;
    margin-top: 10px !important;
  }

  .heading8 h2,
  .heading2 h2 {
    font-size: clamp(24px, 6.5vw, 32px) !important;
    line-height: 1.3 !important;
  }
}

/* 5. Service Tabs Layout on Mobile */
@media (max-width: 767px) {
  .service-widgets-section .tabs-btn-area::after {
    display: none !important;
  }

  .service-widgets-section .tabs-btn-area ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .service-widgets-section .tabs-btn-area ul li {
    width: 100% !important;
  }

  .service-widgets-section .tabs-btn-area ul li button {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 12px 18px !important;
    font-size: 15px !important;
    border-radius: 12px !important;
    text-align: left !important;
  }

  .service-widgets-section .tabs-btn-area ul li button::after {
    display: none !important;
  }

  .service-boxarea {
    margin-bottom: 30px !important;
  }
}

/* 6. Footer Newsletter & CTA Safety on Mobile */
@media (max-width: 575px) {
  .vl-footer-subscribe8 {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .vl-footer-subscribe8 input {
    width: 100% !important;
    padding: 14px 18px !important;
  }

  .vl-footer-subscribe8 .button {
    position: static !important;
    width: 100% !important;
  }

  .vl-footer-subscribe8 .button .theme-btn14 {
    width: 100% !important;
    justify-content: center !important;
  }

  .cta8-main .buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 24px !important;
  }

  .cta8-main .buttons a {
    width: 100% !important;
    margin: 0 !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .texas-statewide-box {
    padding: 24px 18px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .texas-statewide-box a {
    width: 100% !important;
    justify-content: center !important;
  }

  .contact2-form .button {
    flex-direction: column !important;
    width: 100% !important;
  }

  .contact2-form .button button,
  .contact2-form .button a {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* 7. Back-to-Top Button Collision Fix with Bottom Sticky Bar */
@media (max-width: 767px) {
  .progress-wrap {
    bottom: 74px !important;
    right: 16px !important;
    width: 44px !important;
    height: 44px !important;
  }

  .progress-wrap::after {
    font-size: 16px !important;
    line-height: 44px !important;
  }

  .service-details-box {
    padding: 24px 18px !important;
  }
}
