/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/



@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;500;600;700&family=Roboto+Serif:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* H1: Poppins only */
html body h1 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
  
}
html{
	scroll-behavior: smooth;
}

/* Other Headings: Bricolage Grotesque */
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body [class*="brxe-heading"]:not(h1),
html body .bricks-heading:not(h1) {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
}
html body h2 strong,
html body h3 strong,
html body h4 strong,
html body h5 strong,
html body h6 strong,
html body h2 b,
html body h3 b,
html body h4 b,
html body h5 b,
html body h6 b,
html body [class*="brxe-heading"]:not(h1) strong,
html body [class*="brxe-heading"]:not(h1) b,
html body .bricks-heading:not(h1) strong,
html body .bricks-heading:not(h1) b {
  font-weight: 500 !important;
}


/* Paragraphs: Roboto Serif */
html body p,
html body [class*="brxe-text"],
html body .bricks-text {
  font-family: 'Roboto', serif !important;
  font-weight: 300 !important;
  line-height: 1.6;
}

/* Other inline text elements: match paragraph style */
html body li,
html body span,
html body a,
html body blockquote {
  font-family: 'Roboto', serif !important;
}

.hero-service-description p{
    font-size: 18px !important;
}


p {
  font-size: 16px;
  font-weight: 400 !important;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #d32027;           
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(211, 32, 39, .45); 
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(.8);
  transition: all .4s cubic-bezier(.16, 1, .3, 1);
  will-change: transform, opacity;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: #FFC107;      
  box-shadow: 0 8px 30px #ffc107;
  transform: translateY(-3px) scale(1.05);
}

.back-to-top:active {
  transform: translateY(0) scale(.95);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  transition: transform .3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
  animation: bounceArrow .6s ease infinite;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(-2px); }
  50%      { transform: translateY(-6px); }
}

.back-to-top:focus {
  outline: 3px solid rgba(211, 32, 39, .5);
  outline-offset: 3px;
}

.back-to-top:focus:not(:focus-visible) { outline: none; }
@media (max-width: 768px) {
  .back-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; }
  .back-to-top svg { width: 20px; height: 20px; }
}
@media (max-width: 480px) {
  .back-to-top { bottom: 15px; right: 15px; width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top, .back-to-top svg, .back-to-top:hover svg {
    transition: none; animation: none;
  }
}


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

html, body {
  font-family: 'Poppins', sans-serif !important;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

/* Base heading sizes for desktop > 1150px */
h1 { font-size: 56px !important; }
h2 { font-size: 40px !important; }
h3 { font-size: 24px ; }
h4 { font-size: 22px !important; }
h5 { font-size: 20px !important; }

/* ↓ At 1150px ↓ */
@media (max-width: 1150px) {
  h1 { font-size: 54px !important; }
  h2 { font-size: 36px !important; }
  h3 { font-size: 24px !important; }
  h4 { font-size: 22px !important; }
  h5 { font-size: 18px !important; }
}

/* ↓ At 901px ↓ */
@media (max-width: 991px) {
  h1 { font-size: 42px !important; }
  h2 { font-size: 34px !important; }
  h3 { font-size: 22px !important; }
  h4 { font-size: 20px !important; }
  h5 { font-size: 16px !important; }
}

/* ↓ At 768px ↓ */
@media (max-width: 768px) {
  h1 { font-size: 36px !important; }
  h2 { font-size: 32px !important; }
  h3 { font-size: 22px !important; }
  h4 { font-size: 18px !important; }
  h5 { font-size: 14px !important; }
}

/* ↓ At 480px ↓ */
@media (max-width: 480px) {
  h1 { font-size: 32px !important; }
  h2 { font-size: 26px !important; }
  h3 { font-size: 20px !important; }
  h4 { font-size: 16px !important; }
  h5 { font-size: 12px !important; }
}



/* Custom CSS for all native WordPress Table Blocks */
.wp-block-table table, 
.wp-block-table th, 
.wp-block-table td {
    /* Ensures borders are visible and collapsed cleanly */
    border: 1px solid #333 !important; 
    border-collapse: collapse;
}

/* Optional: Adds space inside the cells for readability */
.wp-block-table th, 
.wp-block-table td {
    padding: 10px;
}


