:root {
  --primary-color: #027C45;
  --secondary-color: #C71C17;
  --tertiary-color: #160f5c;
  --bf-blue: #003366;
}

@font-face {
  font-family: "Poppins";
  src: url(../fonts/Poppins/Poppins-Regular.ttf);
}

html,
body {
  /*overflow-x: hidden;*/
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 25px;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 400;
  text-align: left;
  color: #333333;
}

p {
  font-size: 16px;
  line-height: 25px;
  font-weight: 400;
  transition: 0.5s;
}

h1, h2, h3, h4, h5, h6 {
  color: color-mix(in srgb, var(--primary-color) 50%, black);
  font-style: normal;
  margin: 20px 0 5px;
  line-height: 1.2;
  font-weight: 600;
  transition: 0.5s;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.25rem; margin-bottom: 20px; }
h6 { font-size: 0.875rem; }

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease-out;
}

a:focus,
.btn:focus {
  text-decoration: none;
  outline: none;
}

a:hover,
a:focus {
  color: var(--secondary-color);
  text-decoration: none;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: inherit;
  transition: 0.5s;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a, i, ol, li, ul {
  font-style: normal;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
}

*::-moz-selection {
  background: var(--secondary-color);
  color: #fff;
  text-shadow: none;
}

::-moz-selection {
  background: var(--secondary-color);
  color: #fff;
  text-shadow: none;
}

::selection {
  background: var(--secondary-color);
  color: #fff;
  text-shadow: none;
}

.btn {
  background: var(--secondary-color);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background: color-mix(in srgb, var(--secondary-color) 65%, black);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}


#reset, .reset {
    display: none;
}



/*==============================================
 Header section
==============================================*/
.navbar {
    background: #fff;
    padding: 0;
    border-bottom: 1px solid #ddd;
}

.navbar.static {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1025;
}

.logo {
    height: 50px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    padding: 5px 0;
    margin: 10px 4px;
}
.navbar-nav .nav-link.btn {
    padding: 6px 7px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    background: #fff;
}
.navbar-nav .nav-link.btn-bg,
.navbar-nav .nav-link.btn:hover,
.navbar-nav .nav-link.btn.active {
    background: var(--secondary-color);
    color: #fff;
}

.navbar-nav .dropdown-menu {
    background: var(--primary-color);
    border: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item.active {
    color: var(--secondary-color);
}

.navbar-nav .dropdown-menu .dropdown-item {
    color: white;
}

.navbar-nav .dropdown-menu .dropdown-item.active {
    color: var(--secondary-color);
    background: white;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}


.search-box {
    position: absolute;
    padding: 5px;
    width: 100%;
    max-width: 330px;
}
.search-box input {
    padding-right: 30px;
}
.search-box input, .search-box input::placeholder {
    font-size: 13px;
}
.search-box button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #777;
    font-size: 14px;
    cursor: pointer;
}
.search-box button:focus {
    outline: none;
}




.menu-icon {
    color: var(--primary-color);
    font-size: 25px;
    cursor: pointer;
    margin-top: -5px;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    padding: 20px;
    z-index: 1030;
}
.mobile-menu.active {
    right: 0;
}
.mobile-menu .close-menu {
    font-size: 26px;
    font-weight: 650;
    cursor: pointer;
    float: right;
}
.mobile-menu .nav-logo {
  position: relative;
  padding: 20px 5px;
  text-align: left;
  margin-top: 20px;
}
.mobile-menu .nav-logo img {
  max-width: 150px;
}
.mobile-menu .mobile-search {
  padding: 0 0 15px 0;
}
.mobile-menu .mobile-search form {
  position: relative;
}
.mobile-menu .mobile-search input::placeholder {
  font-size: 15px;
}
.mobile-menu .mobile-search input {
  display: block;
  width: 100%;
  border: none;
  padding: 10px 45px 10px 20px;
  font-size: 15px;
  height: 45px;
  background: #f3f3f4;
  color: #020615;
  border-radius: 0;
}
.mobile-menu .mobile-search button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  padding: 0;
  right: 20px;
  line-height: 1;
  background: transparent;
  color: #020615;
}
.mobile-menu ul {
    padding-left: 0;
}
.mobile-menu .menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}
.mobile-menu .menu-item a,
.mobile-menu .submenu li a{
    text-decoration: none;
    color: #212529;
    font-size: 14px;
}
.mobile-menu .menu-item a:hover,
.mobile-menu .submenu li a:hover {
    color: #00332E;
}

.mobile-menu .btn {
    padding: 6px 7px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    font-size: 15px;
    background: #fff;
    color: #212529;
    font-weight: 400 !important;
    width: 100%;
    text-align: center;
}
.mobile-menu .btn-bg,
.mobile-menu .btn:hover,
.mobile-menu .btn:active {
    background: var(--secondary-color);
    color: #fff !important;
}

.mobile-menu .submenu {
    display: none;
    padding-left: 10px;
}
.mobile-menu .submenu li {
  position: relative;
  display: block;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.mobile-menu .submenu li:first-child {
  border-top: none;
}
.mobile-menu .submenu li a {
    font-weight: 600;
}

@media (min-width: 992px) {
    .navbar {
        padding: 0 25px;
    }
    .menu-icon {
        display: none;
    }
}

@media (max-width: 991px) {
}

@media (max-width: 991px) {
    .menu-icon {
        position: absolute;
        right: 20px;
        top: 25px;
    }
}




/*=======================================
   Hero/Search Section
========================================*/
.hero-section {
    background-color: #fdfdfd;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
    color: #2c3e50;
}

.hero-title .discover {
    color: var(--primary-color);
}

.hero-title .connect {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-search-form {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.form-control-hero {
    border: none;
    box-shadow: none;
    height: 55px;
    font-size: 1.05rem;
    padding: 10px 20px;
    color: #333;
}

.form-control-hero::placeholder {
    color: #888;
}

.form-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0 10px 0 15px;
    flex-shrink: 0;
}

.form-divider {
    width: 1px;
    height: 40px;
    background-color: #e0e0e0;
    margin: 0 10px;
}

.btn-hero-search {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 700;
    border: none;
    height: 55px;
    min-width: 160px;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-hero-search:hover {
    background-color: #a31713;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-search-form {
        flex-direction: column;
        padding: 25px;
    }
    .form-input-group {
        width: 100%;
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
    }
    .form-control-hero {
        padding: 15px 20px;
    }
    .form-icon { margin: 0 10px; }
    .form-divider { display: none; }
    .btn-hero-search {
        width: 100%;
        margin-top: 10px;
    }
}




/*=======================================
   Statistics
========================================*/
.stats-section {
    padding: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #d0e0e0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(2, 124, 69, 0.1);
    border-color: rgba(199, 28, 23, 0.2);
}

.stat-icon-box {
    width: 80px;
    height: 80px;
    background: rgba(2, 124, 69, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon-box {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(360deg);
}

.stat-number-wrapper {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}

.stat-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stat-number-wrapper { font-size: 2.2rem; }
}




/*=======================================
   Categories
========================================*/
.categories {
  padding: 2rem 0 5rem 0;
}

.category-card {
    background: color-mix(in srgb, var(--secondary-color) 5%, white);
    border: 1px solid rgba(2, 124, 69, 0.1);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(2, 124, 69, 0.08);
    border-color: var(--primary-color);
    background-color: #ffffff;
}

.card-header-flex {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.cat-icon-wrapper {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.cat-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.cat-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-category {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-category:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
}



.page-header {
    padding: 60px 0 40px;
    background-color: #f8fbff;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.1rem;
    max-width: 850px;
    margin: 0 auto 30px;
}




/*=======================================
   Counties
========================================*/
.counties {
  padding: 2rem 0 3rem 0;
}

.county-tile {
    display: block;
    position: relative;
    background: #ffffff;
    border: 1px solid #eef2f6;
    padding: 10px 20px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 1;
}

.county-tile::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.4s ease;
    z-index: -1;
}

.county-tile:hover::before {
    top: 0;
}

.county-tile:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(2, 124, 69, 0.15);
    border-color: var(--primary-color);
}

.tile-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.county-info {
    display: flex;
    flex-direction: column;
}

.county-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.tile-arrow {
    width: 35px;
    height: 35px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.county-tile:hover .county-name { color: #ffffff; }
.county-tile:hover .tile-arrow { 
    background: var(--secondary-color); 
    color: #ffffff;
    transform: rotate(-45deg);
}




/*=======================================
  Listing Category Pages
========================================*/
.listings-area {
    padding: 3rem 0;
    background: white;
}
.bf-cat-sidebar-wrapper { margin-bottom: 30px; }

.bf-cat-sidebar {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 20px;
    position: sticky;
    top: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.bf-cat-sidebar-title {
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 15px;
    padding-left: 10px;
}

.bf-cat-nav { list-style: none; padding: 0; }
.bf-cat-nav-item a {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    color: #475569;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}
.bf-cat-nav-item a:hover { background: #f8fafc; color: #027C45; }
.bf-cat-nav-item.active a { background: #f0fdf4; color: #027C45; }

/* --- Listing Cards (2 per row) --- */
.bf-cat-card {
    background: color-mix(in srgb, var(--secondary-color) 4%, white);
    border: 1px solid #f1f5f9;
    border-radius: 18px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.bf-cat-card:hover {
    transform: translateY(-5px);
    border-color: #027C45;
    box-shadow: 0 15px 35px rgba(2, 124, 69, 0.08);
}

.bf-cat-card-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }

.bf-cat-logo {
    width: 55px; height: 55px;
    border-radius: 12px;
    object-fit: contain;
    border: 1px solid #f1f5f9;
    padding: 5px;
}

.bf-cat-biz-name { font-weight: 600; font-size: 1rem; margin: 0; color: #1e293b; }
.bf-cat-tagline { color: var(--secondary-color); font-size: 0.8rem; font-weight: 700; margin-top: 2px; }

.bf-cat-description {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.bf-cat-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #f8fafc;
}

.bf-cat-meta-box { font-size: 0.75rem; color: #94a3b8; font-weight: 600; }
.bf-cat-meta-box i { color: var(--primary-color); margin-right: 5px; width: 14px; }
.bf-cat-meta-val { display: block; color: #475569; font-size: 0.8rem; margin-top: 2px; }
a.bf-cat-meta-val {
    color: var(--primary-color);
    font-weight: 600;
}
a.bf-cat-meta-val:hover {
    color: var(--secondary-color);
}

.bf-cat-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.bf-cat-stars { color: #ffc107; font-size: 0.75rem; }

.bf-cat-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.80rem;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
}
.bf-cat-btn:hover { background: #a31713; color: white; }

@media (max-width: 991px) {
    .bf-cat-sidebar { position: static; margin-top: 30px; }
}



/*=======================================
  No Listing Found
========================================*/
.bf-no-results {
    padding: 80px 20px;
    background: white;
    border-radius: 30px;
    border: 2px dashed #e2e8f0;
    margin: 20px 0;
}

/* Creative Illustration */
.bf-illustration-box {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bf-search-glass {
    font-size: 3rem;
    color: #cbd5e1;
    animation: bf-bounce 3s infinite ease-in-out;
}

.bf-floating-dots span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.6;
}

.bf-floating-dots span:nth-child(1) { top: 20%; right: 10%; animation: bf-float 4s infinite; }
.bf-floating-dots span:nth-child(2) { bottom: 20%; left: 5%; background: #027C45; animation: bf-float 5s infinite; }
.bf-floating-dots span:nth-child(3) { top: 40%; left: -10%; animation: bf-float 3s infinite; }

/* Custom Buttons */
.bf-btn-primary {
    background-color: var(--secondary-color) !important;
    color: white !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    transition: 0.3s !important;
}

.bf-btn-primary:hover {
    background-color: #a31713 !important;
    transform: translateY(-2px);
}

.bf-btn-outline {
    border: 2px solid #e2e8f0 !important;
    background: transparent;
    color: #475569 !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    transition: 0.3s !important;
}

.bf-btn-outline:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

/* Animations */
@keyframes bf-bounce {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes bf-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -15px); }
}



/*=======================================
  Listing Page
========================================*/
.bf-listing-hero { 
    background-color: #f9fbfd;
    color: #2d3748; 
}

/* --- Hero Header Section --- */
.bf-listing-hero {
    background: white;
    border-bottom: 1px solid #edf2f7;
    padding: 50px 0;
    margin-bottom: 40px;
}

.bf-listing-brand-box {
    display: flex;
    align-items: center;
    gap: 30px;
}

.bf-listing-logo-frame {
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 1px solid #f1f5f9;
}

.bf-listing-logo-frame img { width: 100%; object-fit: contain; }

.bf-listing-main-title { font-weight: 800; font-size: 2rem; margin-bottom: 8px; }
.bf-listing-tagline { color: var(--secondary-color); font-weight: 700; font-size: 1.1rem; margin-bottom: 15px; }

.bf-listing-rating-summary { display: flex; align-items: center; gap: 10px; }
.bf-listing-stars { color: #ffc107; font-size: 1.1rem; }
.bf-listing-social-tray { margin-top: 20px; display: flex; gap: 12px; }
.bf-listing-social-btn {
    width: 40px; height: 40px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; background: #f1f5f9;
    color: #475569; text-decoration: none; transition: 0.3s;
}
.bf-listing-social-btn:hover { background: var(--primary-color); color: white; transform: translateY(-3px); }

/* --- Card Containers --- */
.bf-listing-card {
    background: white;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.bf-listing-section-h3 { 
    font-weight: 800; font-size: 1.4rem; margin-bottom: 25px; 
    display: flex; align-items: center; gap: 12px;
}
.bf-listing-section-h3::after { 
    content: ""; height: 3px; background: #f1f5f9; flex-grow: 1; border-radius: 10px;
}

/* --- Services Grid --- */
.bf-listing-service-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    border: 1px solid #f1f5f9;
    transition: 0.3s;
}
.bf-listing-service-item:hover { border-color: var(--primary-color); background: white; }
.bf-listing-service-item i { color: var(--primary-color); font-size: 0.8rem; }

/* --- Sticky Sidebar --- */
.bf-listing-sidebar-info { position: sticky; top: 30px; }

.bf-listing-contact-link {
    display: flex; align-items: flex-start; gap: 15px;
    padding: 15px 0; border-bottom: 1px solid #f1f5f9;
    text-decoration: none; color: inherit;
}
.bf-listing-contact-link:last-child { border-bottom: none; }
.bf-listing-contact-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(2, 124, 69, 0.08); color: var(--primary-color);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bf-listing-contact-val { font-weight: 600; display: block; }
.bf-listing-contact-label { font-size: 0.8rem; color: #6f6f70; }

/* --- Maps & Reviews --- */
.bf-listing-map-container {
    border-radius: 18px; overflow: hidden; height: 350px;
    margin-bottom: 30px; border: 1px solid #e2e8f0;
}

.bf-listing-review-row {
    padding: 25px 0; border-bottom: 1px solid #f1f5f9;
}
.bf-listing-review-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.bf-listing-reviewer-name { font-weight: 700; }
.bf-listing-review-score { background: #1e293b; color: white; padding: 2px 10px; border-radius: 6px; font-size: 0.8rem; }

/* --- Buttons --- */
.bf-listing-btn-red, .claim-business-btn {
    background: var(--secondary-color); color: white; border: none;
    border-radius: 12px; padding: 12px 25px; font-weight: 700; transition: 0.3s;
}
.bf-listing-btn-red:hover, .claim-business-btn:hover { background: #a31713; color: white; transform: scale(1.02); }

@media (max-width: 768px) {
    .bf-listing-brand-box { flex-direction: column; text-align: center; padding: 10px;}
    .bf-listing-main-title { font-size: 2rem; }
    .bf-listing-rating-summary, .bf-listing-social-tray {
        display: block;
        text-align: center;
    }
    .bf-listing-social-tray a {
        float: left;
        margin: 5px;
    }
}




/* Container Fixes */
.bf-modal-base {
    border-radius: 20px !important;
    border: none !important;
}

.bf-modal-header-style {
    border-bottom: 1px solid #f1f5f9;
    padding: 1.5rem !important;
}

/* Star Rating - Flex-reverse is the trick for the CSS hover effect */
.bf-star-group {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 8px;
}

.bf-star-group input { display: none; }

.bf-star-group label {
    font-size: 2rem;
    color: #e2e8f0;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.bf-star-group label:hover,
.bf-star-group label:hover ~ label,
.bf-star-group input:checked ~ label {
    color: #ffc107;
}

/* Input Styling */
.bf-input-style {
    border-radius: 12px !important;
    padding: 12px !important;
    border: 1px solid #e2e8f0 !important;
}

.bf-input-style:focus {
    border-color: #027C45 !important;
    box-shadow: 0 0 0 3px rgba(2, 124, 69, 0.1) !important;
}

/* Upload Zone */
.bf-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bf-dropzone:hover {
    border-color: #027C45;
    background: #f0fdf4;
}

.bf-dropzone i {
    font-size: 1.5rem;
    color: #94a3b8;
}

/* Submit Button */
.bf-submit-btn {
    background-color: #C71C17 !important;
    border: none !important;
    padding: 10px 25px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
}



/*=======================================
   About, Privacy policy, Terms
========================================*/
.content-section {
    padding: 3rem 0;
}

.content-area h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.content-area p, .content-area ol, .content-area ul {
    margin-bottom: 20px;
    font-size: 1rem;
}

.content-area li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
}

.content-area li::before {
  content: '\f061' !important;
  font-family: 'Font Awesome 7 Free' !important;
  font-weight: 900 !important;
  position: absolute;
  left: 0;
  /*color: var(--primary-color);*/
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.cat-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: color-mix(in srgb, var(--secondary-color) 5%, white);
    border-radius: 10px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.cat-item i {
    width: 30px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cat-item:hover {
    background: #fff;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

@media (max-width: 991px) {
    .sidebar-wrapper {
        margin-top: 50px;
        padding-top: 40px;
        border-top: 1px solid #eef0f2;
    }
    .category-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/*=======================================
   Contact Us
========================================*/
.contact-us {
    padding: 4rem 0;
}
.contact-form, .contact-info {
    background: color-mix(in srgb, var(--secondary-color) 3%, white);
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 8px;
    box-shadow: rgba(9, 37, 64, 0.10) 0px 3px 10px, rgba(9, 37, 64, 0.15) 0px 1px 6px;
}
.contact-form h2 {
    margin: 0;
    padding-bottom: 1rem;
}
.contact-form input.form-control {
    height: 40px;
}

.contact-form input::placeholder {
    color: #777;
}

.contact-info h3 {
    margin: 0 0 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.contact-item {
    width: 100%;
    margin-bottom: 20px;
}

.contact-icon, .contact-data {
    position: relative;
    float: left;
}
.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    margin-right: 20px;
}
.contact-icon i {
    font-size: 18px;
    color: #fff;
    position: relative;
    top: 10px;
    left: 10px;
}
.contact-data h5 {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
}

.contact-faqs {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.contact-faqs .btn {
    margin: auto;
    padding: 7px 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    font-size: 15px;
    background: #fff;
    color: #444;
    font-weight: 400 !important;
    text-align: center;
}
.contact-faqs .btn:hover {
    background: var(--secondary-color);
    color: #fff !important;
}

.contact-social h4 {
    margin-bottom: 10px;
}
.contact-social a {
    margin: 0 5px;
}



/*=======================================
   Blog
========================================*/
.blog-section {
    padding: 3rem 0;
}

.blog-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 51, 102, 0.1);
}

.card-img-container {
    overflow: hidden;
    position: relative;
    height: 200px;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-img-top {
    transform: scale(1.1);
}

.card-title a {
    color: var(--bf-blue);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.card-title a:hover {
    color: var(--secondary-color);
}

.card-text {
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-meta {
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.author-name {
    color: var(--bf-blue);
    font-weight: 600;
}

.btn-read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 10px;
}

.btn-read-more:hover {
    text-decoration: underline;
}

.view-more {
  background: var(--secondary-color);
  color: #ffffff;
  border-radius: 8px;
  padding: 10px 20px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.view-more:hover {
  background: color-mix(in srgb, var(--secondary-color) 65%, black);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}



.pagination .page-item {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  background: #f8f9fa;
  color: #333;
  transition: all 0.3s ease;
}
.pagination .page-item.active,
.pagination .page-item:hover {
  background: var(--secondary-color);
  color: white;
}



.post-header {
    padding: 60px 0 40px;
    background-color: #f8fbff;
}

.post-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.featured-image-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.featured-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.article-content {
    font-size: 1rem;
    color: #444;
}

.article-content h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.article-content ul li {
  list-style: disc;
}

.blockquote-custom {
    border-left: 5px solid var(--secondary-color);
    padding: 20px 30px;
    background: #fff5f5;
    font-style: italic;
    font-size: 1.3rem;
    margin: 40px 0;
    color: var(--primary-color);
}

.author-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 25px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-img {
    width: 80px;
    height: 80px;
    /*border-radius: 50%;*/
    object-fit: cover;
    /*border: 3px solid var(--primary-color);*/
}

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.recent-post-item:hover {
    opacity: 0.8;
    color: var(--secondary-color);
}

.thumb-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.recent-post-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}

.social-sticky {
    position: sticky;
    top: 85px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

.bg-fb { background-color: #1877F2; }
.bg-tw { background-color: #000000; }
.bg-ln { background-color: #0077B5; }
.bg-wa { background-color: #25D366; }

@media (max-width: 992px) {
    .social-sticky {
        flex-direction: row;
        position: relative;
        top: 0;
        margin-bottom: 30px;
        justify-content: center;
    }
}





/*=======================================
   FAQs
========================================*/
.faq-area {
    padding: 4rem 0;
}
.faq-area .container {
    max-width: 1000px;
    margin: auto;
}
.faqs-holder {
    background: color-mix(in srgb, var(--secondary-color) 3%, white);
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 8px;
    box-shadow: rgba(9, 37, 64, 0.10) 0px 3px 10px, rgba(9, 37, 64, 0.15) 0px 1px 6px;
    margin-bottom: 20px;
}
.faqs-holder h2 {
    font-size: 18px;
}
.faqs-holder .quiz {
    padding: 10px 0;
}
.faqs-holder .quiz:not(.faqs-holder .quiz:last-child) {
    border-bottom: 1px solid #d4d4d4;
}
.quiz h5 {
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
}
.quiz div {
    display: none;
}



/*=======================================
   Search Page
========================================*/
.bf-search-result-info { padding: 40px 0; border-bottom: 1px solid #e2e8f0; background: white; margin-bottom: 40px; }
.bf-search-keyword { color: var(--secondary-color); }

/* Section Headings */
.bf-search-section-title {
    font-weight: 800; font-size: 1.5rem; margin-bottom: 25px;
    display: flex; align-items: center; gap: 12px;
}
.bf-search-section-title i { color: var(--secondary-color); }

/* --- Business Card Styling (2 per row) --- */
.bf-biz-card {
    background: white; border-radius: 18px; border: 1px solid #edf2f7;
    padding: 20px; transition: 0.3s; height: 100%; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.bf-biz-card:hover { transform: translateY(-5px); border-color: var(--primary-color); }
.bf-biz-logo { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; }
.bf-biz-name { font-weight: 800; font-size: 1.1rem; margin: 0; color: #1e293b; text-decoration: none; }
.bf-biz-name:hover { color: var(--secondary-color); }
.bf-biz-tagline { font-size: 0.8rem; color: var(--secondary-color); font-weight: 700; }
.bf-biz-meta { font-size: 0.8rem; color: #64748b; margin-top: 10px; display: flex; align-items: center; gap: 10px; }

/* --- Blog Post Styling (Right Side) --- */
.bf-blog-sidebar-card {
    background: white; border-radius: 16px; border: 1px solid #edf2f7;
    margin-bottom: 20px; overflow: hidden; transition: 0.3s;
}
.bf-blog-sidebar-card:hover { border-color: var(--secondary-color); }
.bf-blog-img { width: 100%; height: 120px; object-fit: cover; }
.bf-blog-content { padding: 15px; }
.bf-blog-category { font-size: 0.7rem; font-weight: 800; color: var(--primary-color); text-transform: uppercase; }
.bf-blog-title { font-weight: 700; font-size: 0.95rem; line-height: 1.4; margin-top: 5px; display: block; color: #1e293b; text-decoration: none; }
.bf-blog-title:hover { color: var(--secondary-color); }

@media (max-width: 991px) {
    .bf-blog-column { margin-top: 50px; }
}




/*******************************************
    Auth Pages
********************************************/
.authdiv {
    background: color-mix(in srgb, var(--secondary-color) 4%, white);
    border: 1px solid #ddd;
    padding: 25px;
    width: auto;
    max-width: 430px;
    margin: 50px auto;
    border-radius: 8px;
    box-shadow: rgba(9, 37, 64, 0.10) 0px 4px 15px, rgba(9, 37, 64, 0.15) 0px 1px 6px;
}

.signup {
    max-width: 480px;
}

.authdiv h1 {
    text-align: center;
    padding-bottom: 10px;
    margin-top: 0px;
    font-size: 23px;
    font-weight: bold;
    border-bottom: 1px solid #f1f1f1;
}

.authdiv p.small {
    text-align: center;
    font-size: 14px;
}

.authdiv .form-control.icon {
    padding-left: 35px;
}

.authdiv .mb-3 {
    position: relative;
}

.showuser,
.showpadlock {
    position: absolute;
    left: 10px;
    top: 43px;
    color: rgba(0, 0, 0, 0.5);
    font-size: 16px;
    cursor: pointer;
}

.showpwd {
    position: absolute;
    right: 12px;
    top: 44px;
    color: rgba(0, 0, 0, 0.45);
    font-size: 13px;
    cursor: pointer;
}

.authdiv a {
    font-size: 14px;
}

.authdiv .back {
    margin-top: 10px;
}

.authdiv .nav-link {
    color: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.authdiv .nav-item .active {
    background: #f6f7f8 !important;
}



/*==============================================
 Footer section
==============================================*/
.footer {
    background-color: var(--primary-color);
    padding: 50px 0;
}
.footer img {
    max-height: 40px;
    margin: 20px 0;
}
.footer h4 {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 18px;
    color: #fff;
}
.footer a {
    color: #ddd;
    text-decoration: none;
}
.footer a:hover {
    color: #fff;
}
.footer .social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #005930;
    color: #fff;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    font-size: 16px;
    margin-right: 10px;
    transition: 0.3s;
}
.footer .social-icons a:hover {
    background: #F30818;
}
.subscribe form {
    display: flex;
}
.subscribe input {
    background: #fff;
    border: none;
    padding: 10px;
    width: 70%;
    border-radius: 5px 0 0 5px;
}
.subscribe button {
    background: #6d5d01;
    border: none;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    color: #fff;
}
.footer ul {
    list-style: none;
    padding: 0;
}
.footer ul li {
    margin-bottom: 10px;
}
.footer ul li a {
    display: flex;
    align-items: center;
}
.footer ul li i {
    margin-right: 8px;
}
.footer p {
    color: #eee;
}
.footer-contact p {
    font-size: 15px;
}
.footer-contact p i {
    margin-right: 5px;
}
.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #078e4f;
    margin-top: 30px;
    font-size: 14px;
    color: #eee;
}


.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #070026;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.scroll-to-top:hover {
    background-color: #ffffff;
}



/*=======================================
   Loader
========================================*/
.loader{
  display: none;
}
.spinner {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 40px;
}
.spinner div {
  display: inline-block;
  position: absolute;
  left: 6px;
  width: 7px;
  background: var(--primary-color);
  color: var(--primary-color);
  -webkanimation: spinner 1.2s infinite ease-in-out;
  animation: spinner 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.spinner div:nth-child(1) {
  left: 6px;
  animation-delay: -0.16s;
}
.spinner div:nth-child(2) {
  left: 26px;
  animation-delay: -0.12s;
}
.spinner div:nth-child(3) {
  left: 45px;
  animation-delay: -0.8s;
}
.spinner div:nth-child(4) {
  left: 65px;
  animation-delay: -0.4s;
}
.spinner div:nth-child(5) {
  left: 85px;
  animation-delay: 0;
}
@keyframes spinner {
  0% {
    top: 6px;
    height: 51px;
}
50%, 100% {
    top: 19px;
    height: 26px;
}
}

@-webkkeyframes sk-stretchdelay {
  0%, 40%, 100% { -webktransform: scaleY(0.4) }
  20% { -webktransform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.4);
    -webktransform: scaleY(0.4);
}20% {
 transform: scaleY(1.0);
 -webktransform: scaleY(1.0);
}
}