/* -------------------------------------------------
   GLOBAL
-------------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  font-family: "Proxima Nova", Montserrat, sans-serif;
  background-color: #ffffff;
  color: #001d51;

  /* Makes text cleaner + smoother */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Makes layout behave consistently */
  box-sizing: border-box;
}

/* Apply box-sizing to everything */
*, *::before, *::after {
  box-sizing: inherit;
}

.section-padding {
  padding: clamp(40px, 6vw, 80px);
}
img {
  max-width: 100%;
  height: auto;
}

/* Utility */
.blue-bg {
    background-color:#121d47;
    color: #ffffff;
}
h1, h2, h3 {
    font-weight: 300;
    letter-spacing: 0.5px;
}


/* -------------------------------------------------
   HEADER + NAV
-------------------------------------------------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;         /* Vertically center items */
    padding: 5px 60px;          /* Half of previous padding (was 20px top/bottom) */
    background-color:#121d47;
}


/* Logo */
header .logo {
    width: 140px;                /* Fixed logo width */
    height: auto;                /* Maintain aspect ratio */
    flex: 0 0 auto;              /* Do not grow or shrink */
}

/* Navigation */
header nav {
    flex: 1;                     /* Take remaining space */
    display: flex;
    justify-content: flex-end;   /* Push links to the right */
    gap: 24px;                    /* Space between links */
    align-items: center;         /* Vertically center links */
}

/* Nav links */
header nav a {
    position: relative;
    display: inline-block;
    padding: 6px 0;              /* Half of previous top/bottom padding */
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(16px, 2vw, 20px); /* Responsive font size */
    line-height: 1;              /* Prevent extra spacing */
    -webkit-tap-highlight-color: transparent;
}

/* Sweep underline */
header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 260ms cubic-bezier(.2,.9,.3,1);
}

/* Hover animation */
header nav a:hover::after,
header nav a:focus::after {
    transform: scaleX(1);
}

header nav a:hover,
header nav a:focus {
    opacity: 0.95;
}

/* -------------------------------------------------
   HERO SECTION
-------------------------------------------------- */

.hero-full {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .hero-full img {
    width: 100%;
    height: auto;
    display: block; /* removes unwanted gaps */
  }

/* ------- HERO SECTION ------- */

.hero {
    position: relative;
    height: 50vh;
    background: url('carpentry-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-hardscape {
    background: url('hardscape-hero.jpg') center/cover no-repeat;
  }
  
  .hero-overlay {
    background-color:#121d47;
    padding: 40px 60px;
    text-align: center;
    color: white;
    border-radius: 12px;
  }
  
  .hero h1 {
    font-size: 52px;
    margin-bottom: 10px;
  }
  
  .hero p {
    font-size: 20px;
  }
  
  /* ------- TWO COLUMN SECTIONS ------- */
  
  .two-col {
    display: flex;
    padding: clamp(60px, 8vw, 100px) clamp(24px, 6vw, 60px);
    gap: 60px;
    align-items: center;
  }
  
  .two-col.reverse {
    flex-direction: row-reverse;
  }
  
  .two-col img {
    width: 50%;
    height: auto;
    border-radius: 12px;
  }
  
  .two-col .text {
    width: 50%;
  }
  
  .two-col .text h2 {
    font-size: 32px;
    margin-bottom: 12px;
  }
  
  .two-col .text p {
    font-size: 18px;
    line-height: 1.6;
  }
  
  /* ------- FOOTER ------- */
  
  footer {
    background-color:#ffffff;
    text-align: center;
  }
  
/* -------- SERVICES SECTION -------- */

/* Services Page Layout */
.services-page {
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 80px;
    max-width: 1200px;
    margin: auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.service-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.service-box img {
    width: 60px;
    height: auto;
    margin-bottom: 16px;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #001d51;
    color: #ffffff;
    padding: 12px 0;
    border-radius: 6px;
    min-width: 160px;
}

.dropdown-content a {
    color: #ffffff;
    padding: 12px 16px;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}


.services-section {
    background-color:#121d47;
    padding: clamp(60px, 8vw, 100px) clamp(24px, 6vw, 60px);
    color: rgb(0, 0, 0);
  }
  
  .services-section h2 {
    font-size: 44px;
    margin-bottom: 40px;
    color: #ffffff;
  }
  
  /* Grid Layout */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  
  /* Service Cards */
  .service-card {
    background: white;
    color: #001d51;
    padding: 40px 30px;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 2px solid transparent;

    display: flex;              /* NEW — turn into flex container */
    flex-direction: column;     /* NEW — vertical layout */
    justify-content: space-between; /* spreads icon top + title bottom */
}
  
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 6px 18px rgba(0,0,0,0.1);
  }
  
  .service-icon {
    font-size: 42px;
    margin-bottom: 20px;
    opacity: 0.85;
  }
  .service-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 100px;
    display: block;
  }
  
  .service-card h3 {
    margin-top: auto;   /* pushes title to bottom */
    font-size: 24px;
    color: #000000;
    font-weight: 600;
}

  

/* -------------------------------------------------
   PROJECTS SECTION
-------------------------------------------------- */
/* -------------------------------------------------
   PROJECTS SECTION (REWRITE)
-------------------------------------------------- */

/* -------------------------------------------------
   PROJECTS SECTION (FINAL REWRITE)
-------------------------------------------------- */

.projects-section {
  background-color: #ffffff;
  padding: 100px 60px;
  color: #000000;
  position: relative; /* ADD THIS LINE */
}

.projects-section h2 {
  font-size: 44px;
  font-weight: 300;
  margin-bottom: 30px;
  color: #000000;
}

/* Container for all project cards - Use flex for baseline alignment */
.projects-grid {
  display: flex;
  gap: 30px; /* Maintains the 30px space between each project item */
  
  /* Allow horizontal scrolling and hide the default scrollbar */
  overflow-x: scroll; 
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding-bottom: 20px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.projects-grid::-webkit-scrollbar {
  display: none;
}

/* Individual Project Card/Item */
.project-item {
  /* Fixed width is KEY for spacing consistency */
  flex: 0 0 380px;
  position: relative;
  cursor: pointer;
  text-align: left;
}



.project-image-container img {
  /* Key change: maintains aspect ratio, will not crop */
  object-fit: contain; 
  /* Max height and width ensure the image fits within the container */
  max-height: 100%; 
  max-width: 100%; 
  display: block;
  border-radius: 2px;
}
.project-image-container img {
  transition: transform 0.3s ease; /* smooth scaling */
}

/* NEW: When the mouse hovers over the project card, zoom the image */
.project-item:hover .project-image-container img {
  /* Scale the image up by 5% (1.05) */
  transform: scale(1.05);
}
.project-image-container {
  position: relative;
  width: 100%;
  /* Must have fixed height for the zoom effect to work correctly */
  height: 400px; 
  margin-bottom: 10px;
  
  /* Alignment to push the image to the bottom-left */
  display: flex; 
  justify-content: flex-start; 
  align-items: flex-end; 
  
  /* *** CRITICAL FIX: Hides the zoomed portion outside the box *** */
  overflow: hidden; 
}

.project-title {
  font-size: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #000000;
  margin: 0;
  padding: 0;
}

/* -------------------------------------------------
   PROJECTS SECTION - ARROW STYLING UPDATE
-------------------------------------------------- */

/* Navigation Arrows (Positioned over images/container) */
.project-arrow {
  position: absolute;
  top: 50%; /* Center vertically */
  transform: translateY(-50%);
  
  /* Updated Styling for Light Grey Square Look */
  background: rgba(220, 220, 220, 0.7); /* Light Grey Fill (DCDCDC is light grey) */
  color: #000000; /* Black arrow symbol for contrast */
  border: none;
  padding: 0;
  width: 40px; 
  height: 40px; 
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px; 
  line-height: 40px;
  text-align: center;
  z-index: 20; 
  transition: background 0.2s, opacity 0.2s;
}

.project-arrow:hover {
  background: rgba(190, 190, 190, 0.9); /* Darker grey on hover */
}

/* Positioning remains the same */
.project-arrow.left {
  left: 10px;
}

.project-arrow.right {
  right: 10px;
}
/* -------------------------------------------------
   ABOUT PAGE
-------------------------------------------------- */


.about-section {
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-section img {
    width: 100%;
}

.about-text {
    font-size: 20px;
    line-height: 1.6;
}

.lower-about {
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.lower-about img {
    width: 100%;
}

.lower-text {
    font-size: 20px;
    line-height: 1.6;
}


/* -------------------------------------------------
   MISSION SECTION (Image + Text)
-------------------------------------------------- */

.mission-section {
  /* Use the blue background color */
  background-color: #121d47;
  color: #ffffff;
  padding: clamp(60px, 8vw, 100px) clamp(24px, 6vw, 60px);
  
  /* Setup a two-column grid */
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  
  /* *** KEY CHANGE HERE *** */
  /* Changes vertical alignment from center to the bottom */
  align-items: flex-end; 
}

/* Image Column Styling */
.mission-section .mission-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center; /* Horizontally center the image within its column */
  align-items: center;
  /* Optional: Limit the width of the image wrapper to keep it tight */
  max-width: 350px;
  margin: 0 auto; /* Ensures the image column itself is centered relative to its side */
}

.mission-section img {
  width: 100%; /* Image takes full width of its wrapper */
  height: auto;
  display: block;
}

/* Text Column Styling */
.mission-section h2 {
  color: #ffffff;
  font-size: 44px; /* Slightly bigger header */
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.mission-section p {
  font-size: 22px;
  line-height: 2; /* Increased line height for proper spacing */
  margin: 0;
}
/* -------------------------------------------------
   MW BUILD SERVICES STYLES
-------------------------------------------------- */
.service-top {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 60px 40px 20px;
}

.service-header {
  width: 100%;
  padding: 40px 0;
}

.service-header-inner {
  display: flex;
  align-items: center; /* aligns icon & title perfectly */
  gap: 20px;

  width: 90%;           /* match your global layout width */
  margin: 0 auto;       /* centers it */
}

.service-header-inner h1 {
  color: #000000;
  margin: 0;             /* removes the oversized default top margin */
  font-size: 48px;       /* adjust to match your style */
  font-weight: 400;
}

.service-icon {
  width: 60px;
  height: auto;
}

.service-top h1 {
  color: #000000;
  font-size: 48px;
  margin: 0;
}


/* -------------------------------------------------
   HARDCAPING PAGE
-------------------------------------------------- */

.service-page {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 6vw, 60px);
}

/* Section spacing */
.service-section {
  margin-bottom: 120px;
}

/* Section titles */
.service-title {
  font-size: 36px;
  margin-bottom: 50px;
  color: #001d51;
  text-align: center;   /* ← ADD THIS */
}

/* Grid layout */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start; /* TOP ALIGN EVERYTHING */
}

/* Optional reverse layout for second section */
.service-grid.reverse {
  grid-auto-flow: dense;
}

/* Text box styling */
.service-text {
  font-size: 22px;
  line-height: 1.8;
  color: #001d51;
}

/* Image wrapper */
.service-image img {
  width: 100%;
  height: auto; /* KEEP ORIGINAL ASPECT RATIO */
  display: block;
}

.hardscaping-page {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 6vw, 60px);
  max-width: 1200px;
  margin: 0 auto;
  color: #001d51;
}
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch; /* KEY: forces equal column height */
  margin-bottom: 80px;
}

/* LEFT COLUMN */
.service-left img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills column while keeping aspect ratio */
}

/* RIGHT COLUMN */
.service-right {
  display: grid;
  grid-template-rows: auto 1fr; /* text + spacer */
  gap: 24px;
}

/* TEXT */
.service-text p {
  font-size: 22px;
  line-height: 1.7;
  margin: 0;
}

/* HORIZONTAL IMAGE */
.service-right img {
  width: 100%;
  align-self: end;   /* ← forces image to bottom */

}

/* Intro */
.hardscaping-intro {
  max-width: 800px;
  margin-bottom: 80px;
}

.hardscaping-intro p {
  font-size: 22px;
  line-height: 1.8;
}

.feature-box {
  height: 220px;
  border: 1px solid #001d51;
  overflow: hidden;
}

.feature-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Main two-column section */
.hardscaping-main {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 80px;
}

.hardscaping-text p {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Text boxes */
.hardscaping-box {
  border: 1px solid #001d51;
  padding: 32px;
}

.large-box {
  min-height: 260px;
}

.hardscaping-box h3,
.hardscaping-box h4 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 22px;
}

.hardscaping-box p {
  font-size: 18px;
  line-height: 1.6;
}

/* Secondary two boxes */
.hardscaping-secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin-bottom: 80px;
}

/* Bottom feature placeholders */
.hardscaping-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-box {
  height: 220px;
  border: 1px solid #001d51;
}


.project-card {
  background: white;
  padding-bottom: 20px;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project-card h3 {
  color: #000000;
  margin-top: 12px;
  font-size: 22px;
}




/* -------------------------------------------------
   MW BUILD FOOTER STYLES (REVISED)
-------------------------------------------------- */

/* Basic Reset */
.main-footer * {
  box-sizing: border-box;
}

/* Footer Container Styling */
.main-footer {
  background-color: #121d47; /* Your Dark Blue Background */
  color: #ffffff;
  padding: 40px 60px;
  font-family: 'Inter', sans-serif;
}

/* Main Footer Grid Layout */
.footer-content {
  display: grid;
  /* Define 4 columns: Logo | Links | Contact Info | CTA (Let's Work) */
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr; 
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  text-align: left;
}

/* Column Headings */
.footer-column h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
}

/* Logo Column */
.footer-logo-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-logo-column img {
  max-width: 180px;
  height: auto;
  display: block;
}

/* Navigation and Contact Links */
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a,
.footer-contact-info p {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  opacity: 0.85;
  transition: opacity 0.2s;
  line-height: 1.5;
}

.footer-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}



.footer-cta-column p {
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 25px;
  opacity: 0.9;
}

/* Contact Button Style */
.footer-contact-button {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 12px 25px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
  display: inline-block;
  align-self: flex-start; /* Ensures button aligns left */
}

.footer-contact-button:hover {
  background-color: #ffffff;
  color: #121d47;
}

/* NEW: Full-width bar for copyright */
.sub-footer-bar {
    background-color:#121d47; /* White background */   /* Adds vertical spacing */
    width: 100%;               /* Ensures it spans the entire width */
}

/* Copyright Section (content centering and text color) */
.footer-copyright {
    text-align: center;
    font-size: 14px;
    opacity: 1; 
    color: #ffffff;           /* Black text on white background */
    max-width: 1400px;        /* Centers content horizontally */
    margin: 0 auto;
    padding-bottom: 30px;
}
/* ------------------------------
   CARPENTRY PAGE LAYOUT FIXES
------------------------------ */
/* ---------- CARPENTRY PAGE LAYOUT ---------- */

.carpentry-page {
  padding: 60px;
}


/* Each Row */
.carpentry-row {
  margin-bottom: 70px;
}

/* Icon + Title */
.carpentry-row-header {
  display: flex;
  align-items: center;       /* Vertically align icon + title */
  gap: 16px;
  margin-bottom: 25px;
}

.carpentry-icon {
  width: 60px;
  height: auto;
  object-fit: contain;
}

/* ---------- GRID OF IMAGES ---------- */


/* Each Image + Title */
.carpentry-item {
  text-align: center;
  flex: 1;
}

/* Keep images controlled */
.carpentry-item img {
  width: 100%;
  height: 260px;        /* Fixed height, adjust if you want */
  object-fit: cover;    /* Keeps images clean and cropped */
  display: block;
}

/* Description under images */
.carpentry-item p {
  margin-top: 12px;
  font-size: 16px;
}

/* Row wrapper */
.carpentry-row {
  margin-bottom: 60px;
}

/* Header area (icon + title) */
.carpentry-header {
  color: #000000;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

/* Icon size */
.carpentry-icon {
  width: 48px;
  height: auto;
  object-fit: contain;
}

/* Title next to icon */
.carpentry-header h2 {
  color: #000000;
  font-size: 32px;
  font-weight: 300;
  margin: 0;
}

/* Image grid (3 per row max) */
.carpentry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Image container */
.carpentry-item img {
  width: 100%;
  height: auto;          /* keeps natural ratio */
  object-fit: cover;
  display: block;
}

/* Caption under each image */
.carpentry-caption {
  margin-top: 8px;
  font-size: 16px;
  color: #333;
  text-align: center;
}

.carpentry-page {
  color: #000000;
  padding: 60px;
}
.carpentry-page h1{
  color: #000000;
  padding: 60px;
}

.carpentry-title {
  font-size: 48px;
  margin-bottom: 50px;
  text-align: center;
  font-weight: 300;
}

.carpentry-row {
  margin-bottom: 80px;
}

.carpentry-row-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.carpentry-icon {
  width: 60px;
  height: auto;
  object-fit: contain;
}

.carpentry-row-header h2 {
  font-size: 32px;
  font-weight: 300;
  color: #000000;
}

.carpentry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.carpentry-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.carpentry-item p {
  margin-top: 10px;
  font-size: 16px;
  text-align: left;
}

/* -------------------------
   CONTACT PAGE
--------------------------*/

.contact-hero {
  background:#121d47;
  color:white;
  text-align:center;
  padding-bottom: 40px;
}

.contact-hero h1 {
  font-size:48px;
  font-weight:300;
  margin:0;
}

.contact-hero p {
  font-size:20px;
  opacity:0.9;
  margin-top:10px;
}

.contact-wrapper {
  display: flex;
  flex-direction: row; /* Default desktop layout */
  gap: 50px;
  padding: 60px;
  align-items: flex-start;
}

.contact-image img {
  width: 100%;
  max-width: 500px;
  object-fit: cover;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.two-input-row {
  display: flex;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-weight: 600;
  font-size: 16px;
}

input, textarea {
  padding: 12px;
  border: 1px solid #bbbaba;
  border-radius: 2px;
  font-size: 16px;
  font-family: inherit;
}

.radio-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 6px 20px;
  margin-top: 6px;
}

.submit-btn {
  width: 32%; /* Desktop width */
  margin-top: 10px;
  padding: 14px 20px;
  background: #121d47;
  color: white;
  font-size: 18px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: 0.3s ease;
}

.submit-btn:hover {
  background: #0d1533;
}

/* ======================================
   MOBILE STYLES
====================================== */

@media (max-width: 900px) {

  /* --------------------
     HEADER + NAV
  -------------------- */

  header {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  header .logo {
    margin-bottom: 20px;
  }

  header nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  header nav a {
    font-size: 18px;
    padding: 8px 0;
  }

  /* SERVICES DROPDOWN → STACKED LIST */
  .dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown:hover .dropdown-content {
    display: none; /* remove hover behavior */
  }

  .dropbtn {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    cursor: default;
  }

  .dropdown-content {
    position: static;
    display: flex;
    flex-direction: column;
    background: transparent;
    padding-top: 8px;
    gap: 8px;
  }

  .dropdown-content a {
    font-size: 16px;
    opacity: 0.85;
    padding-left: 12px;
  }

  /* --------------------
     TYPOGRAPHY
  -------------------- */

  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  h3 { font-size: 22px; }

  p {
    font-size: 18px;
    line-height: 1.6;
  }

  /* --------------------
     HERO
  -------------------- */

  .hero {
    height: auto;
    padding: 60px 24px;
  }

  /* --------------------
     STACK ALL TWO-COLUMN LAYOUTS
  -------------------- */

  .two-col,
  .service-grid,
  .about-section,
  .lower-about,
  .mission-section,
  .hardscaping-main,
  .service-block {
    grid-template-columns: 1fr !important;
    flex-direction: column;
    gap: 40px;
    padding: 60px 24px;
  }

  /* Images first */
  .mission-image-wrapper,
  .service-left,
  .service-image {
    order: -1;
  }

  /* --------------------
     SERVICES GRID (2x2)
  -------------------- */

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-card {
    padding: 28px 20px;
  }

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

  /* --------------------
     PROJECTS SCROLLER
  -------------------- */

  .project-item {
    flex: 0 0 260px;
  }

  .project-image-container {
    height: 300px;
  }

  /* --------------------
     FOOTER
  -------------------- */

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-column h3 {
    margin-bottom: 12px;
  }

  /* Adjust two-column layouts for mobile */
  .two-col,
  .mission-section,
  .service-block {
    display: flex;
    flex-direction: column; /* Stack content vertically */
    gap: 20px; /* Reduce gap */
    padding: 40px 20px; /* Reduce padding */
  }

  /* Ensure images and text align properly */
  .two-col img,
  .mission-section img {
    max-width: 100%; /* Prevent oversized images */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto; /* Center images */
  }

  .two-col .text,
  .mission-section .text {
    font-size: clamp(16px, 4vw, 20px); /* Responsive font size */
    line-height: 1.5; /* Adjust spacing */
  }

  /* Services grid adjustments */
  .services-grid {
    grid-template-columns: 1fr; /* Single column for small screens */
    gap: 20px; /* Reduce gap */
  }

  .service-card {
    padding: 20px; /* Reduce padding */
    font-size: clamp(16px, 4vw, 20px); /* Responsive text size */
  }

  /* Mission section adjustments */
  .mission-section {
    grid-template-columns: 1fr; /* Stack content vertically */
    align-items: center; /* Center content */
  }

  .mission-section img {
    max-width: 80%; /* Limit image size */
    margin-bottom: 20px; /* Add spacing below image */
  }

  .mission-section h2 {
    font-size: clamp(24px, 5vw, 32px); /* Responsive header size */
    text-align: center; /* Center text */
  }

  .mission-section p {
    font-size: clamp(16px, 4vw, 20px); /* Responsive paragraph size */
    text-align: center; /* Center text */
  }

  /* Adjust header layout */
  header {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  header nav {
    flex-direction: column;
    gap: 16px;
  }

  /* Stack two-column layouts */
  .two-col,
  .about-section,
  .lower-about,
  .mission-section {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 40px 20px;
  }

  /* Adjust typography */
  h1, h2, h3 {
    font-size: clamp(16px, 4vw, 20px);
  }

  p {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Services grid adjustments */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 20px;
  }

  /* Projects grid adjustments */
  .projects-grid {
    flex-direction: column;
    gap: 20px;
  }

  .project-item {
    flex: 1 1 auto;
  }

  /* Footer adjustments */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column; /* Stack the image and form vertically */
    gap: 20px; /* Reduce spacing between elements */
    padding: 20px; /* Reduce padding */
  }

  .contact-image img {
    max-width: 100%; /* Ensure the image scales properly */
    height: auto; /* Maintain aspect ratio */
  }

  .contact-form {
    padding: 10px; /* Reduce padding for smaller screens */
  }

  .two-input-row {
    flex-direction: column; /* Stack inputs vertically */
    gap: 10px; /* Reduce spacing */
  }

  .submit-btn {
    width: 100%; /* Full-width button */
  }
}

@media (max-width: 500px) {
  .contact-wrapper {
    gap: 16px; /* Further reduce spacing */
    padding: 16px;
  }

  .two-input-row {
    gap: 8px; /* Reduce spacing further */
  }

  .submit-btn {
    font-size: 16px; /* Adjust button font size */
    padding: 12px 16px;
  }
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column; /* Stack the image and form vertically */
    gap: 20px; /* Reduce spacing between elements */
    padding: 20px; /* Reduce padding */
  }

  .contact-image img {
    max-width: 100%; /* Ensure the image scales properly */
    height: auto; /* Maintain aspect ratio */
  }

  .contact-form {
    padding: 10px; /* Reduce padding for smaller screens */
  }

  .two-input-row {
    flex-direction: column; /* Stack inputs vertically */
  }

  .submit-btn {
    width: 100%; /* Full-width button */
  }
}

@media (max-width: 500px) {

  /* Further reduce spacing for small phones */
  .two-col,
  .about-section,
  .mission-section {
    gap: 8px;
    padding: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 16px;
  }

  .mission-section img {
    max-width: 100%;
  }

  .mission-section h2,
  .mission-section p {
    font-size: clamp(14px, 3vw, 18px);
  }
}

@media (max-width: 375px) {
  /* Reduce padding and gaps */
  .two-col,
  .about-section,
  .mission-section {
    gap: 8px;
    padding: 16px;
  }

  .services-grid {
    gap: 16px;
  }

  .service-card {
    padding: 12px;
  }

  /* Ensure images scale appropriately */
  .mission-section img,
  .two-col img {
    max-width: 100%;
    height: auto;
  }

  /* Adjust font sizes for readability */
  h1, h2, h3 {
    font-size: clamp(16px, 4vw, 20px);
  }

  p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Ensure buttons are touch-friendly */
  .submit-btn,
  .footer-contact-button {
    padding: 12px 16px;
    font-size: 16px;
  }

  /* Footer adjustments */
  .footer-content {
    gap: 16px;
  }
}
