.service_img img{
    
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
    border-radius: 16px;
}
.service_img{
    width: 65%;
    padding: 1rem;
}

.service_txt{
    
    width:  40%;
    padding: 1rem;
    height: auto;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}
.service_section{
    
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.container{
    width: 70%;
    max-width: 1200px;     /* or any preferred width */
    margin: 0 auto;        /* centers the container */
    padding: 0 20px;       /* optional: adds spacing inside the container */
    display: flex;
    justify-content: space-between;  /* or space-around */
    align-items: flex-start;         /* or center */
    gap: 2rem; 
}

/* .service_section:nth-child(even) {
  flex-direction: row-reverse;
} */

.service_txt p{
    text-align: justify;
}
.custom_button {
    background-color: #219ebc;      /* Primary color */
    color: white;
    border: none;
    padding: 12px 30px;            /* Wider width */
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    display: block;
    margin: 20px auto;             /* Center the button */
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .custom_button:hover {
    background-color: #023047;     /* Cream color */
    color: #219ebc;
    border: 1px solid #023047;
  }


  /* About Us Styles*/

  .about-us {
    background-image: url('tile-pattern.svg'); /* Or woodgrain/blueprint SVG */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 60px 20px;
    color: #222;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .overlay-pattern {
    background-color: rgba(255, 255, 255, 0.9); /* soft overlay for readability */
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }
  
  .about-container h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .about-container ul {
    padding-left: 20px;
    line-height: 1.8;
  }
  
  .contact-info {
    margin-top: 20px;
    font-weight: bold;
  }

  ul {
    list-style: none;
    padding-left: 0; /* optional: removes default indentation */
  }

  /* OurProjects background pattern styles:*/

  .floating-icon {
    position: absolute;
    width: 120px;
    height: 120px;
    background-size: contain;
    background-repeat:no-repeat;
    opacity: 0.75;
    z-index: 0;
    
  }
  .projectspage{
   
    background-image: url('./houserenovation.png');
    background-repeat: repeat;
    background-size: 160px 160px; /* Resize each tile */
    background-position: center;
    opacity: 1;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
  }
  /* .homerenovation {
    background-image: url('./houserenovation.png');
    top: 10%;
    left: 5%;
    transform: rotate(30deg);
  }
 /* Centering the container */
/* .projectwrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; 
    padding: 20px;
    box-sizing: border-box;
  } */
  .projectwrapper {
    min-height: 100vh;       /* ✅ allows content to grow */
    overflow: visible;       /* ✅ lets upper content show */
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about-us{
    background-image: url('./houserenovation.png');
    background-repeat: repeat;
    background-size: 160px 160px; /* Resize each tile */
    background-position: center;
    opacity: 1;
    margin: 0;
    padding: 60px 40px;
    min-height: 100vh;
  }
  
  /* The inner square/box */
  .projectcontainer, .overlay-pattern {
    width: 80%;
    max-width: 1000px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.85); /* Creamy-white with opacity */
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(2px); /* Optional: glassy effect */
  }

  .filter-buttons {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .filter-btn {
    background-color: orange;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
  }
  
  .filter-btn:hover, .filter-btn.active {
    background-color: #f5f5dc; /* cream */
    color: orange;
    border: 1px solid orange;
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* Only two columns */
    gap: 30px;
    justify-content: center;
    
    margin-top: 30px; /* moderate spacing */
    /* position: relative; */
  }
  
  .project-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .carousel {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .carousel img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .carousel img.active {
    opacity: 1;
    position: relative;
  }
  
  .carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    font-size: 18px;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 50%;
  }
  
  .carousel .prev { left: 10px; }
  .carousel .next { right: 10px; }


  .image-wrapper {
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
}

/* Header styles */
header {
  background-color: #002244;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #ff7b00;
}

/* Navigation */
.navbar ul {
  display: flex;
  list-style: none;
}

.navbar li {
  margin-left: 2rem;
}

.navbar a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color:  #cc5500;
  
}

/* Hamburger menu (hidden on desktop) */
.menu-toggle {
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: #fff;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .navbar.active {
    display: block;
  }

  .navbar ul {
    flex-direction: column;
    padding: 1rem;
  }

  .navbar li {
    margin: 1rem 0;
  }

  .menu-toggle {
    display: block;
  }
}

header{
  margin-bottom: 1rem;
}



.banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: auto;
  display: block;
}

.banner-link {
  position: absolute;
  bottom: 20px;
  left: 30px;
  color: white;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.banner-link:hover {
  background-color: rgba(255, 165, 0, 0.8); /* orange on hover */
  color: #fff;
}


h1, h2 {
      color: #1a1a1a;
    }

    h1 span {
      color: #ff6600;
    }

    .highlight {
      font-weight: bold;
      color: #333;
    }

    ul {
      padding-left: 20px;
    }

    .section {
      /* background-color: white; */
      /* padding: 30px; */
      /* border-radius: 10px; */
      /* box-shadow: 0 0 15px rgba(0,0,0,0.1); */
      margin-bottom: 30px;
      max-width: 1035px;
      margin-left: 10px;
      margin-right: 10px;

    }

    .contact {
      font-size: 1.1em;
      margin-top: 20px;
    }

    .emoji {
      font-size: 1.3em;
      margin-right: 8px;
    }

    .homeBody{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      /* background-color: #002244;; */
    }
    .columns{
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      max-width: 1035px;
    }