﻿/* ============================================================
   Browse By Location – Page Styles
   Scoped entirely to .bbl-page to avoid conflicts with
   header, footer, and any other page styles.
   Font: Plus Jakarta Sans (loaded via <link> on the view).
   ============================================================ */

/* ---------- Reset / base (scoped) ---------- */
.bbl-page *,
.bbl-page *::before,
.bbl-page *::after {
  box-sizing: border-box;
}

.bbl-page {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: #F4F6FB;
  min-height: 60vh;
}

.bbl-page .container {
  max-width: 95%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* ---------- Accessibility: skip-to-content link (WCAG 2.4.1) ---------- */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
}
.skip-to-content:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 24px;
  background: #141C72;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  z-index: 10000;
  text-decoration: none;
}

/* ---------- Banner ---------- */
.bbl-page .bbl-banner {
  border-radius: 0 0 48px 48px;
  position: relative;
  padding: 70px 0 60px;
  background-image: url(../../../Images/city-page/browse-ng.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bbl-page .bbl-banner h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}

.bbl-page .bbl-banner p.bbl-banner__subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 500;
  margin: 0 auto 32px;
  max-width: 560px;
  text-align: center;
}

/* Country tabs inside banner */
.bbl-page .bbl-country-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  justify-content: center;
}

.bbl-page .bbl-country-tabs li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 28px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

/* Country flag icons via pseudo-element (avoids emoji rendering issues on Windows) */
.bbl-page .bbl-country-tabs li a.bbl-tab-usa::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Crect width='22' height='16' fill='%23B22234'/%3E%3Crect y='1.23' width='22' height='1.23' fill='%23fff'/%3E%3Crect y='3.69' width='22' height='1.23' fill='%23fff'/%3E%3Crect y='6.15' width='22' height='1.23' fill='%23fff'/%3E%3Crect y='8.62' width='22' height='1.23' fill='%23fff'/%3E%3Crect y='11.08' width='22' height='1.23' fill='%23fff'/%3E%3Crect y='13.54' width='22' height='1.23' fill='%23fff'/%3E%3Crect width='9' height='8.62' fill='%233C3B6E'/%3E%3C/svg%3E") center/contain no-repeat;
  border-radius: 2px;
  flex-shrink: 0;
}

.bbl-page .bbl-country-tabs li a.bbl-tab-can::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Crect width='22' height='16' fill='%23fff'/%3E%3Crect width='5.5' height='16' fill='%23D52B1E'/%3E%3Crect x='16.5' width='5.5' height='16' fill='%23D52B1E'/%3E%3Ctext x='11' y='12' text-anchor='middle' font-size='11' fill='%23D52B1E'%3E%E2%9C%BF%3C/text%3E%3C/svg%3E") center/contain no-repeat;
  border-radius: 2px;
  flex-shrink: 0;
}

.bbl-page .bbl-country-tabs li a:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
}

.bbl-page .bbl-country-tabs li a.active {
  background: #FF7200;
  border-color: #FF7200;
  color: #fff;
  box-shadow: 0 4px 18px rgba(255, 114, 0, 0.50);
}

/* ---------- Back link ---------- */
.bbl-page .bbl-back-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #FF7200;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin: 0 auto 24px;
    transition: color 0.2s;
    justify-content: center;
}

.bbl-page .bbl-back-link:hover {
  color: #c95d00;
}

.bbl-page .bbl-back-link::before {
  content: "←";
  font-size: 16px;
}

/* ---------- Section wrapper ---------- */
.bbl-page .bbl-body {
  padding: 48px 0 64px;
}

/* ---------- Section title ---------- */
.bbl-page .bbl-section-title {
  color: #333A3F;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.2;
}

.bbl-page .bbl-section-subtitle {
  color: #6B7280;
  font-size: 15px;
  font-weight: 400;
  margin: 0 0 28px;
}

.bbl-page .bbl-divider {
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: #FF7200;
  margin: 0 auto 32px;
}

/* ---------- Region / City grid ---------- */
.bbl-page .bbl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
}
.bbl-page .bbl-grid li{
    min-width: 300px;
}

.bbl-page .bbl-grid li a {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(5, 22, 44, 0.07);
  padding: 18px 20px;
  color: #333A3F;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.bbl-page .bbl-grid li a:hover {
  border-color: #FF7200;
  box-shadow: 0 4px 20px rgba(243, 127, 33, 0.18);
  transform: translateY(-2px);
  color: #FF7200;
}

.bbl-page .bbl-grid li a .bbl-grid__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #FFF3E8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ---------- Top Locations section ---------- */
.bbl-page .bbl-top-section {
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(5, 22, 44, 0.07);
  padding: 36px 32px 40px;
  margin-top: 16px;
}

.bbl-page .bbl-top-section .bbl-section-title {
  font-size: 24px;
}

.bbl-page .bbl-top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.bbl-page .bbl-top-grid li a {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: #F4F6FB;
  padding: 14px 18px;
  color: #333A3F;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.bbl-page .bbl-top-grid li a:hover {
  background: #FFF3E8;
  border-color: #FF7200;
  color: #FF7200;
}

.bbl-page .bbl-top-grid li a .bbl-pin {
  flex-shrink: 0;
  color: #FF7200;
  font-size: 16px;
}

/* ---------- Page title paragraph ---------- */
.bbl-page .bbl-page-title {
  color: #555;
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 24px;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bbl-page .bbl-banner h1 {
    font-size: 34px;
  }

  .bbl-page .bbl-grid {
 grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .bbl-page .bbl-banner {
    padding: 50px 0 44px;
    border-radius: 0 0 32px 32px;
  }

  .bbl-page .bbl-banner h1 {
    font-size: 26px;
  }

  .bbl-page .bbl-banner p.bbl-banner__subtitle {
    font-size: 15px;
  }

  .bbl-page .bbl-body {
    padding: 32px 0 48px;
  }

  .bbl-page .bbl-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
  }

  .bbl-page .bbl-top-section {
    padding: 24px 20px 28px;
  }

  .bbl-page .bbl-section-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .bbl-page .bbl-banner h1 {
    font-size: 22px;
  }

  .bbl-page .bbl-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .bbl-page .bbl-top-grid {
    grid-template-columns: 1fr;
  }

  .bbl-page .bbl-country-tabs li a {
    font-size: 13px;
    padding: 8px 18px;
  }
}

/* ============================================================
   Our Clients – v2   (.bbl-clients-wrap)
   Uses inline SVG icons — no external image dependency.
   Fully scoped, zero conflict.
   ============================================================ */
.bbl-clients-wrap {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: #fff;
  padding: 72px 0 68px;
}

.bbl-clients-inner {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 15px;
}

/* Section heading */
.bbl-clients-wrap .bbl-clients-heading {
  color: #1E2330;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 56px;
  line-height: 1.45;
  font-family: "Plus Jakarta Sans", sans-serif;
}

/* Three-column stat row */
.bbl-stats-row {
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* Vertical divider between cards */
.bbl-stat-divider {
  width: 1.5px;
  background: #EBEBEB;
  flex-shrink: 0;
  margin: 0;
}

/* Individual stat card */
.bbl-stat-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 40px 16px;
}


.bbl-stat-icon {
  margin: 0 0 30px;
  flex-shrink: 0;
}


/* Stat content */
.bbl-stat-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.bbl-stat-body strong {
  display: block;
  color: #1E2330;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.bbl-stat-body strong sup {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: super;
}

.bbl-stat-body span {
  display: block;
  color: #1E2330;
  font-size: 15px;
  font-weight: 700;
  margin-top: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.bbl-stat-body p {
  color: #6B7280;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  margin: 8px 0 0;
  max-width: 210px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
  .bbl-clients-wrap {
    padding: 48px 0 44px;
  }

  .bbl-clients-wrap .bbl-clients-heading {
    font-size: 18px;
    margin: 0 0 36px;
  }

  .bbl-stats-row {
    flex-direction: column;
    gap: 0;
  }

  .bbl-stat-divider {
    width: 100%;
    height: 1.5px;
    margin: 4px 0;
  }

  .bbl-stat-card {
    padding: 28px 20px;
  }
}

/* ============================================================
   Subscribe / CTA – v2   (.bbl-subscribe-wrap)
   Styled to match the city-page .cta block exactly:
   rounded panel, banner background, left text + right form card.
   ============================================================ */
.bbl-subscribe-wrap {
  font-family: "Plus Jakarta Sans", sans-serif;
  padding: 80px 0 80px;
  background: #F4F6FB;
}

/* Mimic city-page .cta */
.bbl-subscribe-wrap .subscribe-panel {
  border-radius: 48px;
  background: url(../../../Images/city-page/banner-bg.png) no-repeat center center;
  background-size: cover !important;
  padding: 80px 60px;
  margin: 0 auto;
  max-width: 95%;
}

/* Inner flex: left description | right form card */
.bbl-subscribe-wrap .subscribe-panel .container {
  max-width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  flex-direction: column;
}

.bbl-subscribe-wrap .bbl-cta-left p {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.bbl-subscribe-wrap .bbl-cta-left .bbl-cta-sub {
  color: rgba(255,255,255,0.80);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.bbl-subscribe-wrap .bbl-cta-card {
  width: 100%;
}


.bbl-subscribe-wrap .bbl-cta-card .subscribe-panel {
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  max-width: 100% !important;
}

.bbl-subscribe-wrap .bbl-cta-card .subscribe-panel .container {
  display: block;
  padding: 0;
  max-width: 100%;
}

.bbl-subscribe-wrap .bbl-cta-card .subscribe-panel > .container > p {
  display: none; /* hide partial's own intro text — we use our own */
}

.bbl-subscribe-wrap .bbl-cta-card h4 {
  color: #FF7200;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.bbl-subscribe-wrap .bbl-cta-card .bbl-card-sub {
  color: #333A3F;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  margin: 0 0 20px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

/* Form inputs inside card */
.bbl-subscribe-wrap .bbl-cta-card .subscribe-form {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bbl-subscribe-wrap .bbl-cta-card .subscribe-form .col1 {
  width: 100%;
  float: none;
}

.bbl-subscribe-wrap .bbl-cta-card .subscribe-form .col2 {
  width: 100%;
  float: none;
  clear: both;
}

.bbl-subscribe-wrap .bbl-cta-card .subscribe-form .col1 .form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  color: #333;
  height: auto;
  border-radius: 8px;
  border: 0.6px solid #CECECE;
  background: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.bbl-subscribe-wrap .bbl-cta-card .subscribe-form .col1 .form-control:focus {
  border-color: #FF7200;
  box-shadow: 0 0 0 3px rgba(255,114,0,0.15);
}

.bbl-subscribe-wrap .bbl-cta-card .subscribe-form .col1 .form-control::placeholder {
  color: rgba(51,58,63,0.55);
}


.bbl-subscribe-wrap .bbl-cta-card .subscribe-form .col2 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 4px;
  width: 100%;
  float: none;
  clear: both;
}

.bbl-subscribe-wrap .bbl-cta-card .subscribe-form .col2 #btnSubscribeSubmit {
  border-radius: 8px !important;
  background: #F37F21!important;
  color: #fff!important;
  border: none!important;
  padding: 15px 32px!important;
  font-size: 15px!important;
  font-weight: 600!important;
  font-family: "Plus Jakarta Sans", sans-serif!important;
  cursor: pointer!important;
  letter-spacing: 0.3px!important;
  line-height: 1 !important;
  text-transform: uppercase!important;
  transition: background 0.2s, box-shadow 0.2s!important;
  white-space: nowrap!important;
}

.bbl-subscribe-wrap .bbl-cta-card .subscribe-form .col2 #btnSubscribeSubmit:hover {
  background: transparent ;
  box-shadow: 0 4px 20px rgba(255, 114, 0, 0.50);
}

@media (max-width: 991px) {
  .bbl-subscribe-wrap .subscribe-panel {
    padding: 60px 32px;
    border-radius: 32px;
  }

  .bbl-subscribe-wrap .subscribe-panel .container {
    gap: 40px;
  }
  .bbl-subscribe-wrap .bbl-cta-card .subscribe-form{
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .bbl-subscribe-wrap {
    padding: 0 0 48px;
  }

  .bbl-subscribe-wrap .subscribe-panel {
    border-radius: 24px;
    padding: 40px 24px;
    max-width: 100%;
  }

  .bbl-subscribe-wrap .subscribe-panel .container {
    flex-direction: column;
    gap: 28px;
  }

  .bbl-subscribe-wrap .bbl-cta-left p {
    font-size: 22px;
  }

  .bbl-subscribe-wrap .bbl-cta-card {
    flex: 1 1 auto;
    width: 100%;
    padding: 24px 20px;
  }

  .bbl-subscribe-wrap .bbl-cta-card .subscribe-form .col2 #btnSubscribeSubmit {
    width: 100%;
    text-align: center;
  }
}
