/* =========================================================
   1. BASE RESET + GLOBAL STYLES
   ========================================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background: #ffffff;
    color: #111;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

ul {
    list-style: none;
}

.hidden {
    display: none !important;
}

/* =========================================================
   2. WHATSAPP FLOAT + PULSE
   ========================================================= */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: whatsappPulse 2.8s infinite;
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    animation: none;
}

@keyframes whatsappPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 90px;
        right: 16px;
    }
}

/* =========================================================
   3. SHARED LAYOUT BOXES (SEO / CONTENT / FAQ)
   ========================================================= */

.content-box, 
.seo-box {
    max-width: 1100px;
    margin: 50px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.seo-box { max-width: 900px; } /* Slightly narrower for readability */

.content-box .faq {
    margin-top: 40px;
    border-top: 1px solid #e6e6e6;
    padding-top: 30px;
}

@media (max-width: 768px) {
    .content-box, .seo-box {
        padding: 25px 20px;
        margin: 30px 15px;
    }
}

/* =========================================================
   4. CONTACT PAGE STYLES
   ========================================================= */

.contact-hero {
    background: linear-gradient(180deg, #0057ff, #003bbd);
    color: #fff;
    text-align: center;
    padding: 60px 20px 50px;
}

.contact-hero h1 { font-size: 36px; margin-bottom: 10px; }
.contact-hero p { font-size: 18px; opacity: 0.95; }

.contact-card {
    max-width: 620px;
    margin: -40px auto 80px;
    background: #fff;
    padding: 40px 32px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0057ff;
}

.contact-btn {
    width: 100%;
    padding: 16px;
    border-radius: 999px;
    border: none;
    background: #16a34a;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-btn:hover { background: #22c55e; }

.contact-trust {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 640px) {
    .contact-card {
        margin: -30px 14px 60px;
        padding: 30px 22px;
    }
}

/* =========================================================
   5. MISC / UTILITIES
   ========================================================= */

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 12px;
}

.footer-social .social-icon img {
    width: 22px;
    height: 22px;
    transition: transform 0.2s ease;
}

.footer-social .social-icon img:hover {
    transform: translateY(-3px);
}

/* Ensures specific page footers maintain brand color */
.page-guide footer,
.page-borough footer {
    background: #0b1735 !important;
}
h1 {
    font-size: 2.5rem;
}
/* =========================================================
   ULEZ INTERNAL LINKING (HUB + BOROUGH GRID)
   Paste into base.css (bottom)
   ========================================================= */

/* --------- Tools Hub (cards) --------- */
.ulez-links-hub{
  max-width: 1100px;
  margin: 50px auto;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0));
}

.ulez-links-hub .hub-head{
  text-align: center;
  margin-bottom: 18px;
}

.ulez-links-hub .hub-head h2{
  font-size: 28px;
  margin: 0 0 8px;
}

.ulez-links-hub .hub-head p{
  margin: 0 auto;
  max-width: 720px;
  opacity: 0.9;
  font-size: 16px;
}

.ulez-links-hub .hub-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.ulez-links-hub .hub-card{
  display: flex;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ulez-links-hub .hub-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.ulez-links-hub .hub-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.05);
  font-size: 20px;
  flex: 0 0 auto;
}

.ulez-links-hub .hub-content h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.ulez-links-hub .hub-content p{
  margin: 0 0 10px;
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.4;
}

.ulez-links-hub .hub-cta{
  font-weight: 800;
  font-size: 14px;
}

/* Responsive hub */
@media (max-width: 1024px){
  .ulez-links-hub .hub-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px){
  .ulez-links-hub{
    margin: 36px 16px;
    padding: 18px;
  }
  .ulez-links-hub .hub-head h2{ font-size: 22px; }
  .ulez-links-hub .hub-grid{ grid-template-columns: 1fr; }
}


/* --------- Borough section inside seo-box --------- */
.ulez-boroughs .seo-header{
  text-align: center;
  margin-bottom: 14px;
}

.ulez-boroughs .seo-intro{
  max-width: 760px;
  margin: 0 auto;
  opacity: 0.9;
}

/* A–Z quick jump */
.ulez-az{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 18px 0 26px;
}

.ulez-az-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0,0,0,0.06);
  text-decoration: none;
  font-weight: 900;
  color: #111;
  transition: transform 0.15s ease;
}

.ulez-az-link:hover{
  transform: translateY(-1px);
}

.ulez-az-section{
  margin-top: 22px;
}

.ulez-az-title{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  opacity: 0.9;
}

/* Borough grid */
.ulez-borough-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ulez-borough-card{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ulez-borough-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.12);
}

.ulez-borough-name{
  font-weight: 900;
  font-size: 14px;
  color: #111;
}

.ulez-borough-cta{
  font-weight: 800;
  font-size: 13px;
  opacity: 0.85;
}

.ulez-borough-empty{
  opacity: 0.35;
  padding: 10px 0;
}

/* Responsive borough grid */
@media (max-width: 900px){
  .ulez-borough-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px){
  .ulez-borough-grid{ grid-template-columns: 1fr; }
}