/* =============================
   FOOTER SECTION (cbs-footer-*)
   ============================= */
/* Root wrapper */


/* =========================================================
   CBS Floating WhatsApp Button + Always-Visible Bubble
   ========================================================= */
/* =========================================================
   CBS Floating WhatsApp Button + Left Speech Bubble
   ========================================================= */

/* Wrapper button */
.cbs-whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 62px;
  height: 62px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  text-decoration: none;
  animation: cbs-whatsapp-bounce 2.5s infinite;
}

/* Font Awesome WhatsApp icon */
.cbs-whatsapp-icon {
  font-size: 34px;
  color: #ffffff;
  line-height: 1;
}

/* === Speech bubble (LEFT of icon) === */
.cbs-whatsapp-bubble {
  position: absolute;
  right: 74px;              /* space from button */
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  color: #111111;
  padding: 8px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

/* Bubble arrow (pointing right) */
.cbs-whatsapp-bubble::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
}

/* Hover polish (optional) */
.cbs-whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* Bounce animation */
@keyframes cbs-whatsapp-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .cbs-whatsapp-float {
    animation: none;
  }
}

/* Mobile tweak */
@media (max-width: 480px) {
  .cbs-whatsapp-bubble {
    font-size: 12px;
    padding: 7px 12px;
    right: 70px;
  }
}






/* =========================
   Glazing Services (glz-*)
   ========================= */

.glz-services {
  --glz-bg: #000;
  --glz-card-bg: #0b1020;
  --glz-card-border: rgba(255, 255, 255, 0.06);
  --glz-accent: #f1592a;
  --glz-accent-soft: rgba(241, 89, 42, 0.12);
  --glz-text-main: #ffffff;
  --glz-text-muted: #9ca3af;

  padding: 4rem 1.5rem;
  background: #000;
  color: var(--glz-text-main);
}

.glz-services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.glz-services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.glz-services-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--glz-accent-soft);
  color: var(--glz-accent);
}

.glz-services-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin: 1rem 0;
  background: linear-gradient(to right, #fff, var(--glz-accent), #65b1f3);
  -webkit-background-clip: text;
  color: transparent;
}

.glz-services-subtitle {
  max-width: 620px;
  margin: 0.5rem auto;
  color: var(--glz-text-muted);
  font-size: 1rem;
}

/* ---- 3 Column Grid ---- */
.glz-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .glz-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .glz-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Card ---- */
.glz-service-card {
  background: #161616;
  border: 1px solid #333333;
  padding: 1.4rem;
  border-radius: 18px;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

.glz-service-card:hover {
  transform: translateY(-6px);
  border-color: #66b2f4;
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.55);
}

/* ---- Image ---- */
.glz-service-img-wrapper {
  width: 100%;
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.glz-service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Titles ---- */
.glz-service-title {
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  color: #f3f4f6;
}

.glz-service-text {
  color: var(--glz-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

/* ---- List ---- */
.glz-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.glz-service-list li {
  font-size: 0.9rem;
  color: var(--glz-text-main);
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.glz-service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--glz-accent);
  font-size: 1.1rem;
}





/* Root footer wrapper */
.footer-headings1 { margin: 0 0 2px 0;
    font-size: 20px;
    font-weight: 900;
color: #ffffff;}

.cbsf-footer-lower-text {
	padding-top:18px; color: #898989;
}

.cbsf-footer {
  background: #151414;
  color: #ffffff;
  position: relative;
  padding-top: 3rem;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Top CTA strip */
.cbsf-footer-cta {
  border-bottom: 1px solid #373636;
  padding: 1.5rem 0 2rem;
}

.cbsf-footer-cta-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.cbsf-footer-cta-icon {
  font-size: 30px;
  color: #ff5e14;
  margin-right: 12px;
  margin-top: 4px;
}

.cbsf-footer-cta-text h4 {
  margin: 0 0 2px 0;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

.cbsf-footer-cta-text span {
  font-size: 15px;
  color: #757575;
}

/* Main footer area */
.cbsf-footer-main {
  padding: 3rem 0 2rem;
}

.cbsf-footer-block {
  margin-bottom: 2rem;
}

/* Logo & text */
.cbsf-footer-logo img {
  max-width: 200px;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.cbsf-footer-text {
  font-size: 14px;
  line-height: 1.8;
  color: #7e7e7e;
  margin: 0;
}

/* Section headings */
.cbsf-footer-heading {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 1.75rem;
  color: #ffffff;
  position: relative;
}

.cbsf-footer-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 50px;
  height: 2px;
  background: #ff5e14;
}

/* Links list */
.cbsf-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cbsf-footer-links li {
  width: 50%;
  float: left;
  margin-bottom: 0.75rem;
}

.cbsf-footer-links a {
  font-size: 14px;
  color: #878787;
  text-decoration: none;
  text-transform: capitalize;
  transition: color 0.3s ease;
}

.cbsf-footer-links a:hover {
  color: #ff5e14;
}

/* Social icons */
.cbsf-footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cbsf-footer-social a {
  text-decoration: none;
}

.cbsf-footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  display: inline-block;
}

/* Social background colours */
.cbsf-footer-facebook {
  background: #3b5998;
}
.cbsf-footer-x {
  background: #fff;
  color: #000;
}
.cbsf-footer-linkedin {
  background: #0a66c2;
}
.cbsf-footer-nextdoor {
  background: #1b8751;
}

/* Bottom bar */
.cbsf-footer-bottom {
  background: #202020;
  padding: 1.3rem 0;
  border-top: 1px solid #2a2a2a;
}

.cbsf-footer-bottom-text {
  margin: 0;
  font-size: 14px;
  color: #878787;
}

/* Bottom menu */
.cbsf-footer-menu {
  text-align: right;
}

.cbsf-footer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cbsf-footer-menu-list li {
  display: inline-block;
  margin-left: 20px;
}

.cbsf-footer-menu-list a {
  font-size: 14px;
  color: #878787;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cbsf-footer-menu-list li:hover a {
  color: #ff5e14;
}

/* Clear floats in links column */
.cbsf-footer-links::after {
  content: "";
  display: block;
  clear: both;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .cbsf-footer-links li {
    width: 100%;
  }

  .cbsf-footer-menu {
    text-align: center;
    margin-top: 0.75rem;
  }

  .cbsf-footer-menu-list li {
    margin-left: 12px;
    margin-right: 12px;
  }
}

@media (max-width: 575.98px) {
  .cbsf-footer {
    padding-top: 2.5rem;
  }

  .cbsf-footer-cta {
    padding-bottom: 1.25rem;
  }

  .cbsf-footer-main {
    padding-top: 2.25rem;
    padding-bottom: 1.5rem;
  }
}





/* The Flash Animation - Purely Visual, no layout shift */
@keyframes flashOnce {
    0% { opacity: 1; color: inherit; }
    50% { opacity: 1; color: #f1592a; } /* Flashes to orange/faint */
    100% { opacity: 1; color: inherit; }
}
		
.flash-text {
    /* inline ensures no line-height or width shifts occur */
    display: inline; 
    animation-iteration-count: 1;
    animation-duration: 1.2s;
    animation-fill-mode: forwards; font-weight: 800;
}

/* Staggered Timings */
.area-1 { animation-name: flashOnce; animation-delay: 3s; }
.area-2 { animation-name: flashOnce; animation-delay: 4s; }
.area-3 { animation-name: flashOnce; animation-delay: 5s; }
.area-4 { animation-name: flashOnce; animation-delay: 6s; }
.area-5 { animation-name: flashOnce; animation-delay: 7s; }
.area-6 { animation-name: flashOnce; animation-delay: 8s; }
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

:root {
  --cbs-orange: #ff6600;
  --cbs-black: #1a1a1a;
}


.cbs-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
  color: var(--cbs-black);
}

.cbs-services-grid-on-white {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0px 20px;
  font-family: 'Poppins', sans-serif;
  color: var(--cbs-black);
}

/* Header Styling: Orange text with line and circle underneath */
.service-header {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: var(--cbs-orange); /* Orange Text */
  position: relative;
  padding-bottom: 12px;
  display: block; background-color: none;
}

/* The orange line and circle */
.service-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--cbs-orange); /* Horizontal Line */
}

.service-header::before {
  content: "";
  position: absolute;
  bottom: -4px; /* Centered on the 2px line */
  right: 0;
  width: 10px;
  height: 10px;
  background-color: var(--cbs-orange);
  border-radius: 50%; /* Makes it a circle */
  z-index: 2;
}

.tick-list {
  list-style: none;
  padding: 0;
  margin: 0; color: #fff;
}



.tick-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background-image: url('../img/list-tick.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.tick-list-on-white {
  list-style: none;
  padding: 0;
  margin: 0; color: #000;
}
.tick-list-on-white li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px; 
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
max-width: 300px;
width: 100%;
}

.tick-list-on-white li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background-image: url('../img/list-tick-on-white.png');
  background-size: contain;
  background-repeat: no-repeat;
}

/* =========================
   Responsiveness
   ========================= */

/* Tablet */
@media (max-width: 1024px) {
  .cbs-services-grid,
  .cbs-services-grid-on-white {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .cbs-services-grid,
  .cbs-services-grid-on-white {
    grid-template-columns: repeat(2, 1fr); /* 2 wide on mobile */
    gap: 20px;
  }
}

	
		

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
	
	
	
	
	
	
	
	
	
	
	
	:root {
  --brand-orange: #ff6600;
  --brand-black: #1a1a1a;
}

.services-container {
  padding: 50px 20px;
  background: #f4f4f4;
  text-align: center;
}

.section-title {
  margin-bottom: 40px;
  font-family: sans-serif;
  color: var(--brand-black);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card flip base */
.service-card {
  background-color: transparent;
  height: 350px;
  perspective: 1000px; /* Essential for 3D effect */
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-card:hover .card-inner {
  transform: rotateY(180deg);
}

/* Front & Back positioning */
.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* Hides back when front is showing */
  border-radius: 8px;
  overflow: hidden;
}

.card-front {
  background-color: white;
  color: var(--brand-black);
}

.card-front img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-front h3 {
  padding: 15px;
  border-top: 4px solid var(--brand-orange);
}

.card-back {
  background-color: var(--brand-black);
  color: white;
  transform: rotateY(180deg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sub-list {
  text-align: left;
  font-size: 0.9em;
  color: #ccc;
  list-style: square;
  padding-top: 10px;
}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
/* 1. Wrapper setup */
.scroll-wrapper {
  text-align: center;      /* Centers text and inline-block children */
  padding: 40px 0;         /* Provides spacing around the element */
  width: 100%;             /* Ensures it spans the width of the container */
  background: transparent; /* Allows it to sit over other backgrounds */
  overflow: hidden;        /* Prevents animation from causing scrollbars */
}

/* 2. Text Bouncing Animation */
.scroll-text {
  font-family: sans-serif;
  color: #000;          /* Change color as needed */
  font-size: 18px; font-weight: 700;  
  margin-bottom: 15px;
  display: block;
  animation: bounce 2s infinite ease-in-out;
}

/* 3. Arrow Styling */
.arrows {
  display: flex;
  flex-direction: column;
  align-items: center;     /* Centers the stack of arrows */
}

.arrows span {
  display: block;
  width: 15px;
  height: 15px;
  border-bottom: 2px solid #f1592a; /* Arrow color */
  border-right: 2px solid #f1592a;
  transform: rotate(45deg);
  margin: -8px;            /* Tightens the spacing between arrows */
  animation: arrow-flow 2s infinite;
}

/* Delaying each arrow for the downward flow effect */
.arrows span:nth-child(2) { animation-delay: -0.2s; }
.arrows span:nth-child(3) { animation-delay: -0.4s; }

/* 4. Animations */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

@keyframes arrow-flow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-10px, -10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(10px, 10px);
  }
}
	
	
	




























/* =========================
   Root & Base Styles
   ========================= */
:root {
  --primary-color: #000000;
  --accent-color: #f1592a;
  --highlight-color: #65b1f3;
  --bg-body: #ffffff;
  --text-dark: #000000;
  --text-muted: #475569;
  --radius-md: 12px;
  --radius-lg: 24px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px;
}





/* =========================
   Navbar
   ========================= */
   
   
   
   
   
   
   
   
   
   
   /* =========================
   Navbar (Global)
   ========================= */
.navbar {
  padding: 1rem 0;
  background: var(--primary-color) !important;
  transition: all 0.3s ease;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.navbar-brand span {
  color: var(--highlight-color);
}

.nav-link {
  font-weight: 500;
  color: #ffffff !important;
  margin-left: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* =========================
   Mobile-style navbar (≤ 1500Px)
   ========================= */
@media (max-width: 1400px) {

  /* Layout */
  .navbar-nav {
    align-items: flex-start !important;
    text-align: left;
    width: 100%;
    padding-top: 25px;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link {
    margin-left: 0;
    padding-left: 34px;
    text-align: left;
    position: relative;
  }

  /* Remove desktop underline animation */
  .nav-link::after {
    display: none !important;
  }

  /* Buttons inside mobile nav */
  .navbar-nav .btn {
    width: 100%;
    margin-left: 0;
    padding-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    gap: 8px;
  }

  .navbar-nav .btn i {
    font-size: 16px;
    line-height: 1;
  }

  /* =========================
     Mobile nav icons
     ========================= */
  .navbar-nav .nav-link::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--accent-color);
  }

  /* Home */
  .navbar-nav .nav-link[href="./"]::before,
  .navbar-nav .nav-link[href="/"]::before {
    content: "\f015";
  }

  /* 24/7 Emergency Repairs */
  .navbar-nav .nav-link[href*="247-emergency-repairs"]::before {
    content: "\f06d";
  }

  /* Building / Construction */
  .navbar-nav .nav-link[href*="construction"]::before {
    content: "\f6e3";
  }

  /* Windows / Glazing (Brands icon) */
  .navbar-nav .nav-link[href*="windows-glazing"]::before {
    content: "\f17a";
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
  }

  /* Trades */
  .navbar-nav .nav-link[href*="trades"]::before {
    content: "\f5aa";
  }

  /* Contact link override */
  .navbar-nav a[href*="contact"]::before {
    color: #ffffff;
  }
}












/* =========================
   Buttons
   ========================= */
.btn-primary-custom {
  background-color: #f1592a;
  border-color: var(--accent-color);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(241, 89, 42, 0.3);
}


.btn-primary-custom:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(241, 89, 42, 0.3);
}

.btn-emergency {
  background-color: #f1592a;
  color: #000000;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-emergency:hover {
  background-color: #d94e24;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(241, 89, 42, 0.3);
}

/* =========================
   Headings & Text
   ========================= */

/* H1 shimmer */


h1 {
		line-height: 1.3;
	margin-bottom: 1.5rem; 
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	isplay: inline-block;
	animation: textShimmer 3s linear infinite;
	font-weight: 700;

	}




.shimmer-on-black {
	background: linear-gradient(to right, #fff 20%, #f1592a 50%, #fff 80%);
	color: #fff;
	background-size: 200% auto;
	background-clip: text;
}


.shimmer-on-white {
	background: linear-gradient(to right, #000 20%, #f1592a 50%, #000 80%);
	color: #000;
	background-size: 200% auto;
	background-clip: text;

}











/* H2–H5 orange label style */

/* Target all headings h2-h5 */
h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cbs-orange);
  position: relative;
  padding-bottom: 8px; /* Adjusted spacing */
  margin-bottom: 25px;
  
  /* CRITICAL CHANGE: shrink to text width */
  display: inline-block; 
}

/* Header Hierarchy sizes */
h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }

/* The horizontal orange line */
h2::after, h3::after, h4::after, h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%; /* Now stays identical to text width */
  height: 2px;
  background-color: var(--cbs-orange);
}

/* The circle on the right side */
h2::before, h3::before, h4::before, h5::before {
  content: "";
  position: absolute;
  bottom: -4px; 
  right: -5px; /* Pulls circle slightly outside end of text for better balance */
  width: 10px;
  height: 10px;
  background-color: var(--cbs-orange);
  border-radius: 50%;
  z-index: 2;
}

/* White accent override for specific h5 */
h5.h5-white-accent {
 color: #fff;
}


h5.h5-white-accent::before,
h5.h5-white-accent::after {
  background-color: #ffffff;
}






@keyframes textShimmer {
  to {
    background-position: 200% center;
  }
}

.text-highlight {
  color: var(--highlight-color);
  font-weight: 800;
}

.text-highlight-bluebg {
  display: inline-block;
  background-color: #65b1f3;
  padding: 3px 7px;       /* 2px vertical, a little horizontal breathing room */
  border-radius: 6px;     /* rounded corners */
  color: #fff;        /* readable text */
  line-height: 1.2;
	font-weight: 600;
}

.text-highlight-orangebg {
  display: inline-block;
  background-color: #d94e24;
  padding: 3px 7px;       /* 2px vertical, a little horizontal breathing room */
  border-radius: 6px;     /* rounded corners */
  color: #fff;        /* readable text */
  line-height: 1.2;
	font-weight: 600;
}
















.badge {
  color: #000000 !important;
}

/* =========================
   Hero & Sections
   ========================= */
.hero {
  padding: 6rem 0 4rem;
  background: #ffffff;
  position: relative;
  margin-bottom: 2rem;
  overflow: hidden;
}
.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}
.hero-img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);

  
  max-width: 100%;
  height: auto;
  display: block;
  
  
  
}



.section-padding {
  padding: 4rem 0;
  background: #ffffff;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

/* =========================
   Service Cards & Lists
   ========================= */

/* Simple service card (icon + list) */
.service-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-color);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: #f1f5f9;
  color: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.icon-box.emergency {
  background: #fee2e2;
  color: #ef4444;
}
.icon-box.construction {
  background: #ffedd5;
  color: #f97316;
}
.icon-box.glazing {
  background: #e0f2fe;
  color: #0ea5e9;
}
.icon-box.trades {
  background: #dcfce7;
  color: #16a34a;
}

.service-card ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}
.service-card ul li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}
.service-card ul li i {
  margin-right: 10px;
  color: var(--accent-color);
}

/* Image-based service cards */
.service-item-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}
.service-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.service-item-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #f1f5f9;
}
.service-item-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Custom list inside cards */
.service-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}
.service-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #475569;
}



.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background-image: url('../img/list-tick-on-white.png');
  background-size: contain;
  background-repeat: no-repeat;
}













/* NOTE: you had a weird \f00c char – leave as-is if using Font Awesome */
/* .service-list li::before { ... } */

/* =========================
   Trade Banner Cards
   ========================= */
.trade-banner-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  color: #ffffff;
  margin-bottom: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.trade-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.trade-banner-card:hover img {
  transform: scale(1.05);
}
.trade-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  z-index: 2;
}
.trade-banner-card h4 {
  background-color: var(--accent-color);
  color: #000000;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  font-size: 1.1rem;
}

/* =========================
   Parallax Sections
   ========================= */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 0;
}

/* Content box overlay */
.content-box {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  opacity: 1;
}

.content-box.dark-mode {
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
}
.content-box.dark-mode h2,
.content-box.dark-mode h3 {
  background: transparent;
  padding: 0;
  color: var(--accent-color);
}
.content-box.dark-mode p,
.content-box.dark-mode li {
  color: #e2e8f0;
}



/* Background images */
.bg-hero {
  background-image: url('../img/fire-home-securing.png');
}

.bg-windows {
  background-image: url('../img/bg-windows.png');
}



.bg-emergency {
  background-image: url('https://images.unsplash.com/photo-1517646287300-9e909562dc62?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}
.bg-construction {
  background-image: url('https://images.unsplash.com/photo-1600596542815-6ad4c727dd2d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}
.bg-glazing {
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}
.bg-trades {
  background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}
.bg-areas {
  background-image: url('https://images.unsplash.com/photo-1534008897965-345042d76171?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

/* Feature list grid */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}
.feature-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.content-box.dark-mode .feature-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.feature-list li strong {
  color: var(--accent-color);
}

/* =========================
   Footer
   ========================= */
footer {
  background: var(--primary-color);
  color: #ffffff;
  margin-top: auto;
  border-top: 5px solid var(--accent-color);
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}
.footer-logo span {
  color: var(--highlight-color);
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--accent-color);
}

/* =========================
   Floating AI Button & Bubble
   ========================= */
.ai-float-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-ai-float {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  background: linear-gradient(135deg, #65b1f3 0%, #3b82f6 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-ai-float:hover {
  transform: scale(1.1);
}

/* Black bubble with blue shimmer */
.ai-bubble {
  background: #000000;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease 2s backwards;
}
.ai-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(101, 177, 243, 0.6),
    transparent
  );
  animation: shimmer 3s infinite;
}
.ai-bubble::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #000000;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}


/* =========================
   Responsive
   ========================= */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 0 3rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .parallax-section {
    background-attachment: scroll; /* Mobile parallax fix */
  }
  .content-box {
    margin: 1rem;
    padding: 2rem;
  }
  /* Hide bubble text on mobile, keep button */
  .ai-bubble {
    display: none;
  }
  
}






/* ===== FORCE services grid to 2 columns on mobile ===== */
@media (max-width: 768px) {
  .cbs-services-grid,
  .cbs-services-grid-on-white {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}





/* Mobile override: solid background instead of image */
@media (max-width: 768px) {
  .bg-hero {
    background-image: none !important;
    background-color: #f1592a;
  }
}






/* Overlays should not capture taps/clicks */
.bg-hero::before,
.bg-hero::after {
  pointer-events: none;
}








/* Force toggler visibility to match "mobile under 1400px" */
@media (max-width: 1399px) {
  .navbar .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .navbar .navbar-collapse {
    width: 100%;
  }
}

@media (min-width: 1400px) {
  .navbar .navbar-toggler {
    display: none !important;
  }
}



/* Restore Bootstrap hamburger icon */
.navbar .navbar-toggler {
  border: 1px solid rgba(255,255,255,0.35);
  padding: .5rem .75rem;
  background-color: #ffffff; /* your existing */
}

.navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(241, 89, 42, 0.35);
}

/* The actual icon */
.navbar .navbar-toggler-icon {
  background-image: var(--bs-navbar-toggler-icon-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

/* If your navbar is dark, ensure Bootstrap knows it (gives a visible icon) */
.navbar {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}



/* Desktop (≥ 1400px): no mobile icons / no mobile padding */
@media (min-width: 1400px) {
  .navbar-nav .nav-link {
    padding-left: 0 !important;
  }

  .navbar-nav .nav-link::before {
    content: none !important;
    display: none !important;
  }
}
