/*--------------------------------------------------------------
# Font & Color Variables

--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #342c26; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2c1607; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #e96308; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}


/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f7f6;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}


/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* service list */
.service-card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 3px 10px rgba(0,0,0,0.08);
      padding: 25px;
      height: 100%;
      transition: 0.3s ease;
    }
    .service-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    }
    .service-card h4 {
      font-weight: 600;
      color: #000000;
      border-left: 4px solid #e96308;
      padding-left: 10px;
      margin-bottom: 15px;
    }
    .service-card ul {
      list-style: none;
      padding-left: 0;
      margin: 0;
    }
    .service-card ul li {
      padding: 6px 0;
      border-bottom: 1px solid #eee;
    }
    .service-card ul li:last-child {
      border-bottom: none;
    }
    .service-card ul li a {
      color: #000000;
      text-decoration: none;
      transition: color 0.3s ease;
    }
    .service-card ul li a:hover {
      color: #e96308;
    }

/* roofing */
    /* auto logo carousel styling */
    .logo-slide img {
      max-height: 60px;
      object-fit: contain;
      opacity: 0.95;
      filter: grayscale(0.05);
    }

    /* Top banner */
    .page-banner {
      background: var(--navy);
      color: #fff;
      padding: 44px 0;
      text-align: center;
    }
    .page-banner h2 {
      margin: 0;
      font-weight: 600;
      letter-spacing: 0.2px;
    }
    .breadcrumb-custom {
      color: rgba(255,255,255,0.85);
      font-size: 0.95rem;
      margin-top: 8px;
    }

    /* main container centered */
    .page-container {
      max-width: 1200px;
      margin: 32px auto;
      padding: 0 18px;
    }

    
    /* Modern Service Carousel */
    .service-card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .service-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
    .service-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    .service-card h5 {
      color: #000000;
      font-weight: 600;
      padding: 15px;
      text-align: center;
    }
    .carousel-control-prev, .carousel-control-next {
      width: 5%;
    }
    .carousel-control-prev-icon, .carousel-control-next-icon {
      background-color: #002b5c;
      border-radius: 50%;
      padding: 10px;
    }

    /* main content / sidebar layout */
    .service-wrap {
      display: grid;
      grid-template-columns: 1fr 360px; /* left flexible, right fixed-ish */
      gap: 28px;
    }

    /* white card for left content and right sidebar */
    .card-left, .card-right {
      background: #fff;
      border-radius: 8px;
      padding: 26px;
      box-shadow: 0 6px 24px rgba(16,24,40,0.06);
    }

    .card-left img.headerIimg {
      width: 100%;
      border-radius: 8px;
      object-fit: cover;
      margin-bottom: 18px;
    }

    .service-title {
      color: var(--accent);
      font-weight: 700;
      margin-bottom: 12px;
      font-size: 1.6rem;
    }

    .lead-text {
      color: #30343a;
      line-height: 1.75;
      margin-bottom: 18px;
    }

    .features-list li {
      margin-bottom: 10px;
    }

    .features-list li .small-desc {
      display: block;
      color: #555;
      font-size: 0.95rem;
      margin-top: 4px;
    }

    .section-heading {
      color: var(--accent);
      margin-top: 22px;
      margin-bottom: 12px;
      font-weight: 600;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 10px;
      margin-top: 12px;
    }
    .gallery-grid img {
      width: 100%;
      height: 100px;
      object-fit: cover;
      border-radius: 6px;
      box-shadow: 0 6px 14px rgba(18,24,30,0.04);
      transition: transform .25s ease;
    }
    .gallery-grid img:hover { transform: scale(1.03); }

    /* right sidebar styling */
    .card-right h6 {
      color: #fff;
      text-align: center;
      margin-bottom: 14px;
      letter-spacing: 0.2px;
    }
    .service-list .btn-cat {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      text-align: left;
      color: #000000;
      background: #fff;
      border-radius: 8px;
      padding: 9px 12px;
      margin-bottom: 8px;
      font-size: 0.95rem;
      border: none;
      box-shadow: 0 2px 10px rgba(2,6,23,0.06);
      transition: transform .18s ease, box-shadow .18s ease;
    }
    .service-list .btn-cat:hover {
      color: #e96308;
      transform: translateX(6px);
      box-shadow: 0 8px 24px rgba(2,6,23,0.08);
    }
    .service-list .btn-cat i {
      color: var(--accent);
      font-size: 1.05rem;
    }

    .tag-cloud {
      margin: 14px 0 20px;
    }
    .tag-cloud .tag {
      display: inline-block;
      margin: 6px 6px 0 0;
      padding: 6px 10px;
      background: rgba(255,255,255,0.12);
      color: #fff;
      border-radius: 18px;
      font-size: .86rem;
    }
    .thumb-gallery {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    .thumb-gallery img {
      width: calc(33.333% - 5px);
      height: 64px;
      object-fit: cover;
      border-radius: 6px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    .archive-list li {
      font-size: .95rem;
      color: rgba(255,255,255,0.95);
      margin-bottom: 8px;
    }

     .float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.my-float{
	margin-top:16px;
}
.img-fluid {max-width: 100%; height: auto;}

    /* responsiveness */
    @media(max-width: 1100px) {
      .service-wrap { grid-template-columns: 1fr 320px; }
    }

    @media(max-width: 900px) {
      .service-wrap { grid-template-columns: 1fr 300px; }
    }

    
    @media(max-width: 720px) {
      .service-wrap {
        grid-template-columns: 1fr;
      }
      .card-right {
        margin-top: 16px;
      }
      .card-right h6 { color: #06224b; } /* change heading color on light bg */
      .card-right { background: #fff; color: #222; }
      .tag-cloud .tag { background: #efefef; color: #222; }
      .service-list .btn-cat { background: #f8f9fb; color: #06224b; }
      .archive-list li { color: #333; }
    }

    /* small tweaks for printing */
    @media print {
      .card-right { display:none; }
    }

/* ---- Responsive Page Container ---- */
.page-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* LEFT + RIGHT WRAP */
.service-wrap {
    display: flex;
    gap: 25px;
}

/* LEFT CONTENT */
.card-left {
    width: 70%;
}

/* RIGHT SIDEBAR */
.card-right {
    width: 30%;
}

/* Make Images Fully Responsive */
.card-left img, 
.gallery-grid img,
.thumb-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Gallery Grid Responsive */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px,1fr));
    gap: 10px;
}

/* SERVICE CARDS */
.service-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .service-wrap {
        flex-direction: column;
    }
    .card-left,
    .card-right {
        width: 100%;
    }
}

@media (max-width: 576px) {
    h1, h3, h4 {
        font-size: 1.3rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card img {
        height: auto;
    }
}