/*
Theme Name:     DC Roofing Brevard
Theme URI:      https://www.corprosystems.com
Description:    Kadence child theme.
Author:         CorproSystems
Author URI:     https://www.corprosystems.com
Template:       kadence
Version:        0.1.0
*/
a,
a:hover,
a:focus {
  text-decoration: none;
}
.wp-block-paragraph{
    
    margin-bottom: 10px !important;
    line-height: 1.65;
}

/* General heading spacing */
h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-heading {
    margin-top:5px !important;
	padding:0 !important;
}
/* Kadence menu button */
.main-navigation .menu-green-button > a,
.mobile-navigation .menu-green-button > a,
.header-navigation .menu-green-button > a {
    background: #8dc63f !important;
    color: #ffffff !important;
    border-radius: 10px;
    padding: 12px 22px !important;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none !important;
}

/* Hover */
.main-navigation .menu-green-button > a:hover,
.mobile-navigation .menu-green-button > a:hover,
.header-navigation .menu-green-button > a:hover {
    background: #7ab52f !important;
    color: #ffffff !important;
}
/* Mobile - center the Call Us Today menu button */
@media (max-width: 1024px) {
    .mobile-navigation .menu-green-button,
    .popup-drawer .menu-green-button {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
        text-align: center;
        margin: 14px 0;
    }

    .mobile-navigation .menu-green-button > a,
    .popup-drawer .menu-green-button > a {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: auto !important;
        min-width: 180px;
        min-height: 46px;
        margin: 0 auto !important;
        text-align: center;
        white-space: nowrap;
    }
}
/* END Kadence menu button */
/*==========Card Start========*/
/* Contact Cards Row */
.contact-card-row .kt-row-column-wrap {
    gap: 28px;
    align-items: stretch;
}

/* Individual Cards */
.contact-card {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 32px 28px 30px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Optional hover effect */
.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.16);
}

/* Center everything inside the card */
.contact-card .kt-inside-inner-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Icon circle */
.contact-card .wp-block-kadence-icon,
.contact-card .kb-svg-icon-wrap {
    margin-bottom: 18px;
}

.contact-card .kb-svg-icon-wrap {
    width: 64px;
    height: 64px;
    background: #7ac943;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon SVG */
.contact-card .kb-svg-icon-wrap svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
    fill: #ffffff;
}

/* Card heading */
.contact-card h2,
.contact-card h3,
.contact-card h4 {
    color: #7ac943;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 18px;
}

/* Body text */
.contact-card p {
    color: #222222;
    font-size: 16px;
    line-height: 1.45;
    margin: 0 0 22px;
    max-width: 320px;
}

/* Phone number */
.contact-card a[href^="tel"],
.contact-card strong,
.contact-card .contact-phone {
    color: #7ac943;
    font-size: 23px;
    font-weight: 700;
    text-decoration: none;
}

/* Phone hover */
.contact-card a[href^="tel"]:hover {
    color: #62aa32;
}
/* Contact Card Icon Circle */
.contact-card-icon {
    width: 64px;
    height: 64px;
    background: #7ac943;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

/* Icon SVG */
.contact-card-icon svg {
    width: 28px;
    height: 28px;
    fill: #ffffff !important;
    color: #ffffff !important;
}
/* Tablet */
@media (max-width: 1024px) {
    .contact-card-row .kt-row-column-wrap {
        gap: 22px;
    }

    .contact-card {
        padding: 28px 22px;
    }

    .contact-card h2,
    .contact-card h3,
    .contact-card h4 {
        font-size: 23px;
    }

    .contact-card a[href^="tel"],
    .contact-card strong,
    .contact-card .contact-phone {
        font-size: 21px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .contact-card-row .kt-row-column-wrap {
        gap: 22px;
    }

    .contact-card {
        padding: 30px 22px;
    }

    .contact-card .kb-svg-icon-wrap {
        width: 60px;
        height: 60px;
    }

    .contact-card h2,
    .contact-card h3,
    .contact-card h4 {
        font-size: 24px;
    }
}
/*==========Card End===========*/
/* =========================================================
   Custom Recent Posts + Appointment CTA Widget
   ========================================================= */

/* Main wrapper */
.custom-sidebar-widget-wrap {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

/* Recent posts box */
.custom-recent-posts-widget {
    background: #fdf0f0;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Recent posts heading */
.custom-recent-posts-heading {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    padding-bottom: 22px;
    margin-bottom: 6px;
    border-bottom: 1px solid #d8d8d8;
    color: #000000;
}

/* Recent post row */
.custom-recent-post-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

/* Thumbnail wrapper */
.custom-recent-post-thumb {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    overflow: hidden;
    border-radius: 4px;
}

/* Thumbnail image */
.custom-recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Post title */
.custom-recent-post-title {
    font-size: 16px;
    line-height: 1.45;
    font-weight: 400;
    color: #000000;
}

/* Hover effect */
.custom-recent-post-item:hover .custom-recent-post-title {
    text-decoration: underline;
}

/* Appointment CTA card */
.custom-appointment-cta-widget {
    min-height: 500px;
    border-radius: 8px;
    overflow: hidden;
    background-image: url("https://corpro.ca/wp-content/uploads/2026/06/David-and-Colleen-With-Their-Childrens.jpg");
    background-size: cover;
    background-position: center center;
    position: relative;
}

/* Dark overlay */
.custom-appointment-cta-overlay {
    min-height: 500px;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 34px 30px;
}

/* CTA content */
.custom-appointment-cta-content {
    text-align: center;
    color: #ffffff;
    max-width: 360px;
}

/* CTA heading */
.custom-appointment-cta-content h3 {
    color: #ffffff;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 14px;
}

/* CTA paragraph */
.custom-appointment-cta-content p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.45;
    margin: 0;
}

/* Divider line */
.custom-appointment-cta-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.65);
    margin: 26px 0 12px;
}

/* CTA button */
.custom-appointment-cta-button {
    display: inline-block;
    background: #8dc63f;
    color: #ffffff !important;
    padding: 16px 30px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    min-width: 190px;
}

/* CTA button hover */
.custom-appointment-cta-button:hover {
    background: #7ab52f;
    color: #ffffff !important;
    text-decoration: none;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .custom-recent-posts-widget {
        padding: 26px;
    }

    .custom-recent-posts-heading {
        font-size: 24px;
    }

    .custom-appointment-cta-widget,
    .custom-appointment-cta-overlay {
        min-height: 500px;
    }

    .custom-appointment-cta-overlay {
        padding: 30px 24px;
    }
}

/* =========================================================
   End Custom Recent Posts + Appointment CTA Widget
   ========================================================= */

/* AJAX Load More wrapper */
.custom-blog-pagination {
    text-align: center;
    margin: 50px 0 20px;
}

/* AJAX Load More button */
.kadence-load-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #8dc63f;
    color: #ffffff;
    padding: 14px 34px;
    border: none;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
    transition: all 0.25s ease;
}

.kadence-load-more-button:hover {
    background: #111111;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.kadence-load-more-button:disabled,
.kadence-load-more-button.is-loading {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}
/* Load More button below blog archive */
.custom-blog-pagination {
    text-align: center;
    margin: 50px 0 20px;
}

.custom-blog-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #8dc63f;
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
    transition: all 0.25s ease;
}

.custom-blog-pagination a:hover {
    background: #111111;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.custom-load-more-location {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 50px 0 70px;
    text-align: center;
}

.kadence-load-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #8dc63f;
    color: #ffffff;
    padding: 14px 34px;
    border: none;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
    transition: all 0.25s ease;
}

.kadence-load-more-button:hover {
   background: #111111;
    color: #ffffff;
    transform: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
 
}
/* Blog archive card styling */
#archive-container,
#archive-container .entry-list-item {
    overflow: visible !important;
}

/* Give the card room for shadow and hover lift */
#archive-container .entry-list-item {
    padding: 12px;
}

/* Blog archive card styling */
#archive-container .entry-list-item article.loop-entry {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Card hover effect */
#archive-container .entry-list-item article.loop-entry:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18) !important;
}

/* Make featured image fill card nicely */
#archive-container .post-thumbnail {
    display: block;
    overflow: hidden;
}

#archive-container .post-thumbnail img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

#archive-container .entry-list-item article.loop-entry:hover .post-thumbnail img {
    transform: scale(1.04);
}

/* Inner text spacing */
#archive-container .entry-content-wrap {
    padding: 24px 24px 28px;
}

/* Category style */
#archive-container .entry-taxonomies a {
    color: #8dc63f;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}

/* Blog title */
#archive-container .entry-title {
    margin-top: 8px;
    margin-bottom: 12px;
    line-height: 1.2;
}

#archive-container .entry-title a {
    color: #111111;
    font-size: clamp(21px, 2vw, 26px);
    font-weight: 800;
    text-decoration: none;
}

#archive-container .entry-title a:hover {
    color: #8dc63f;
}

/* Date/meta */
#archive-container .entry-meta {
    font-size: 14px;
    color: #777777;
    margin-bottom: 14px;
}

/* Excerpt */
#archive-container .entry-summary p {
    color: #444444;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Read more button */
#archive-container .post-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #8dc63f;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
}

#archive-container .post-more-link:hover {
    background: #111111;
    color: #ffffff !important;
}
.blog-hero {
    background-image: url('/wp-content/uploads/2026/06/Metal-Roofing-2.webp');
    background-size: cover;
    background-position: center;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
}

.blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.blog-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.blog-hero h1 {
    color: #fff;
    font-size: clamp(36px, 5vw, 64px);
    margin: 0;
}
/*** END BLOG**/
.single-content figure.wp-block-image{
	margin-bottom:0px !important;

}
/* Reduce space only when H2 follows a paragraph */
.entry-content p + h2.wp-block-heading {
    margin-top: 0px;
}
/* Kadence single post featured image - full width, 400px height */
.single-post .post-thumbnail.article-post-thumbnail {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

.single-post .post-thumbnail.article-post-thumbnail .post-thumbnail-inner {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.single-post .post-thumbnail.article-post-thumbnail img.post-top-featured {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center center;
    display: block;
}
/* Overlay */
.single-post .post-thumbnail.article-post-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
    z-index: 2;
}
@media (max-width: 767px) {
    .single-post .post-thumbnail.article-post-thumbnail .post-thumbnail-inner,
    .single-post .post-thumbnail.article-post-thumbnail img.post-top-featured {
        height: 260px;
    }
}
h1.entry-title{
	font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
  font-weight: 700;
}
.two-max-width .info-card {
  max-width: 600px;
}

/* ---------- Areas Section ---------- */
.areas-section {
  padding: 55px 20px 60px;
}

.areas-container {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}

.areas-container h2 {
  font-size: 30px;
  line-height: 1.2;
  color: #111111;
  font-weight: 700;
  margin: 0 0 22px;
}

.areas-underline {
  width: 150px;
  height: 4px;
  background: #8dc63f;
  margin: 0 auto 24px;
}

.areas-intro {
  max-width: 1000px;
  margin: 0 auto 42px;
  font-size: 16px;
  line-height: 1.6;
  color: #222222;
}

/* ---------- Grid ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.area-box {
  min-height: 70px;
  border-radius: 8px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  text-align: left;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 700;
}

.area-box.green {
  background: #8dc63f;
}

.area-box.dark {
  background: #1f1f1f;
}

.area-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  margin-right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.area-icon svg {
  width: 100%;
  height: 100%;
  fill: #ffffff;
  display: block;
}

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

  .area-box {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .areas-section {
    padding: 45px 16px;
  }

  .areas-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .area-box {
    min-height: 64px;
    font-size: 21px;
    padding: 16px 20px;
  }

  .areas-container h2 {
    font-size: 27px;
  }

  .areas-intro {
    font-size: 15px;
    margin-bottom: 32px;
  }
}
/* ---------- Kadence Equal Height Fix ---------- */
.wp-block-kadence-rowlayout .kt-row-column-wrap {
  align-items: stretch !important;
}

.wp-block-kadence-column {
  display: flex !important;
  height: auto !important;
}

.wp-block-kadence-column > .kt-inside-inner-col {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
}

/* ---------- Info Card ---------- */
.info-card {
  background: #ffffff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  max-width: 410px;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

/* ---------- Image Area ---------- */
.info-card-image-link {
  display: block;
  text-decoration: none;
  flex-shrink: 0;
}

.info-card-image {
  position: relative;
  overflow: hidden;
  height: 250px;
  flex-shrink: 0;
}

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

/* Overlay */
.info-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  opacity: 1;
  transition: background 0.4s ease;
}

/* Hover zoom */
.info-card:hover .info-card-image img {
  transform: scale(1.08);
}

.info-card:hover .info-card-image::after {
  background: rgba(0, 0, 0, 0.38);
}

/* ---------- Content ---------- */
.info-card-content {
  text-align: center;
  padding: 36px 35px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.info-card-content h3 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #1f2933;
  font-weight: 700;
}

.info-card-content p {
  font-size: 16px;
  line-height: 1.55;
  color: #222222;
  margin: 0 0 28px;
}

/* ---------- Button ---------- */
.info-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8dc63f;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 34px;
  border-radius: 50px;
  margin-top: auto;
  align-self: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.info-card-button:hover {
  background: #7ab52f;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .wp-block-kadence-column {
    display: block !important;
  }

  .wp-block-kadence-column > .kt-inside-inner-col {
    display: block !important;
    height: auto !important;
  }

  .info-card {
    min-height: auto;
    height: auto;
  }

  .info-card-image {
    height: 230px;
  }
}
.same-size-img {
  text-align: center;
}

.same-size-img img {
  width: 260px;
  max-width: 100%;
  height: auto;
  display: inline-block;
}
.match-4-column-spacing .kt-row-column-wrap {
  display: flex !important;
  justify-content: center;
  gap: 24px;
}

.match-4-column-spacing .wp-block-kadence-column {
  flex: 0 0 calc((100% - 72px) / 4);
  max-width: calc((100% - 72px) / 4);
}
@media (max-width: 767px) {
  .match-4-column-spacing .kt-row-column-wrap {
    display: block !important;
  }

  .match-4-column-spacing .wp-block-kadence-column {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin-bottom: 24px;
  }

  .match-4-column-spacing .wp-block-kadence-column:last-child {
    margin-bottom: 0;
  }
}
.green-underline-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.green-underline-heading::after {
  content: "";
  display: block;
  width: 75%;
  height: 5px;
  background: #8dc63f;
  margin-top: 12px;
}
.kt-row-column-wrap{
	padding-top:50px;
	padding-bottom:50px;
}
.wp-block-button .call-button-black {
  background: #000000;
  color: #fff;
	 display: inline-flex;
  align-items: center;
  gap: 8px;

  border-radius: 30px;
  padding: 15px 35px;
  text-decoration: none;
  line-height: 1;
}
.overlap-image-wrap {
  position: relative;
  max-width: 650px;
  margin: 0 auto;
}

.overlap-main-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.overlap-front-image {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 45%;
  z-index: 2;
}

.overlap-front-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Give space so the lower image doesn't get cut off */
.overlap-image-wrap {
  padding-right: 40px;
  padding-bottom: 40px;
}

@media (max-width: 768px) {
  .overlap-front-image {
    right: 15px;
    bottom: -25px;
    width: 48%;
  }

  .overlap-image-wrap {
    padding-right: 0;
    padding-bottom: 35px;
  }
}
.header-button,
.mobile-header-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px;
}

.header-button::before,
.mobile-header-button::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  background-color: currentColor;
  flex-shrink: 0;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3l49.3-40.3c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3l49.3-40.3c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
/* Add space at top of footer so the CTA has room */
.site-footer,
footer {
  
}

/* ---------- Footer CTA Wrapper ---------- */
.footer-cta-wrap {
  position: relative;
  z-index: 20;
  max-width: 1200px;
  margin: -80px auto 0;
  padding: 0 20px;

  /* Move CTA downward into the footer */
  transform: translateY(30%);
}

/* ---------- CTA Card ---------- */
.roofing-cta-card {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 5px;
  background: #8dc63f;
  max-width: 1200px;
  position: relative;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
}

/* Fade up end state */
.roofing-cta-card.is-visible {
  opacity: 1;
  transform: translateY(60);
}

/* ---------- Text Side ---------- */
.roofing-cta-content {
  width: 50%;
  padding: 40px 35px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.roofing-cta-content h2 {
  color: #ffffff;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  margin: 0 0 25px;
  font-weight: 700;
}

.roofing-cta-content p {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 35px;
  max-width: 620px;
}

.roofing-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  background: #14141f;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  padding: 18px 32px;
  border-radius: 50px;
}

.roofing-cta-button:hover {
  background: #000000;
  color: #ffffff;
}

/* ---------- Image Side ---------- */
.roofing-cta-image {
  width: 50%;
}

.roofing-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .footer-cta-wrap {
    margin: 0 auto -40px;
    padding: 0 16px;
  }

  .roofing-cta-card {
    flex-direction: column;
    transform: translateY(120px);
  }

  .roofing-cta-content,
  .roofing-cta-image {
    width: 100%;
  }

  .roofing-cta-content {
    padding: 35px 25px;
  }

  .roofing-cta-content h2 {
    font-size: clamp(28px, 8vw, 38px);
  }
}
/* Footer Kadence icon lists - icon color */
.site-footer .kt-svg-icon-list-single,
.site-footer .kt-svg-icon-list-single svg {
  color: #8DC63F !important;
  stroke: #8DC63F !important;
}

/* Handles filled SVG icons too */
.site-footer .kt-svg-icon-list-single svg path,
.site-footer .kt-svg-icon-list-single svg polygon,
.site-footer .kt-svg-icon-list-single svg line,
.site-footer .kt-svg-icon-list-single svg polyline,
.site-footer .kt-svg-icon-list-single svg circle {
  stroke: currentColor;
}

/* Footer icon list text */
.site-footer .kt-svg-icon-list-text,
.site-footer .kt-svg-icon-list-text a {
  color: #ffffff !important;
}

/* Optional: keep links white on hover */
.site-footer .kt-svg-icon-list-text a:hover {
  color: #8DC63F !important;
}
/* Hover overlay for WP/Kadence gallery */
.roof-gallery-hover .wp-block-image {
  position: relative;
  overflow: hidden;
}

/* Make the link/image fill the image area */
.roof-gallery-hover .wp-block-image > a {
  position: relative;
  display: block;
  overflow: hidden;
}

/* Image */
.roof-gallery-hover .wp-block-image img {
  display: block;
  width: 100%;
  transition: transform 0.35s ease;
}

/* Dark overlay */
.roof-gallery-hover .wp-block-image > a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

/* Center text */
.roof-gallery-hover .wp-block-image > a::after {
  content: "View Project";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
  z-index: 3;
  pointer-events: none;
}

/* Hover effects */
.roof-gallery-hover .wp-block-image:hover > a::before,
.roof-gallery-hover .wp-block-image:hover > a::after {
  opacity: 1;
}

.roof-gallery-hover .wp-block-image:hover > a::after {
  transform: translateY(0);
}

.roof-gallery-hover .wp-block-image:hover img {
  transform: scale(1.05);
}
.white-card {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 6px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  padding: 28px 25px 42px;
  align-items: flex-start !important;
  text-align: left !important;
  overflow: hidden;
  border-bottom: none;
  height: 100%;
  transition: box-shadow 0.4s ease;
}
.white-card .service-info-icon {
  margin-bottom: 10px !important;
  align-self: flex-start !important;
}

.white-card .service-info-icon svg {
  width: 58px !important;
  height: 58px !important;
  display: block;
  fill: #8dc63f !important;
}

.white-card .service-info-icon svg path,
.white-card .service-info-icon svg * {
  fill: #8dc63f !important;
}
.white-card .service-info-icon {
  margin-bottom: 15px !important;
}

.white-card h3 {
  width: 100%;
  margin-top: 0 !important;
  margin-bottom: 15px;
  text-align: left !important;
}

.white-card p {
  width: 100%;
  text-align: justify !important;
  margin-bottom: 24px;
}

.white-card .service-info-icon {
  align-self: flex-start !important;
}
.white-card:hover {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  border-bottom-color: #8dc63f;
}

.white-card .service-info-icon {
  align-self: flex-start;
  margin-bottom: 20px;
}

.white-card:hover {
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14);
  border-bottom-color: #8dc63f;
}
.white-card h3,
.white-card p {
  color: #222222 !important;
}
.menu-toggle-icon {
  color: #fff !important;
}
/* Hamburger icon */
.menu-toggle-icon {
  color: #fff !important;
}
.why-card-grid-wrap {
  position: relative;
}

.why-card-grid-wrap .center-ribbon-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  margin: 0;
  pointer-events: none;
}

.why-card-grid-wrap .center-ribbon-image img {
  width: 125px;
  max-width: 22vw;
  height: auto;
  display: block;
}

.why-card-grid-wrap .white-card {
  position: relative;
  z-index: 2;
}


.why-card-grid-wrap .wp-block-columns:last-of-type {
  margin-bottom: 0;
}

.why-card-grid-wrap .wp-block-column {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
@media (max-width: 767px) {
  .why-card-grid-wrap .center-ribbon-image {
    display: none !important;
  }
}
/* Mobile drawer menu links */
#mobile-site-navigation a,
#mobile-menu a {
  color: #fff !important;
}

/* Current/active mobile menu link */
#mobile-site-navigation .current-menu-item > a,
#mobile-menu .current-menu-item > a {
  color: #ffffff !important;
}

/* Hover/focus */
#mobile-site-navigation a:hover,
#mobile-site-navigation a:focus,
#mobile-menu a:hover,
#mobile-menu a:focus {
  color: #8dc63f !important;
}
/* Inner content layout for each service info card */
.service-info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.service-info-icon {
  margin-bottom: 20px;
}

.service-info-icon svg {
  width: 48px;
  height: 48px;
  fill: #8dc63f;
  display: block;
}

.service-info-card h3 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 15px;
  color: #222222;
}

.service-info-card p {
  font-size: 16px;
  line-height: 1.55;
  color: #444444;
  margin: 0 0 18px;
}

.service-read-more {
  color: #8dc63f !important;
  text-decoration: none !important;
  font-weight: 600;
  margin-top: auto;
}

.service-read-more:hover,
.service-read-more:focus {
  color: #8DC63F !important;
  text-decoration: none !important;
}

/* Mobile */
@media (max-width: 767px) {
  .service-info-icon svg {
    width: 40px;
    height: 40px;
  }

  .service-info-card h3 {
    font-size: 22px;
  }

  .service-info-card p {
    font-size: 15px;
    line-height: 1.5;
  }
}
.wp-block-button .wp-block-button__link.call-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #8dc63f;
  color: #fff;
  border-radius: 30px;
  padding: 15px 35px;
  text-decoration: none;
  line-height: 1;
}

.wp-block-button .wp-block-button__link.call-button:hover,
.wp-block-button .wp-block-button__link.call-button:focus {
  background: #8DC63F;
  color: #fff;
}

.wp-block-button .wp-block-button__link.call-button .call-button-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
.welcome-heading {
  display: flex;
  align-items: center;
  gap: 10px;
        color:#ffffff;
}
.welcome-heading-2 {
  justify-content: flex-start;
  gap: 10px;
  color: #ffffff;
  text-align: left;
  width: 100%;
}
.who-we-are {
  display: flex;
  align-items: center;
  gap: 10px;
        color:#000 !important;
}

.welcome-heading-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  fill: #8dc63f;
  flex-shrink: 0;
}
.rotating-service-heading {
  text-align: left;
  line-height: 1.15;
  margin: 0;
font-size: clamp(1.91rem, 4.59vw, 3.825rem);
}

.heading-main {
  display: block;
  color: #fff;
}

.rotating-location {
  display: block;
  position: relative;
  color: #8dc63f;
  height: 1.2em;
  overflow: hidden;
  margin-top: 8px;
}

.rotating-location span {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  white-space: nowrap;
  animation: rotateLocation 18s infinite;
}

.rotating-location span:nth-child(1) {
  animation-delay: 0s;
}

.rotating-location span:nth-child(2) {
  animation-delay: 3s;
}

.rotating-location span:nth-child(3) {
  animation-delay: 6s;
}

.rotating-location span:nth-child(4) {
  animation-delay: 9s;
}

.rotating-location span:nth-child(5) {
  animation-delay: 12s;
}

.rotating-location span:nth-child(6) {
  animation-delay: 15s;
}

@keyframes rotateLocation {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  5%,
  15% {
    opacity: 1;
    transform: translateY(0);
  }

  20%,
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}
/* ==============================
   Service Cards Overlay Section
   ============================== */

.service-card-row {
  margin-top: -150px;
  position: relative;
  z-index: 5;
}

/* Force a clean 3-column grid with real row spacing */
.service-card-row > .kt-row-column-wrap {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px 30px !important;
  align-items: stretch;
}

/* Keep the Kadence columns as layout containers only */
.service-card-row .wp-block-kadence-column {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* The actual card styling happens inside the column */
.service-card-row .wp-block-kadence-column > .kt-inside-inner-col {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 35px 25px;
  text-align: center;
  overflow: hidden;
  border-bottom: 5px solid transparent;
  height: 100%;

  opacity: 0;
  transform: translateY(60px);

  transition:
    opacity 1.1s ease,
    transform 1.1s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

/* When JavaScript adds cards-visible */
.service-card-row.cards-visible .wp-block-kadence-column > .kt-inside-inner-col {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger first row */
.service-card-row.cards-visible .wp-block-kadence-column:nth-child(1) > .kt-inside-inner-col {
  transition-delay: 0.05s;
}

.service-card-row.cards-visible .wp-block-kadence-column:nth-child(2) > .kt-inside-inner-col {
  transition-delay: 0.15s;
}

.service-card-row.cards-visible .wp-block-kadence-column:nth-child(3) > .kt-inside-inner-col {
  transition-delay: 0.25s;
}

/* Stagger second row */
.service-card-row.cards-visible .wp-block-kadence-column:nth-child(4) > .kt-inside-inner-col {
  transition-delay: 0.45s;
}

.service-card-row.cards-visible .wp-block-kadence-column:nth-child(5) > .kt-inside-inner-col {
  transition-delay: 0.60s;
}

.service-card-row.cards-visible .wp-block-kadence-column:nth-child(6) > .kt-inside-inner-col {
  transition-delay: 0.75s;
}

/* Hover effect */
.service-card-row.cards-visible .wp-block-kadence-column:hover > .kt-inside-inner-col {
  transform: translateY(0);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14);
  border-bottom-color: #8dc63f;
}

/* Card headings */
.service-card-row h2,
.service-card-row h3,
.service-card-row h4,
.service-card-row .kt-blocks-info-box-title {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #222222;
}

/* Paragraph text */
.service-card-row p,
.service-card-row .kt-blocks-info-box-text {
  font-size: 16px;
  line-height: 1.55;
  color: #444444;
}

/* Icons */
.service-card-row svg,
.service-card-row .kt-info-svg-icon,
.service-card-row .kadence-info-box-icon-inner-container {
  color: #8dc63f;
  fill: #8dc63f;
}

/* Links */
.service-card-row a {
  color: #8dc63f !important;
  text-decoration: none !important;
  font-weight: 500;
}

.service-card-row a:hover,
.service-card-row a:focus {
  color: #8DC63F !important;
  text-decoration: none !important;
}
/* First card always has green bottom line */
.service-card-row .wp-block-kadence-column:first-child > .kt-inside-inner-col {
  border-bottom-color: #8dc63f;
}
/* ==============================
   Tablet
   ============================== */

@media (max-width: 1024px) {
  .service-card-row {
    margin-top: -110px;
  }

  .service-card-row > .kt-row-column-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 25px !important;
  }

  .service-card-row .wp-block-kadence-column > .kt-inside-inner-col {
    padding: 30px 22px;
  }

  .service-card-row h2,
  .service-card-row h3,
  .service-card-row h4,
  .service-card-row .kt-blocks-info-box-title {
    font-size: 23px;
  }

  .service-card-row p,
  .service-card-row .kt-blocks-info-box-text {
    font-size: 15px;
  }
}

/* ==============================
   Mobile
   ============================== */

@media (max-width: 767px) {
  .service-card-row {
    margin-top: -60px;
  }

  .service-card-row > .kt-row-column-wrap {
    grid-template-columns: 1fr;
    gap: 22px !important;
  }

  .service-card-row .wp-block-kadence-column > .kt-inside-inner-col {
    padding: 28px 20px;
    transform: translateY(40px);
  }

  .service-card-row.cards-visible .wp-block-kadence-column > .kt-inside-inner-col {
    transform: translateY(0);
  }

  .service-card-row.cards-visible .wp-block-kadence-column:hover > .kt-inside-inner-col {
    transform: translateY(0);
  }

  .service-card-row h2,
  .service-card-row h3,
  .service-card-row h4,
  .service-card-row .kt-blocks-info-box-title {
    font-size: 22px;
  }

  .service-card-row p,
  .service-card-row .kt-blocks-info-box-text {
    font-size: 15px;
    line-height: 1.5;
  }
}
/* Keep 3 counters in one row on mobile */
@media (max-width: 767px) {
  .mobile-counter-row .kb-count-up-number {
    font-size: 32px !important;
    line-height: 1.1;
  }

  .mobile-counter-row .kb-count-up-title {
    font-size: 12px;
    line-height: 1.2;
  }


  .mobile-counter-row .kb-count-up-title {
    font-size: 18px !important;
    line-height: 1.15 !important;
  }
}
/* Mobile: allow the two main Kadence sections to stack */
@media (max-width: 767px) {
  .kt-row-column-wrap.kt-has-2-columns {
    flex-wrap: wrap;
  }

  .kt-row-column-wrap.kt-has-2-columns > .wp-block-kadence-column {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
	  .welcome-heading {
    font-size: 19px !important;
    line-height: 1.2 !important;
    gap: 6px;
  }

  .welcome-heading-icon {
    width: 19px;
    height: 19px;
    min-width: 19px;
  }
}
@media (max-width: 768px) {
  .rotating-service-heading {
    text-align: left;
    font-size: 2.2rem;
  }

  .rotating-location {
    height: 1.3em;
  }

  .rotating-location span {
    white-space: normal;
  }
}
