/* Global styles */
html,
body {
  height: 100%;
  background: linear-gradient(to bottom, #e6e6ee, #e6e6ee);
  max-width: 100%;
  margin: 0;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}
/* iOS zooms when tapping tiny text; keep tap targets readable */
a,
button,
[role="button"],
input,
select,
textarea {
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}
/* 0. CSS for the home page layout Starts here */
.home-page {
  display: grid;
  grid-template-rows:
    auto
    auto
    auto
    auto
    auto
    auto
    auto
    auto
    auto
    auto
    auto
    auto
    auto
    auto
    auto
    auto;
  grid-template-areas:
    "navbar"
    "hero"
    "below-fold"
    "background-wrapper"
    "trusted-brands"
    "projects-showcase"
    "service-cards"
    "know-us-more"
    "reviews"
    "carousel-notice"
    "review-carousel"
    "what-to-do-next-text"
    "permit-steps"
    "latest-blogs"
    "footer"
    "notes";
  width: 100vw;
}

/* CSS for the home page layout Ends here */

/* 1. Navbar Styles Start here */
.navbar {
  grid-area: navbar;
  position: fixed;
  top: 0vh;
  left: 0vw;
  right: 0vw;
  width: 100%;
  background-color: #e6e6ee; /* match your page bg */
  transition: box-shadow 0.2s ease;
  z-index: 1100; /* sit above everything */
}
.navbar.scrolled {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.navbar-container {
  height: clamp(
    45px,
    1vh,
    80px
  ); /* responsive height works well for mobile breakpoint*/
  width: auto;
  display: flex; /* Navbar flex layout */
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(25px, 4vw, 100px); /* responsive padding */
}
/*Navbar Company Logo */
.navbar-logo a img {
  width: 140px;
  height: auto;
  display: block; /* ensures it behaves like a block element */
  max-width: none;
  flex-shrink: 0;
}
.navbar-logo-group {
  display: flex;
  align-items: center;
}
#draw-my-space-text-only-logo {
  display: none; /* hidden by default */
}
/* Hamburger Styles-mobile-first*/
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  padding: 0vh;
  margin-left: auto;
  cursor: pointer;
  z-index: 1100;
  gap: 3px; /* Add consistent spacing for visual symmetry */
}
.hamburger .bar {
  width: 24px;
  height: 3px;
  background-color: #023047;
  border-radius: 2px;
  transition: transform 0.1s ease, opacity 0.1s ease;
  transform-origin: center;
}

/*Navbar buttons */
.navbar-buttons {
  display: none; /* hide by default */
  position: absolute;
  top: 68px; /* below the navbar */
  right: 0;
  left: 0;
  width: 100%;
  flex-direction: column;
  box-sizing: border-box;
  background-color: #e6e6ee; /* match navbar bg */
  padding: 20px;
  gap: 20px;
  box-shadow: 0 8px 8px -4px rgba(0, 0, 0, 0.1);
  list-style: none;
}
/* When toggled*/
.navbar-buttons.show {
  display: flex; /* show when toggled */
}
.hamburger.open .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.navbar-buttons li a {
  font-family: "roboto", sans-serif;
  font-size: 12px;
  display: inline-block;
  text-decoration: none;
  color: #090909;
  background-color: #e6e6ee;
  cursor: pointer;
  border: 1px solid #dbdbdb;
  padding: 10px 20px;
  border-radius: 100em;
  list-style: none;
  transition: all 0.3s ease;
  box-shadow:
    /* dark shadow bottom right */ 6px 6px 12px #c5c5c5,
    /* white shadow top left */ -6px -6px 12px #ffffff;
}
.navbar-buttons li a:hover {
  background-color: #f4f4f4;
}
.navbar-buttons li a:active {
  /* inset shadows for “pressed” look */
  background: inherit;
  box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
  color: #666;
}

/* Contact Button CSS START here*/
.button {
  all: unset;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  position: relative;
  border-radius: 100em;
  margin-left: 20px;
  background-color: rgba(0, 0, 0, 0.75);
  box-shadow: -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.25),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.1);
}

.button::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: calc(100% + 0.3em);
  height: calc(100% + 0.3em);
  top: -0.15em;
  left: -0.15em;
  border-radius: inherit;
  background: linear-gradient(
    -135deg,
    rgba(5, 5, 5, 0.5),
    transparent 20%,
    transparent 100%
  );
  filter: blur(0.0125em);
  opacity: 0.25;
  mix-blend-mode: multiply;
}

.button .button-outer {
  position: relative;
  z-index: 1;
  border-radius: inherit;
  transition: box-shadow 300ms ease;
  will-change: box-shadow;
  box-shadow: 0 0.05em 0.05em -0.01em rgba(5, 5, 5, 1),
    0 0.01em 0.01em -0.01em rgba(5, 5, 5, 0.5),
    0.15em 0.3em 0.1em -0.01em rgba(5, 5, 5, 0.25);
}

.button:hover .button-outer {
  box-shadow: 0 0 0 0 rgba(5, 5, 5, 1), 0 0 0 0 rgba(5, 5, 5, 0.5),
    0 0 0 0 rgba(5, 5, 5, 0.25);
}

.button-inner {
  --inset: 0.035em;
  position: relative;
  z-index: 1;
  border-radius: inherit;
  padding: 1em 1.5em;
  background-image: linear-gradient(
    135deg,
    #ffb703,
    /* original was : rgba(230, 230, 230, 1),*/ #ff8500
      /* original was : rgba(180, 180, 180, 1),*/
  );
  transition: box-shadow 300ms ease, clip-path 250ms ease,
    background-image 250ms ease, transform 250ms ease;
  will-change: box-shadow, clip-path, background-image, transform;
  overflow: clip;
  clip-path: inset(0 0 0 0 round 100em);
  box-shadow:
        /* 1 */ 0 0 0 0 inset rgba(5, 5, 5, 0.1),
    /* 2 */ -0.05em -0.05em 0.05em 0 inset rgba(5, 5, 5, 0.25),
    /* 3 */ 0 0 0 0 inset rgba(5, 5, 5, 0.1),
    /* 4 */ 0 0 0.05em 0.2em inset rgba(255, 255, 255, 0.25),
    /* 5 */ 0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 1),
    /* 6 */ 0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.25),
    /* 7 */ -0.075em -0.25em 0.25em 0.1em inset rgba(5, 5, 5, 0.25);
}

.button:hover .button-inner {
  clip-path: inset(
    clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px)
      clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) round 100em
  );
  box-shadow:
        /* 1 */ 0.1em 0.15em 0.05em 0 inset rgba(5, 5, 5, 0.75),
    /* 2 */ -0.025em -0.03em 0.05em 0.025em inset rgba(5, 5, 5, 0.5),
    /* 3 */ 0.25em 0.25em 0.2em 0 inset rgba(5, 5, 5, 0.5),
    /* 4 */ 0 0 0.05em 0.5em inset rgba(255, 255, 255, 0.15),
    /* 5 */ 0 0 0 0 inset rgba(255, 255, 255, 1),
    /* 6 */ 0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.25),
    /* 7 */ -0.075em -0.12em 0.2em 0.1em inset rgba(5, 5, 5, 0.25);
}

.button .button-inner span {
  position: relative;
  z-index: 4;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.05em;
  font-weight: 500;
  color: rgba(0, 0, 0, 0);
  background-image: linear-gradient(
    135deg,
    rgba(25, 25, 25, 1),
    #023047 /* original was : rgba(75, 75, 75, 1)*/
  );
  -webkit-background-clip: text;
  background-clip: text;
  transition: transform 250ms ease;
  display: block;
  will-change: transform;
  text-shadow: rgba(0, 0, 0, 0.1) 0 0 0.1em;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.button:hover .button-inner span {
  transform: scale(0.975);
}

.button:active .button-inner {
  transform: scale(0.975);
}
/* never wrap button text */
.hero-list li a,
.navbar-buttons li a,
.button-inner span {
  white-space: nowrap;
}

/* Contact Button CSS END here*/

/* ===============================
   Base Mobile-First Hero Section
   =============================== */

:root {
  --hero-font-size: clamp(36px, 6vw, 77px);
  --hero-subtitle-font-size: clamp(18px, 3vw, 25px);
  --flip-line-height: var(--hero-font-size);
  --hero-image-width: clamp(280px, 75vw, 700px);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "hero-title"
    "hero-image"
    "hero-list"
    "hero-subtitle"
    "hero-quote";
  gap: 20px;
  padding: 125px clamp(16px, 5vw, 40px);
  width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  justify-items: center;
}

.hero-title {
  grid-area: hero-title;
  font-family: "poppins", sans-serif;
  font-size: var(--hero-font-size);
  margin-block-start: 0;
  margin-block-end: 0;
}

.hero-subtitle {
  grid-area: hero-subtitle;
  font-family: "roboto", sans-serif;
  font-size: var(--hero-subtitle-font-size);
  color: #090909;
  max-width: 600px;
  margin-block-start: 0;
  margin-block-end: 0;
}

.hero-image {
  grid-area: hero-image;
  display: block;
  width: 100%;
  height: auto;
  max-width: min(
    var(--hero-image-width),
    /* your “ideal” clamp(…) value */ 100%
  );
  margin: clamp(10px, 1vh, 50px) 0px;
  box-sizing: border-box;
  padding: clamp(5px, 1vw, 20px);
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 10px 5px rgba(255, 255, 255, 0.5);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 2;
}

.hero-image.loaded {
  opacity: 1;
}

.hero-list {
  grid-area: hero-list;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  list-style: none;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-left: 0;
  padding-inline-start: 0;
  padding-inline-end: 0;
}

/* Contact-us -second-Button CSS START here*/
.contact-us-second-button {
  margin-left: 0px;
  all: unset;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  position: relative;
  border-radius: 100em;
  background-color: rgba(0, 0, 0, 0.75);
  box-shadow: -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.25),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.1);
}

.contact-us-second-button::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: calc(100% + 0.3em);
  height: calc(100% + 0.3em);
  top: -0.15em;
  left: -0.15em;
  border-radius: inherit;
  background: linear-gradient(
    -135deg,
    rgba(5, 5, 5, 0.5),
    transparent 20%,
    transparent 100%
  );
  filter: blur(0.0125em);
  opacity: 0.25;
  mix-blend-mode: multiply;
}

.contact-us-second-button .contact-us-second-button-outer {
  position: relative;
  z-index: 1;
  border-radius: inherit;
  transition: box-shadow 300ms ease;
  will-change: box-shadow;
  box-shadow: 0 0.05em 0.05em -0.01em rgba(5, 5, 5, 1),
    0 0.01em 0.01em -0.01em rgba(5, 5, 5, 0.5),
    0.15em 0.3em 0.1em -0.01em rgba(5, 5, 5, 0.25);
}

.contact-us-second-button:hover .contact-us-second-button-outer {
  box-shadow: 0 0 0 0 rgba(5, 5, 5, 1), 0 0 0 0 rgba(5, 5, 5, 0.5),
    0 0 0 0 rgba(5, 5, 5, 0.25);
}

.contact-us-second-button-inner {
  --inset: 0.035em;
  position: relative;
  z-index: 1;
  border-radius: inherit;
  padding: 1em 1.5em;
  background-image: linear-gradient(
    135deg,
    #ffb703,
    /* original was : rgba(230, 230, 230, 1),*/ #ff8500
      /* original was : rgba(180, 180, 180, 1),*/
  );
  transition: box-shadow 300ms ease, clip-path 250ms ease,
    background-image 250ms ease, transform 250ms ease;
  will-change: box-shadow, clip-path, background-image, transform;
  overflow: clip;
  clip-path: inset(0 0 0 0 round 100em);
  box-shadow:
        /* 1 */ 0 0 0 0 inset rgba(5, 5, 5, 0.1),
    /* 2 */ -0.05em -0.05em 0.05em 0 inset rgba(5, 5, 5, 0.25),
    /* 3 */ 0 0 0 0 inset rgba(5, 5, 5, 0.1),
    /* 4 */ 0 0 0.05em 0.2em inset rgba(255, 255, 255, 0.25),
    /* 5 */ 0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 1),
    /* 6 */ 0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.25),
    /* 7 */ -0.075em -0.25em 0.25em 0.1em inset rgba(5, 5, 5, 0.25);
}

.contact-us-second-button:hover .contact-us-second-button-inner {
  clip-path: inset(
    clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px)
      clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) round 100em
  );
  box-shadow:
        /* 1 */ 0.1em 0.15em 0.05em 0 inset rgba(5, 5, 5, 0.75),
    /* 2 */ -0.025em -0.03em 0.05em 0.025em inset rgba(5, 5, 5, 0.5),
    /* 3 */ 0.25em 0.25em 0.2em 0 inset rgba(5, 5, 5, 0.5),
    /* 4 */ 0 0 0.05em 0.5em inset rgba(255, 255, 255, 0.15),
    /* 5 */ 0 0 0 0 inset rgba(255, 255, 255, 1),
    /* 6 */ 0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.25),
    /* 7 */ -0.075em -0.12em 0.2em 0.1em inset rgba(5, 5, 5, 0.25);
}

.contact-us-second-button .contact-us-second-button-inner span {
  position: relative;
  z-index: 4;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.05em;
  font-weight: 500;
  color: rgba(0, 0, 0, 0);
  background-image: linear-gradient(
    135deg,
    rgba(25, 25, 25, 1),
    #023047 /* original was : rgba(75, 75, 75, 1)*/
  );
  -webkit-background-clip: text;
  background-clip: text;
  transition: transform 250ms ease;
  display: block;
  will-change: transform;
  text-shadow: rgba(0, 0, 0, 0.1) 0 0 0.1em;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.contact-us-second-button:hover .contact-us-second-button-inner span {
  transform: scale(0.975);
}

.contact-us-second-button:active .contact-us-second-button-inner {
  transform: scale(0.975);
}
/* Contact-us-second-button ends here */

.hero-quote {
  grid-area: hero-quote;
  text-align: center;
  font-family: "roboto", sans-serif;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 0px;
  font-size: clamp(12px, 1vw, 15px);
}
.quote-mark-hero {
  width: 16px; /* or whatever smaller size you need */
  height: auto; /* preserves aspect ratio */
}
.gradient-text {
  background: linear-gradient(90deg, #ff8500, #023047);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.flip-text-wrapper {
  display: inline-block;
  height: var(--hero-font-size);
  overflow: hidden;
  vertical-align: top;
  margin-top: 20px;
}

.flip-text {
  display: block;
  animation: flip-words 12s ease-in-out infinite;
}

.flip-text span {
  display: block;
  font-size: var(--hero-font-size);
  line-height: var(--hero-font-size);
  height: var(--hero-font-size);
  color: #023047;
  font-weight: bold;
}

@keyframes flip-words {
  0%,
  25% {
    margin-top: 0;
  }
  33.33%,
  58.33% {
    margin-top: calc(-1 * var(--flip-line-height));
  }
  66.66%,
  91.66% {
    margin-top: calc(-2 * var(--flip-line-height));
  }
  100% {
    margin-top: 0;
  }
}
/* Navbar + Hero Section Responsiveness */
/* ===============================
  Breakpoints (Mobile-First)
   =============================== */

/*Mobile:    0-480px           (small phones or portrait orientation)*/
@media (max-width: 350px) {
  #draw-my-space-text-only-logo {
    display: none !important;
  }
  #mobile-contact-button {
    display: inline-block !important;
    position: absolute;
    top: 50%;
    right: 56px !important; /* 24px hamburger width + 20px gap */
    transform: translateY(-50%);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  /* when .visible is added via JS, fade in */
  #mobile-contact-button.visible {
    opacity: 1;
    pointer-events: auto;
  }
  #mobile-contact-button .button-inner {
    padding: 0.55em 1em; /* was 1em 1.5em */
  }
  #mobile-contact-button .button-inner span {
    font-size: 0.6rem; /* reduce text size */
  }
}

/*explicitly not done yet*/

/* Mobile:    481px-767px       (small and large phones whether potrait or landscape orientation) */

@media (max-width: 767px) {
  .navbar-logo picture img {
    height: 45px;
    width: auto;
    display: block;
    max-width: none; /* prevent squishing from flex */
  }
  /* navbar “Contact Us” button hidden by default */
  #mobile-contact-button {
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 18%; /* 24px hamburger width + 20px gap */
    transform: translateY(-50%);
    z-index: 1100;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  /* when .visible is added via JS, fade in */
  #mobile-contact-button.visible {
    opacity: 1;
    pointer-events: auto;
  }

  /* hide center logo when .hidden is added */
  #draw-my-space-text-only-logo.hidden {
    display: none !important;
  }
  #draw-my-space-text-only-logo {
    display: block;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 300px;
    width: auto;
    z-index: 1050; /* above navbar but below hamburger */
    pointer-events: none; /* makes it non-interactive */
  }
  .flip-text-wrapper {
    margin-top: 9.5px; /* aligns better with smaller fonts */
  }
}

/* Tablets:   768px-1023px      (iPads, android tablets and foldables) */

@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    grid-template-columns: 38vw 50vw;
    grid-template-areas:
      "hero-title hero-image"
      "hero-subtitle hero-image"
      "hero-list hero-image"
      "hero-quote hero-quote";
    justify-items: start;
    align-items: start;
    padding: 200px clamp(16px, 5vw, 40px);
  }
  .hero-title {
    text-align: left;
    justify-self: start;
    font-size: clamp(
      20px,
      4.5vw,
      50px
    ); /* Adjust for hero title text except flipping text */
  }
  .flip-text-wrapper {
    margin-top: 4px; /* nudged for better vertical sync */
  }
  .flip-text span {
    font-size: clamp(
      20px,
      4.5vw,
      50px
    ); /* Adjust for flipping text size, words dream, basement and vision */
  }
  .hero-subtitle {
    text-align: left;
    justify-self: start;
    font-size: clamp(15px, 1.5vw, 25px); /* Adjust for hero subtitle text */
  }
  .hero-list {
    text-align: left;
    justify-self: start;
  }
  .hero-image {
    width: clamp(300px, 50vw, 550px);
    height: auto;
  }
  .hamburger {
    display: none; /* hide hamburger on larger screens */
  }
  .navbar-buttons {
    display: flex !important; /* show on larger screens */
    flex-direction: row;
    position: static;
    width: auto; /* full width not needed */
    text-decoration: none;
    list-style: none;
    gap: 20px;
    background: none; /* no bg needed */
    box-shadow: none; /* no shadow needed */
    padding: 10px 20px;
    margin-left: auto;
  }
}

/* Laptops:   1024px-1280px     (laptops, small desktop screens)*/

@media (min-width: 1024px) and (max-width: 1280px) {
  .hero {
    padding-inline: clamp(40px, 8vw, 80px);
    grid-template-columns: 38vw 50vw;
    grid-template-areas:
      "hero-title hero-image"
      "hero-subtitle hero-image"
      "hero-list hero-image"
      "hero-quote hero-quote";
    justify-items: start;
    align-items: start;
    padding: 200px clamp(16px, 5vw, 40px);
  }
  .hero-title {
    text-align: left;
    justify-self: start;
    font-size: clamp(
      20px,
      4.5vw,
      100px
    ); /* Adjust for hero title text except flipping text */
  }
  .flip-text-wrapper {
    margin-top: 5px; /* nudged for better vertical sync */
  }
  .flip-text span {
    font-size: clamp(
      20px,
      4.5vw,
      100px
    ); /* Adjust for flipping text size, words dream, basement and vision */
  }
  .hero-subtitle {
    text-align: left;
    justify-self: start;
    font-size: clamp(15px, 1.5vw, 25px); /* Adjust for hero subtitle text */
  }
  .hero-list {
    text-align: left;
    justify-self: start;
  }
  .hero-image {
    width: clamp(500px, 50vw, 700px);
  }
  .hamburger {
    display: none; /* hide hamburger on larger screens */
  }
  .navbar-buttons {
    display: flex !important; /* show on larger screens */
    flex-direction: row;
    position: static;
    width: auto; /* full width not needed */
    text-decoration: none;
    list-style: none;
    gap: 20px;
    background: none; /* no bg needed */
    box-shadow: none; /* no shadow needed */
    padding: 10px 20px;
    margin-left: auto;
  }
}

/* Desktop:   1281px+           (large desktop screens) */
@media (min-width: 1281px) {
  .hero {
    margin-inline: clamp(40px, 8vw, 80px);
    column-gap: clamp(20px, 5vw, 100px);
    grid-template-columns: 35vw 50vw;
    grid-template-areas:
      "hero-title hero-image"
      "hero-subtitle hero-image"
      "hero-list hero-image"
      "hero-quote hero-quote";
    justify-items: start;
    align-items: start;
    padding: 200px clamp(16px, 5vw, 40px);
  }
  .hero-line.first-line {
    white-space: nowrap;
  }
  .hero-title {
    text-align: left;
    justify-self: start;
    font-size: clamp(
      20px,
      4.5vw,
      100px
    ); /* Adjust for hero title text except flipping text */
  }
  .flip-text-wrapper {
    margin-top: 1.2%; /* nudged for better vertical sync */
  }
  .flip-text span {
    font-size: clamp(
      20px,
      4.5vw,
      100px
    ); /* Adjust for flipping text size, words dream, basement and vision */
  }
  .hero-subtitle {
    text-align: left;
    justify-self: start;
    font-size: clamp(15px, 1.5vw, 20px); /* Adjust for hero subtitle text */
  }
  .hero-list {
    text-align: left;
    justify-self: start;
  }
  .hero-image {
    width: clamp(700px, 50vw, 900px);
  }
  .hamburger {
    display: none; /* hide hamburger on larger screens */
  }
  .navbar-buttons {
    display: flex !important; /* show on larger screens */
    flex-direction: row;
    position: static;
    width: auto; /* full width not needed */
    text-decoration: none;
    list-style: none;
    gap: 20px;
    background: none; /* no bg needed */
    box-shadow: none; /* no shadow needed */
    padding: 10px 20px;
    margin-left: auto;
  }
}
@media (min-width: 1400px) {
  .flip-text-wrapper {
    margin-top: 2.25%; /* nudged for better vertical sync */
  }
}
@media (min-width: 1600px) {
  .flip-text-wrapper {
    margin-top: 3.8%; /* nudged for better vertical sync */
  }
}

/* Navbar + Hero Section Responsiveness End Here */

/* 7. Below Fold Starts Here*/
:root {
  --bf-h2: clamp(25px, 4.5vw, 50px);
  --bf-h4: clamp(18px, 3vw, 25px);
}
.below-fold {
  grid-area: below-fold;
  width: 100vw;
  margin-bottom: 100px;
  margin-top: -100px;
}
.below-fold h4 {
  font-family: "poppins", sans-serif;
  font-size: var(--bf-h4);
  text-align: center;
}
.below-fold h2 {
  font-family: "poppins", sans-serif;
  font-size: var(--bf-h2);
  text-align: center;
  margin-top: 10px;
}
.below-fold-image {
  width: 100vw;
  height: auto;
  max-width: 100%;
  margin-top: 20px;
  box-shadow: #ffb703 0px 0px 200px 0px;
  overflow-x: hidden;
}
/* ===============================
  Breakpoints (Mobile-First)
   =============================== */
/*Mobile:    0-480px           (small phones or portrait orientation)*/
/* Tablets: 768–1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --bf-h2: clamp(28px, 4.2vw, 48px);
    --bf-h4: clamp(18px, 3vw, 25px);
  }
  .below-fold {
    margin-top: -100px;
  }
}

/* Laptops: 1024–1280px */
@media (min-width: 1024px) and (max-width: 1280px) {
  :root {
    --bf-h2: clamp(36px, 4vw, 72px);
    --bf-h4: clamp(18px, 2.4vw, 32px);
  }
  .below-fold {
    margin-top: -100px;
  }
}

/* Desktops: 1281px+ */
@media (min-width: 1281px) {
  :root {
    --bf-h2: clamp(36px, 3.6vw, 72px);
    --bf-h4: clamp(18px, 2.2vw, 32px);
  }
  .below-fold {
    margin-top: -100px;
  }
}

/* 8. Basement Drawing-Container */
:root {
  --bd-h2: clamp(
    28px,
    4.8vw,
    56px
  ); /* title: slightly bigger than below fold */
  --bd-h4: clamp(16px, 3.2vw, 26px); /* subtitle: proportionate */
}
.background-wrapper {
  grid-area: background-wrapper;
  position: relative;

  --s: clamp(140px, 20vw, 300px); /* responsive grid square size */
  --_g: #0000 90deg, #186b94 0; /* transparent until 90deg, then dark blue */

  background-color: #e6e6ee; /* fallback background */
  background-image: conic-gradient(from 90deg at 1px 1px, var(--_g)),
    conic-gradient(from 90deg at 0.5px 0.5px, var(--_g));
  background-size: var(--s) var(--s), calc(var(--s) / 5) calc(var(--s) / 5);
  background-attachment: scroll; /* smoother for mobile, override later */
  background-position: center;
  background-repeat: repeat;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: clamp(24px, 6vw, 60px) 0;
  width: 100vw; /* full width */
}

.basement-drawing-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "basement-drawing-title"
    "basement-drawing-subtitle"
    "basement-drawing";

  justify-items: center; /* center all content horizontally */
  align-items: center; /* center vertically if needed */

  width: 80vw; /* full width */
  max-width: 1200px; /* keeps it neat on very large screens */
  margin: clamp(24px, 5vw, 40px) auto; /* equal left/right margin */
  padding: clamp(16px, 4vw, 40px); /* equal inner spacing */
  row-gap: clamp(8px, 2vw, 16px);
  column-gap: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.01); /* semi-transparent */
  backdrop-filter: blur(7px) saturate(1%);
  -webkit-backdrop-filter: blur(7px) saturate(1%);

  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 10px 5px rgba(255, 255, 255, 0.5);

  z-index: 1;
}

.basement-drawing-title {
  grid-area: basement-drawing-title;
  font-family: "poppins", sans-serif;
  color: #000;
  font-size: var(--bd-h2);
  margin: 0 clamp(12px, 3vw, 24px);
  text-align: left;
}

.basement-drawing-subtitle {
  grid-area: basement-drawing-subtitle;
  font-family: "roboto", sans-serif;
  font-weight: normal;
  font-size: var(--bd-h4);
  color: #000;
  margin: 0 clamp(12px, 3vw, 24px);
  text-align: left;
}

.basement-drawing {
  grid-area: basement-drawing;
  width: 90%;
  max-width: clamp(280px, 85vw, 750px);
  height: auto;
  margin: clamp(12px, 3vw, 32px) auto;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease;
}
.basement-drawing:hover,
.basement-drawing:active {
  transform: scale(1.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Tablets: 768–1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .background-wrapper {
    background-attachment: scroll;
  }
  .basement-drawing-container {
    grid-template-columns: 42% 58%;
    grid-template-areas:
      "basement-drawing-title basement-drawing"
      "basement-drawing-subtitle basement-drawing-subtitle";
    column-gap: clamp(16px, 3vw, 28px);
    margin: clamp(40px, 6vw, 72px);
  }
  .basement-drawing-title,
  .basement-drawing-subtitle {
    text-align: left;
  }
  .basement-drawing {
    max-width: clamp(420px, 48vw, 650px);
    margin: clamp(16px, 2vw, 28px);
  }
  :root {
    --bd-h2: clamp(32px, 4.4vw, 54px);
    --bd-h4: clamp(17px, 2.8vw, 25px);
  }
}

/* Laptops: 1024–1280px */
@media (min-width: 1024px) and (max-width: 1280px) {
  .background-wrapper {
    background-attachment: fixed;
  }
  .basement-drawing-container {
    grid-template-columns: 40% 60%;
    grid-template-areas:
      "basement-drawing-title basement-drawing"
      "basement-drawing-subtitle basement-drawing-subtitle";
    column-gap: clamp(20px, 3.5vw, 32px);
    margin: clamp(60px, 6vw, 100px);
  }
  .basement-drawing-title {
    font-size: clamp(36px, 4.2vw, 56px);
  }
  .basement-drawing-subtitle {
    font-size: clamp(18px, 2vw, 26px);
  }
  .basement-drawing {
    max-width: clamp(520px, 50vw, 720px);
  }

  :root {
    --bd-h2: clamp(36px, 4vw, 56px);
    --bd-h4: clamp(18px, 2vw, 26px);
  }
}

/* Desktops: 1281px+ */
@media (min-width: 1281px) {
  .background-wrapper {
    background-attachment: fixed;
  }
  .basement-drawing-container {
    grid-template-columns: 50% 50%;
    grid-template-areas:
      "basement-drawing-title basement-drawing"
      "basement-drawing-subtitle basement-drawing";
    column-gap: clamp(24px, 4vw, 40px);
    margin: clamp(80px, 7vw, 120px) auto;
  }
  .basement-drawing-title {
    font-size: clamp(40px, 3.8vw, 64px);
  }
  .basement-drawing-subtitle {
    font-size: clamp(18px, 1.8vw, 28px);
  }
  .basement-drawing {
    max-width: clamp(600px, 52vw, 750px);
  }
  :root {
    --bd-h2: clamp(40px, 3.8vw, 64px);
    --bd-h4: clamp(18px, 1.8vw, 28px);
  }
}
/* Disable hover zoom on touch devices */
@media (hover: none) {
  .basement-drawing:hover,
  .basement-drawing:active {
    transform: none;
    box-shadow: none;
  }
}

/* ===========================
   9. Trusted Brands – Carousel
   =========================== */

.trusted-brands {
  grid-area: trusted-brands;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 48px);
  margin-top: 100px;
  padding: clamp(16px, 4vw, 32px) 0;
  background: #f6f8fc;
  width: 100vw;
}

/* Heading */
.trusted-brands .brand-text h2 {
  font-family: "poppins", sans-serif;
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 500;
  text-align: center;
  color: #023037;
  margin: 0;
}
@media (min-width: 768px) {
  .trusted-brands .brand-text h2 {
    text-align: left;
    font-size: clamp(20px, 2.5vw, 28px);
  }
}

/* Wrapper: arrows + viewport */
.brands-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 24px);
  width: 100%;
}

/* Visible window */
.brand-viewport {
  --gap: clamp(12px, 2vw, 20px);
  --per-view: 1; /* mobile default; JS centers one logo */

  width: min(1100px, 92vw);
  overflow: hidden;
  position: relative;
}

/* Track that slides */
.brand-track {
  display: flex;
  gap: var(--gap);
  will-change: transform;
  transition: transform 400ms ease;
}

/* Cards (logos) */
.brand-item {
  flex: 0 0
    calc((100% - (var(--gap) * (var(--per-view) - 1))) / var(--per-view));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: clamp(10px, 2vw, 16px);
  border-radius: 8px;
  background: #fff;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.brand-item:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

/* Logo image */
.logo-image {
  height: clamp(40px, 6vh, 70px);
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
}
.brand-item:hover .logo-image {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* Case study link */
.case-study-link {
  font-family: "poppins", sans-serif;
  font-size: 12px;
  color: #023037;
  text-decoration: none;
  margin-top: 8px;
  line-height: 1.3;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.brand-item:hover .case-study-link {
  transform: translateY(-2px);
  color: #186b94;
}

/* Arrow buttons */
.brands-btn {
  width: 37px;
  height: 37px;
  background-color: #e6e6ee;
  color: #023047;
  border: #dbdbdb 1px solid;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease,
    opacity 0.2s ease;
  box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
  flex: 0 0 auto;
  margin-inline: 25px;
}
.brands-btn:hover {
  background-color: #f4f4f4;
}
.brands-btn:active {
  background: inherit;
  box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
  color: #666;
}
.brands-btn i {
  font-weight: 800;
  font-size: 20px;
}
.brands-btn[disabled] {
  opacity: 0.5;
  cursor: default;
}

/* --- Breakpoints --------------------------------------------------- */
/* smart watch (0–350): 1 per view (centered) */
@media (max-width: 324px) {
  button.brands-btn.brands-prev {
    margin-left: clamp(0px, 2vw, 10px);
  }
  button.brands-btn.brands-next {
    margin-right: clamp(0px, 2vw, 10px);
  }
  .brands-btn {
    width: 20px;
    height: 20px;
  }
  .brands-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    width: 100%;
  }
  .brands-btn i {
    font-weight: 800;
    font-size: 12px;
  }
}
/* small phones (280–350): 1 per view (centered) */
@media (min-width: 325px) and (max-width: 350px) {
  button.brands-btn.brands-prev {
    margin-left: 10px;
  }
  button.brands-btn.brands-next {
    margin-right: 10px;
  }
}
/* Mobile+ (481–767): still 1 per view (centered) */
@media (min-width: 481px) and (max-width: 767px) {
  .brand-viewport {
    --per-view: 1;
  }
}

/* Tablets (768–1023): 3 per view */
@media (min-width: 768px) and (max-width: 1023px) {
  .brand-viewport {
    --per-view: 3;
  }
  .brands-carousel {
    gap: clamp(8px, 1vw, 16px);
  }
}

/* Laptops (1024–1280): 5 per view */
@media (min-width: 1024px) and (max-width: 1280px) {
  .brand-viewport {
    --per-view: 5;
  }
  .brands-carousel {
    gap: clamp(8px, 1vw, 16px);
  }
}

/* Desktops (1281+): 5 per view */
@media (min-width: 1281px) {
  .brand-viewport {
    --per-view: 5;
  }
  .brands-carousel {
    gap: clamp(8px, 1vw, 16px);
  }
}

/* 10. Project Showcase */
.projects-showcase {
  margin-top: 120px;
  grid-area: projects-showcase;
  background-color: #fff1cf;
  box-shadow: #ffb703 0 0 200px 0;
  width: 100vw;
}

/* Title */
.projects-showcase-title {
  font-family: "poppins", sans-serif;
  font-size: clamp(28px, 5vw, 50px);
  text-align: center;
  margin-top: 70px;
}

/* -------------------------------------------
   Scoped variables (tuned per breakpoint)
-------------------------------------------- */
.projects-showcase {
  --border-width: 1px;
  --inner-padding: 40px; /* inside each square */
  --outer-gap: clamp(20px, 4vw, 40px); /* gap between squares */
  --container-padding: clamp(16px, 4vw, 32px);
  --color-outline: #023037;
}

/* Grid container */
.squares-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* default: 3 per row */
  gap: var(--outer-gap);
  background-color: #fff1cf;
  padding: var(--container-padding);
  justify-items: center;
  margin-bottom: 85px;
}

/* Square with outline (proportional) */
.square-outline {
  position: relative;
  width: 100%;
  max-width: 400px; /* capped size on large screens */
  aspect-ratio: 1 / 1; /* perfect square */
  padding: var(--inner-padding);
  box-sizing: border-box;
  background-color: inherit;
  overflow: hidden;

  border: var(--border-width) solid var(--color-outline);
  border-bottom: none;
  box-shadow: inset 6px 6px 12px #c2a867, inset -6px -6px 12px #ffffff;
}

/* Image fills inner box proportionally */
.square-outline img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right half of the bottom border */
.square-outline::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  border-bottom: var(--border-width) solid var(--color-outline);
}

/* =========================
   BREAKPOINTS (your set)
   ========================= */

/* Mobile: 0–349px (1 per row, ensure side gutters) */
@media (max-width: 349px) {
  .projects-showcase {
    --inner-padding: 14px; /* scale inner padding down with frame */
    --outer-gap: clamp(
      15px,
      7vw,
      25px
    ); /* vertical gap between stacked items */
    --container-padding: 16px; /* page edge gutter */
  }

  .squares-container {
    grid-template-columns: 1fr; /* 1 per row */
  }

  .square-outline {
    /* keep proportional gutters on each side:
       88vw keeps ~6vw gutter per side, but never exceed 340px */
    max-width: min(88vw, 340px);
    margin-inline: auto; /* center the square */
    box-shadow: inset 4px 4px 8px #c2a867, inset -4px -4px 8px #ffffff; /* soften bevel on small sizes */
  }
}

/* Mobile+: 350–767px (1 per row, a bit larger but with gutters) */
@media (min-width: 350px) and (max-width: 767px) {
  .projects-showcase {
    --inner-padding: 18px;
    --outer-gap: clamp(25px, 7vw, 54px);
    --container-padding: 20px;
  }

  .squares-container {
    grid-template-columns: 1fr;
  }

  .square-outline {
    /* Slightly wider but still maintain ~5vw side gutters; cap at 420px */
    max-width: min(90vw, 420px);
    margin-inline: auto;
  }
}

/* Tablets: 768–1023px (3 per row; shrink frames so all three + gaps fit comfortably) */
@media (min-width: 768px) and (max-width: 1023px) {
  .projects-showcase {
    --inner-padding: 20px;
    --outer-gap: 24px;
    --container-padding: 24px;
  }

  .squares-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .square-outline {
    max-width: 280px; /* sized to fit 3 across with gaps on typical tablets */
  }
}

/* Laptops: 1024–1280px (3 per row; medium frames) */
@media (min-width: 1024px) and (max-width: 1280px) {
  .projects-showcase {
    --inner-padding: 28px;
    --outer-gap: 32px;
    --container-padding: 28px;
  }

  .squares-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .square-outline {
    max-width: 340px;
  }
}

/* Desktops: 1281px+ (3 per row; larger frames) */
@media (min-width: 1281px) {
  .projects-showcase {
    --inner-padding: 36px;
    --outer-gap: 40px;
    --container-padding: 32px;
  }

  .squares-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .square-outline {
    max-width: 400px;
  }
}

/* 11. Services */
.service-cards {
  grid-area: service-cards;
  width: 100vw; /* keep exactly as requested */
  box-sizing: border-box;
  margin-bottom: clamp(30px, 6vw, 80px);
}

.service-cards h4 {
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  text-align: center;
  margin-top: 100px;
}

.service-cards h2 {
  font-family: "Poppins", sans-serif;
  font-size: 50px;
  text-align: center;
  margin-top: 10px;
}

/* Grid container (desktop/laptop default: 2 columns) */
.service-card-container {
  --cards-col-gap: 40px; /* horizontal gap */
  --cards-row-gap: 20px; /* vertical gap */
  --container-pad-x: 0px; /* extra inner padding at large sizes */

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch; /* ensure equal-height rows */
  justify-content: center;
  grid-auto-rows: 1fr; /* each row gets equal height */

  column-gap: var(--cards-col-gap);
  row-gap: var(--cards-row-gap);

  margin: 20px auto;
  max-width: 1200px;
  padding-inline: var(--container-pad-x);

  box-sizing: border-box;
}

/* Make EACH grid item stretch and allow its children to fill the height */
.service-card-basement,
.service-card-architectural,
.service-card-structural,
.service-card-hvac {
  display: flex; /* <-- important */
  height: 100%;
  box-sizing: border-box;
}

/* Link wrapper must also stretch, or the inner card won't match heights */
.service-card-link,
.service-card-link:visited {
  display: flex; /* <-- important */
  height: 100%; /* <-- important */
  width: 100%; /* avoid accidental shrink */
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.service-card-link:hover {
  text-decoration: none;
}

/* Card base fills the available height and stacks content */
.service-card {
  position: relative;
  display: flex; /* column layout for consistent bottom CTA */
  flex-direction: column;
  flex: 1; /* <-- important: fill parent height */
  min-height: 100%; /* belt-and-suspenders */
  overflow: hidden;

  border: 1px solid #dbdbdb;
  background-color: #e6e6ee;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;

  width: 100%;
  height: auto; /* height is controlled by flex now */
  margin: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    transform 0.2s ease;
  box-sizing: border-box;
}

.service-card:hover {
  border-color: #ffb703;
  background-color: #ffb703;
  cursor: pointer;
  transform: translateY(-2px);
}

/* ---------------- Icon sizing ---------------- */
.service-card > img {
  display: block;
  width: clamp(40px, 10vw, 70px);
  height: auto;
  max-height: 72px;
  object-fit: contain;
  align-self: flex-start;
  margin-bottom: 10px;
}

/* Title & text */
.service-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  text-align: left;
  margin-top: 10px;
}

.service-card p {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  text-align: left;
  margin-top: 10px;
}

/* View Service CTA pinned to bottom (thanks to flex + margin-top:auto) */
.view-service {
  color: #e6e6ee;
  font-family: "Roboto", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto; /* pushes CTA to bottom so all cards align */
  font-size: 15px;
}
.service-card:hover .view-service {
  color: #000000;
}

/* (kept exactly as you wrote it) */
.view-service .fa-solid fa-arrow-right {
  font-size: 1em;
  font-weight: normal;
  vertical-align: middle;
  transition: transform 0.2s ease;
}
/* helper selector that actually matches the icon element */
.view-service .fa-arrow-right {
  transition: transform 0.2s ease;
}
.service-card:hover .view-service .fa-arrow-right {
  transform: translateX(3px);
}

/* ---------------- Responsive Breakpoints ---------------- */

/* Mobile: 0–480px → single column, tight gaps, smaller type & smaller icon */
@media (max-width: 480px) {
  .service-cards {
    overflow-x: hidden;
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  .service-card-container {
    grid-template-columns: 1fr;
    --cards-col-gap: 20px;
    --cards-row-gap: 18px;
    --container-pad-x: 16px;
    max-width: 100%;
    padding-inline: var(--container-pad-x);
  }

  .service-card {
    padding: 16px;
  }

  .service-card > img {
    width: clamp(36px, 12vw, 56px);
    max-height: 60px;
  }

  .service-cards h4 {
    font-size: 22px;
  }
  .service-cards h2 {
    font-size: 32px;
  }
  .service-card h3 {
    font-size: 22px;
  }
  .service-card p {
    font-size: 14px;
  }
}

/* Mobile+: 481–767px → still single column, roomier */
@media (min-width: 481px) and (max-width: 767px) {
  .service-card-container {
    grid-template-columns: 1fr;
    --cards-col-gap: 24px;
    --cards-row-gap: 22px;
    --container-pad-x: 20px;
    max-width: 640px;
    padding-inline: var(--container-pad-x);
  }
  .service-card {
    padding: 18px;
  }
  .service-card > img {
    width: clamp(40px, 10vw, 64px);
    max-height: 64px;
  }
  .service-card h3 {
    font-size: 24px;
  }
  .service-card p {
    font-size: 15px;
  }
}

/* Tablets: 768–1023px → 2 columns, medium gaps */
@media (min-width: 768px) and (max-width: 1023px) {
  .service-card-container {
    grid-template-columns: repeat(2, 1fr);
    --cards-col-gap: 30px;
    --cards-row-gap: 24px;
    --container-pad-x: 30px;
    max-width: 900px;
    padding-inline: var(--container-pad-x);
  }
  .service-card > img {
    width: clamp(44px, 7vw, 68px);
    max-height: 68px;
  }
  .service-card h3 {
    font-size: 26px;
  }
}

/* Laptops: 1024–1280px → 2 columns, larger gaps */
@media (min-width: 1024px) and (max-width: 1280px) {
  .service-card-container {
    grid-template-columns: repeat(2, 1fr);
    --cards-col-gap: 40px;
    --cards-row-gap: 28px;
    --container-pad-x: 40px;
    max-width: 1100px;
    padding-inline: var(--container-pad-x);
  }
  .service-card > img {
    width: clamp(48px, 6vw, 70px);
    max-height: 70px;
  }
}

/* Desktops: 1281px+ → 2 columns, widest container */
@media (min-width: 1281px) {
  .service-card-container {
    grid-template-columns: repeat(2, 1fr);
    --cards-col-gap: 60px;
    --cards-row-gap: 30px;
    --container-pad-x: 0px;
    max-width: 1200px;
    padding-inline: var(--container-pad-x);
  }
  .service-card > img {
    width: clamp(52px, 5vw, 72px);
    max-height: 72px;
  }
  .service-card h3 {
    font-size: 30px;
  }
}

/* --- Interactivity & A11y Add-on for Service Cards -------------------- */

/* Base transitions */
.service-card {
  transition: background-color 180ms ease, border-color 180ms ease,
    transform 180ms ease, box-shadow 180ms ease;
}

/* Hover (desktop/laptop with mouse) */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    border-color: #ffb703;
    background-color: #ffb703; /* your original yellow */
    cursor: pointer;
    transform: translateY(-2px);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), -6px -6px 12px #ffffff;
  }
}

/* Active (pressed) */
.service-card:active {
  transform: translateY(0);
  box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.12),
    inset -4px -4px 10px rgba(255, 255, 255, 0.9);
}

/* Keyboard focus */
.service-card-link {
  outline: none;
}
.service-card:focus-within {
  transform: translateY(-1px);
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), -6px -6px 12px #ffffff;
}
.service-card-link:focus-visible {
  outline: 3px solid #ffb703; /* brand yellow */
  outline-offset: 6px;
  border-radius: 8px;
}

/* --- Keep your original .view-service & arrow styling ----------------- */
/* (no overrides here — your existing styles stay as-is) */

/* Touch feedback (phones/tablets) */
@media (hover: none) {
  .service-card {
    transition-duration: 120ms;
  }
  .service-card:active {
    transform: scale(0.995);
    box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.12),
      inset -4px -4px 10px rgba(255, 255, 255, 0.9);
  }
}

/* --- “Tap to view” chip on phones & tablets (≤1023px) ----------------- */
@media (max-width: 1023px), (hover: none) {
  .service-card {
    position: relative; /* ensure ::after positions correctly */
  }
  .service-card::after {
    content: "Tap to view"; /* your text */
    position: absolute;
    top: 12px;
    right: 12px;
    font: 500 15px/1 "Roboto", sans-serif;
    padding: 6px 10px;
    color: #000; /* text color */
    background: #ffb8036f; /* black background */
    border-radius: 999px;
    box-shadow: 0 0 0 1px #dbdbdb,
      /* subtle border */ 2px 2px 6px rgba(0, 0, 0, 0.1),
      /* ambient shadow */ /* dark shadow bottom right */ 6px 6px 12px #c5c5c5,
      /* white shadow top left */ -6px -6px 12px #ffffff;
    pointer-events: none; /* won’t block taps */
    z-index: 1;
  }

  /* Slightly larger chip on bigger tablets */
  @media (min-width: 768px) and (max-width: 1023px) {
    .service-card::after {
      font-size: 12px;
      padding: 7px 12px;
      top: 14px;
      right: 14px;
    }
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card:hover,
  .service-card:active,
  .service-card-link:focus-visible {
    transition: none !important;
  }
}

/* ========== 12. Know-Us-More (Responsive) ========== */

.know-us-more {
  grid-area: know-us-more;
  width: 100vw;
  background-color: #ffb803;
  padding: clamp(60px, 8vw, 120px) clamp(16px, 4vw, 40px); /* even L/R padding */
  box-sizing: border-box;
  overflow-x: hidden; /* prevent 100vw scroll bleed on mobile */
}

.know-us-more-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* images | text */
  align-items: center;
  gap: clamp(24px, 5vw, 60px);
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ---------- Images grid ---------- */
.know-us-more-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(16px, 3vw, 40px);
  row-gap: clamp(12px, 2vw, 20px);
  box-sizing: border-box;
}

.know-us-more-images .image-card:nth-child(1) {
  grid-column: 1 / span 2; /* first image full width on larger screens */
}

.image-card {
  position: relative;
  width: 100%;
  padding: clamp(8px, 1.2vw, 12px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 10px 5px rgba(255, 255, 255, 0.5);
  overflow: hidden;
  z-index: 1;
  animation: fadeInCard 0.8s ease-in-out forwards;
  opacity: 0;
  box-sizing: border-box;
}

.image-card:nth-child(2) {
  animation-delay: 0.15s;
}
.image-card:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ---------- Text column ---------- */
.know-us-more-gradient-text {
  background: linear-gradient(90deg, #000, #006a9f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}

.know-us-more-text h2 {
  margin: 0 0 clamp(8px, 1vw, 12px);
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 4.5vw, 50px);
  line-height: 1.1;
}

.know-us-more-text p {
  font-family: "Roboto", sans-serif;
  font-size: clamp(14px, 2.2vw, 20px);
  line-height: 1.55;
  margin: 0 0 clamp(16px, 2.5vw, 24px);
  color: #333;
  max-width: 60ch;
}

.know-us-more-button {
  font-family: "Roboto", sans-serif;
  font-size: clamp(13px, 1.6vw, 14px);
  color: #fff;
  background-color: #000;
  border: 1px solid #565656;
  padding: clamp(10px, 1.6vw, 12px) clamp(20px, 2.4vw, 28px);
  border-radius: 100em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease,
    box-shadow 0.25s ease;
  display: inline-block;
  /* neumorphic pair */
  box-shadow: 8px 8px 10px #a87d07, -8px -8px 10px #fdd250;
}

.know-us-more-button:hover {
  background-color: #023047;
  transform: translateY(-2px);
}

.know-us-more-button:active {
  box-shadow: inset 4px 4px 8px #010b10, inset -4px -4px 8px #006091;
  transform: translateY(0);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .image-card {
    animation: none;
    opacity: 1;
  }
  .know-us-more-button {
    transition: none;
  }
}

/* ========================
   Breakpoints (Mobile-First)
   ======================== */

/* Mobile: 0–480px — stack with equal L/R padding and no column gaps */
@media (max-width: 480px) {
  .know-us-more {
    padding-left: clamp(16px, 5vw, 24px);
    padding-right: clamp(16px, 5vw, 24px); /* ensure equal gutters */
  }
  .know-us-more-container {
    grid-template-columns: 1fr;
    gap: clamp(20px, 8vw, 40px);
    text-align: center;
    max-width: 700px; /* keeps cards comfortably inside gutters */
  }
  .know-us-more-images {
    grid-template-columns: 1fr;
    column-gap: 0; /* remove horizontal gap on mobile */
    row-gap: clamp(14px, 5vw, 20px);
  }
  .know-us-more-images .image-card:nth-child(1) {
    grid-column: auto; /* no forced span */
  }
  .image-card {
    margin: 0;
  } /* avoid asymmetry from margins */
  .know-us-more-text p {
    margin-inline: auto;
    text-align: left; /* left-align text for readability */
    margin-top: 30px;
  }
  .know-us-more-button {
    margin-top: clamp(10px, 3vw, 20px);
  }
}

/* Mobile+: 481–767px — still stacked, equal side padding */
@media (min-width: 481px) and (max-width: 767px) {
  .know-us-more {
    padding-left: clamp(16px, 4vw, 28px);
    padding-right: clamp(16px, 4vw, 28px);
  }
  .know-us-more-container {
    grid-template-columns: 1fr;
    gap: clamp(24px, 7vw, 48px);
    text-align: center;
    max-width: 700px;
  }
  .know-us-more-images {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: clamp(16px, 4vw, 22px);
  }
  .know-us-more-images .image-card:nth-child(1) {
    grid-column: auto;
  }
  .know-us-more-text p {
    margin-inline: auto;
    text-align: left; /* left-align text for readability */
    margin-top: 30px;
  }
}

/* Tablets: 768–1023px — two columns; first image spans full width in its grid */
@media (min-width: 768px) and (max-width: 1023px) {
  .know-us-more-container {
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 50px);
    text-align: left;
    max-width: 1000px;
  }
  .know-us-more-images {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(16px, 3vw, 36px);
  }
  .know-us-more-images .image-card:nth-child(1) {
    grid-column: 1 / span 2;
  }
}

/* Laptops: 1024–1280px */
@media (min-width: 1024px) and (max-width: 1280px) {
  .know-us-more-container {
    max-width: 1100px;
    gap: clamp(32px, 4.5vw, 56px);
  }
}

/* Desktops: 1281px+ */
@media (min-width: 1281px) {
  .know-us-more-container {
    max-width: 1200px;
    gap: clamp(36px, 4vw, 60px);
  }
}

/*13. Reviews*/
.reviews {
  grid-area: reviews;
  width: 100vw;
}
.reviews h2 {
  font-family: "poppins", sans-serif;
  font-size: 50px;
  text-align: center;
  margin-top: 100px;
  margin-bottom: 10px;
}
.reviews h4 {
  font-family: "poppins", sans-serif;
  font-weight: normal;
  font-size: 20px;
  text-align: center;
  margin-top: 0px;
  color: #898989;
}
.checked {
  color: orange;
}
.star-rating {
  text-align: center;
}
.excellent-text {
  font-weight: 600;
  color: #000000;
}
.rating-text-line {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  gap: 1rem;
}
/* Google-logo-css-starts here*/

#google-logo-container {
  padding: 0px;
  position: relative;
  width: auto;
  height: auto;
  p {
    position: absolute;
    margin: 0;
    bottom: 0px;
    right: 40px;
    font-size: 60px;
    color: #444;
  }
}
:root {
  --logo-size: 30px;
  --logo-border: 5px;
}
#google-logo {
  position: relative;
  width: var(--logo-size);
  height: var(--logo-size);
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border: var(--logo-border) solid #f1f1f1;
  box-shadow: 0 0px 4px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);
  &::after {
    position: absolute;
    content: "";
    display: block;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: #f1f1f1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 4;
  }
  &::before {
    position: absolute;
    content: "";
    display: block;
    width: 35%;
    height: 32%;
    background: #f1f1f1;
    right: 0;
    z-index: 10;
    bottom: 50%;
    transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
  }
  .g-line {
    width: 50%;
    height: 20%;
    background: #0091ea;
    position: absolute;
    right: 0;
    margin: auto;
    border-bottom-right-radius: 4px 20px;
    top: 0;
    bottom: 0;
    z-index: 15;
  }

  .yellow {
    width: 40%;
    height: 40%;
    position: absolute;
    left: -15%;
    bottom: 32%;
    margin: auto;
    background: #ffc107;
    transform: rotateZ(-48deg);
    -webkit-transform: rotateZ(-48deg);
    z-index: 3;
  }
  .green {
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    border-radius: 0 0 100% 100%;
    background: #4caf50;
    z-index: 2;
  }
  .blue {
    position: absolute;
    width: 0px;
    height: 0px;
    right: 0;
    z-index: 30;
    top: 50%;
    z-index: 2;
    width: 35%;
    height: 32%;
    background: #0091ea;
    right: 0;
    z-index: 2;
    transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
  }
  .red {
    width: 81%;
    height: 50%;
    position: absolute;
    top: 0px;
    background: #f44336;
  }
}
/* Google-logo-css-ends here*/

/* 14. Review Carousel */
.review-carousel {
  grid-area: review-carousel;
  margin: 0 auto;
  width: 100vw;
}
.quote-mark {
  width: 30px;
  height: auto;
}

.carousel-track-container {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-slide {
  width: calc(100% / 3); /* 3 slides visible */
  box-sizing: border-box;
  padding: 20px;
}

.review-card {
  position: relative;
  background: rgba(255, 255, 255, 0.15); /* translucent */
  backdrop-filter: blur(12px) saturate(0%);
  -webkit-backdrop-filter: blur(12px) saturate(0%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.5); /* glass highlight */
  border: 1px solid rgba(255, 255, 255, 0.574);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  height: auto;
}

.review-text {
  overflow: hidden;
  transition: height 0.3s ease;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
}

.review-card.expanded .review-text {
  height: auto;
  overflow: visible;
}

.see-more {
  font-family: "Roboto", sans-serif;
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
  background: none;
  border: none;
  color: #023047;
  cursor: pointer;
  font-size: 15px;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}
.review-card h3 {
  font-family: "Roboto", sans-serif;
}

.carousel-dots .dot {
  height: 10px;
  width: 10px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.carousel-dots .active {
  background-color: #023047;
}
.client-ratings {
  margin-bottom: 40px;
}

.prev-btn,
.next-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #023047;
}
.review-author {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-weight: bold;
  font-family: "Roboto", sans-serif;
  color: #555;
}
.prev-btn,
.next-btn {
  width: 37px;
  height: 37px;
  background-color: #e6e6ee; /* light background for neu effect */
  color: #023047; /* dark blue arrow */
  border: #dbdbdb 1px solid; /* light border */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;

  /* Neumorphic dual shadows */
  box-shadow: 6px 6px 12px #c5c5c5,
    /* dark shadow bottom-right */ -6px -6px 12px #ffffff; /* light highlight top-left */
}
.prev-btn:active,
.next-btn:active {
  /* inset shadows for “pressed” look */
  background: inherit;
  box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
  color: #666;
}

/* Optional hover effect */
.prev-btn:hover,
.next-btn:hover {
  background-color: #f4f4f4;
}

/* Make arrows thicker using Font Awesome */
.prev-btn i,
.next-btn i {
  font-weight: 800; /* Make arrow bold */
  font-size: 20px;
  color: 023047;
}

/*Responsive ness*/
@media (max-width: 767px) {
  .review-carousel {
    margin-inline-start: 0px;
    width: 100vw;
    box-sizing: border-box;
    padding-inline: clamp(1px, 10vw, 50px);
  }
  .carousel-controls {
    gap: 10px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .review-carousel {
    margin-inline-start: 0px;
    width: 100vw;
    box-sizing: border-box;
    padding-inline: clamp(50px, 10vw, 100px);
  }
  .carousel-controls {
    gap: 10px;
  }
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .review-carousel {
    margin-inline-start: 0px;
    width: 100vw;
    box-sizing: border-box;
    padding-inline: clamp(100px, 10vw, 200px);
  }
  .carousel-controls {
    gap: 10px;
  }
}
@media (min-width: 1281px) and (max-width: 1880px) {
  .review-carousel {
    width: 100vw;
    margin-inline-start: 0px;
    box-sizing: border-box;
    padding-inline: clamp(200px, 10vw, 300px);
  }
  .carousel-controls {
    gap: 10px;
  }
}
@media (min-width: 1881px) {
  .review-carousel {
    width: 100vw;
    margin-inline-start: 0px;
    box-sizing: border-box;
    padding-inline: clamp(300px, 10vw, 400px);
  }
  .carousel-controls {
    gap: 10px;
  }
}
/* -----------------------------------------------------------
   PERMIT STEPS — aligned centerline + your breakpoint scale
----------------------------------------------------------- */

/* Base tokens (0–480px default; overridden per breakpoint) */
:root {
  --icon-size: 60px;
  --dot-size: 14px;
  --line-width: 2px;
  --label-gap: 24px;
  --label-font-size: 16px;
  --h3-col: 9.5ch; /* fixed column for the H3 label */
  --step-gap: 40px; /* vertical gap between step rows */
}

/* 15. what-to-do-next-text */
.what-to-do-next-text {
  grid-area: what-to-do-next-text;
  font-family: "poppins", sans-serif;
  font-size: 40px;
  color: #023047;
  background-color: #ff8500;
  text-align: center;
  margin-top: 100px;
  margin-bottom: 10px;
  width: 100vw;
  max-width: 100%;
}

/* 16. permit-steps */
.permit-steps {
  grid-area: permit-steps;
  display: flex;
  flex-direction: column;
  gap: var(--step-gap);
  width: 100vw;
  max-width: 100%; /* avoid 100vw scrollbar spill */
  box-sizing: border-box;
  padding-inline-start: clamp(16px, 5vw, 40px);
  padding-inline-end: clamp(16px, 5vw, 40px);
}

/* Each row: shared vertical centerline */
.step {
  display: grid;
  grid-template-columns: auto 1fr; /* left stack | right label */
  align-items: center; /* TRUE shared centerline */
  gap: 20px;
  position: relative;
}

/* LEFT: icon + dot stack */
.left {
  display: grid;
  grid-auto-flow: column;
  align-items: center; /* vertically center icon & dot */
  gap: 32px;
}

/* Icon (no nudges) */
.icon {
  width: var(--icon-size);
  height: var(--icon-size);
  min-width: var(--icon-size);
  display: grid;
  place-items: center;
  font-size: 50px;
  color: #023047;
  opacity: 0;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}
.step.active .icon {
  opacity: 1;
}

/* Dot stack matches icon height so centers align */
.dot-stack {
  position: relative;
  display: grid;
  place-items: center; /* center the circle on the row centerline */
  height: var(--icon-size);
}

/* Circle centered */
.circle {
  width: var(--dot-size);
  height: var(--dot-size);
  background-color: #023047;
  border-radius: 50%;
  opacity: 0;
  z-index: 1;
  margin: 0;
}

/* Line grows from just under circle center */
.line {
  position: absolute;
  left: 50%;
  width: var(--line-width);
  background-color: #023047;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  transition: transform 0.6s ease;
  top: calc(50% + (var(--dot-size) / 2));
  height: 0; /* your JS sets actual height */
}
.step.active .line {
  transform: translateX(-50%) scaleY(1);
}

/* LABEL: fixed first column for H3; second column for P/button */
.label {
  display: grid;
  grid-template-columns: var(--h3-col) 1fr;
  column-gap: var(--label-gap);
  row-gap: 6px;
  align-items: center; /* same centerline as icon/dot */
  font-family: "poppins", sans-serif;
  font-weight: 500;
  font-size: var(--label-font-size);
  color: #023047;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.step.active .label {
  opacity: 1;
}

.label h3 {
  margin: 0;
  text-align: left; /* requested: left align */
  white-space: nowrap; /* avoid early wrap; relaxed ≤324px */
  font-family: "poppins", sans-serif;
}
.label p {
  margin: 0;
  font-family: "Roboto", sans-serif;
}
/* Buttons inside label flush-left in body column */
.label .design-request-button {
  justify-self: start;
}

/* Last step: hide hanging line */
.step.last .line {
  display: none;
}

/* Active circle glow */
.step.active .circle {
  opacity: 1;
  z-index: -1;
  box-shadow: 0 0 15px 1px #ffb703;
  transition: opacity 0.6s ease, box-shadow 0.3s ease 0.3s;
}

/* Ultra-small safety: stack label to avoid overflow ≤324px */
@media (max-width: 324px) {
  .label {
    grid-template-columns: 1fr;
    column-gap: 0;
    align-items: start;
  }
  .label h3 {
    white-space: normal;
    margin-bottom: 4px;
    text-align: left;
  }
}

/* -----------------------------------------------------------
   YOUR BREAKPOINTS
----------------------------------------------------------- */

/* 481–767px */
@media (min-width: 481px) and (max-width: 767px) {
  :root {
    --icon-size: 64px;
    --dot-size: 14px;
    --label-gap: 28px;
    --label-font-size: 17px;
    --h3-col: 10ch;
    --step-gap: 48px;
  }
  .permit-steps {
    padding-inline-start: clamp(16px, 8vw, 80px);
    padding-inline-end: clamp(16px, 8vw, 80px);
  }
}

/* 768–1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  :root {
    --icon-size: 70px;
    --dot-size: 16px;
    --label-gap: 32px;
    --label-font-size: 18px;
    --h3-col: 11ch;
    --step-gap: 56px;
  }
  .permit-steps {
    padding-inline-start: clamp(24px, 12vw, 200px);
    padding-inline-end: clamp(24px, 12vw, 200px);
  }
}

/* 1025–1280px */
@media (min-width: 1025px) and (max-width: 1280px) {
  :root {
    --icon-size: 70px;
    --dot-size: 16px;
    --label-gap: 36px;
    --label-font-size: 18px;
    --h3-col: 11ch;
    --step-gap: 60px;
  }
  .permit-steps {
    padding-inline-start: clamp(32px, 14vw, 320px);
    padding-inline-end: clamp(32px, 14vw, 320px);
  }
}

/* 1281–1880px */
@media (min-width: 1281px) and (max-width: 1880px) {
  :root {
    --icon-size: 74px;
    --dot-size: 16px;
    --label-gap: 40px;
    --label-font-size: 18px;
    --h3-col: 11ch;
    --step-gap: 64px;
  }
  .permit-steps {
    padding-inline-start: clamp(40px, 15vw, 380px);
    padding-inline-end: clamp(40px, 15vw, 380px);
  }
}

/* ≥1881px */
@media (min-width: 1881px) {
  :root {
    --icon-size: 80px;
    --dot-size: 18px;
    --label-gap: 44px;
    --label-font-size: 19px;
    --h3-col: 12ch;
    --step-gap: 68px;
  }
  .permit-steps {
    padding-inline-start: clamp(48px, 16vw, 420px);
    padding-inline-end: clamp(48px, 16vw, 420px);
  }
}

/* -----------------------------------------------------------
   CONTACT BUTTON (unchanged)
----------------------------------------------------------- */

.design-request-button {
  display: flex;
  vertical-align: middle;
  align-items: center;
  width: auto;
  max-width: 100%;
  margin: 0;
  all: unset;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  position: relative;
  border-radius: 100em;
  background-color: rgba(0, 0, 0, 0.75);
  box-shadow: -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.25),
    0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.1);
}
.design-request-button::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: calc(100% + 0.3em);
  height: calc(100% + 0.3em);
  top: -0.15em;
  left: -0.15em;
  border-radius: inherit;
  background: linear-gradient(
    -135deg,
    rgba(5, 5, 5, 0.5),
    transparent 20%,
    transparent 100%
  );
  filter: blur(0.0125em);
  opacity: 0.25;
  mix-blend-mode: multiply;
}
.design-request-button .design-request-button-outer {
  position: relative;
  z-index: 1;
  border-radius: inherit;
  transition: box-shadow 300ms ease;
  will-change: box-shadow;
  box-shadow: 0 0.05em 0.05em -0.01em rgba(5, 5, 5, 1),
    0 0.01em 0.01em -0.01em rgba(5, 5, 5, 0.5),
    0.15em 0.3em 0.1em -0.01em rgba(5, 5, 5, 0.25);
}
.design-request-button:hover .design-request-button-outer {
  box-shadow: 0 0 0 0 rgba(5, 5, 5, 1), 0 0 0 0 rgba(5, 5, 5, 0.5),
    0 0 0 0 rgba(5, 5, 5, 0.25);
}
.design-request-button-inner {
  --inset: 0.035em;
  position: relative;
  z-index: 1;
  border-radius: inherit;
  padding: 0.8em 1.12em;
  background-image: linear-gradient(135deg, #ffb703, #ff8500);
  transition: box-shadow 300ms ease, clip-path 250ms ease,
    background-image 250ms ease, transform 250ms ease;
  will-change: box-shadow, clip-path, background-image, transform;
  overflow: clip;
  clip-path: inset(0 0 0 0 round 100em);
  box-shadow:
    /* 1 */ 0 0 0 0 inset rgba(5, 5, 5, 0.1),
    /* 2 */ -0.05em -0.05em 0.05em 0 inset rgba(5, 5, 5, 0.25),
    /* 3 */ 0 0 0 0 inset rgba(5, 5, 5, 0.1),
    /* 4 */ 0 0 0.05em 0.2em inset rgba(255, 255, 255, 0.25),
    /* 5 */ 0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 1),
    /* 6 */ 0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.25),
    /* 7 */ -0.075em -0.25em 0.25em 0.1em inset rgba(5, 5, 5, 0.25);
}
.design-request-button:hover .design-request-button-inner {
  clip-path: inset(
    clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px)
      clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) round 100em
  );
  box-shadow:
    /* 1 */ 0.1em 0.15em 0.05em 0 inset rgba(5, 5, 5, 0.75),
    /* 2 */ -0.025em -0.03em 0.05em 0.025em inset rgba(5, 5, 5, 0.5),
    /* 3 */ 0.25em 0.25em 0.2em 0 inset rgba(5, 5, 5, 0.5),
    /* 4 */ 0 0 0.05em 0.5em inset rgba(255, 255, 255, 0.15),
    /* 5 */ 0 0 0 0 inset rgba(255, 255, 255, 1),
    /* 6 */ 0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.25),
    /* 7 */ -0.075em -0.12em 0.2em 0.1em inset rgba(5, 5, 5, 0.25);
}
.design-request-button .design-request-button-inner span {
  position: relative;
  z-index: 4;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.05em;
  font-weight: 500;
  color: rgba(0, 0, 0, 0);
  background-image: linear-gradient(135deg, rgba(25, 25, 25, 1), #023047);
  -webkit-background-clip: text;
  background-clip: text;
  transition: transform 250ms ease;
  display: block;
  will-change: transform;
  text-shadow: rgba(0, 0, 0, 0.1) 0 0 0.1em;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.design-request-button:hover .design-request-button-inner span {
  transform: scale(0.975);
}
.design-request-button:active .design-request-button-inner {
  transform: scale(0.975);
}

/*17 On the Blog*/
.latest-blogs {
  position: relative;
  overflow: hidden;
  grid-area: latest-blogs;
  box-sizing: border-box;
  padding: 16px clamp(16px, 4vw, 100px);
  background-color: #023047;
  text-align: center;
  z-index: 1;
  width: 100vw;
}
.rotated-square {
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.1);
  top: 0;
  left: 0;
  transform: rotate(25deg);
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  animation: floatSquare 20s linear infinite;
}
@keyframes floatSquare {
  0% {
    transform: translate(0, 0) rotate(25deg);
  }
  50% {
    transform: translate(50px, 50px) rotate(45deg);
  }
  100% {
    transform: translate(0, 0) rotate(25deg);
  }
}
.latest-blogs {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Existing top-left square */
.rotated-square {
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.1);
  top: 0;
  left: 0;
  transform: rotate(25deg);
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  animation: floatSquare 20s linear infinite;
}

@keyframes floatSquare {
  0% {
    transform: translate(0, 0) rotate(25deg);
  }
  50% {
    transform: translate(50px, 50px) rotate(45deg);
  }
  100% {
    transform: translate(0, 0) rotate(25deg);
  }
}

/* NEW: Bottom-right floating circle */
.latest-blogs::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  bottom: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  z-index: 0;
  pointer-events: none;
  animation: floatCircle 20s linear infinite;
}

@keyframes floatCircle {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, -30px) scale(0.8);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Optional: shrink on mobile */
@media (max-width: 480px) {
  .latest-blogs::after {
    width: 200px;
    height: 200px;
  }
}

.latest-blogs-title {
  position: relative;
  font-size: 50px;
  margin-bottom: 40px;
  font-family: "Poppins", sans-serif;
  color: #fff;
  z-index: 1;
}

.blog-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.blog-card {
  position: relative;
  flex: 1 1 300px;
  max-width: 360px;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  padding-bottom: 35px;
  z-index: 2;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-img-wrapper {
  padding: 20px;
}

.blog-img-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

.blog-card-text {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  display: flex;
  justify-content: flex-start;
  align-items: left;
  gap: 6px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 12px;
  font-family: "Roboto", sans-serif;
}

.blog-date i {
  color: #fff;
  justify-content: flex-start;
  text-align: left;
}

.blog-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
  text-align: left;
  font-family: "Poppins", sans-serif;
}

.blog-card p {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #fff;
  line-height: 1.5;
  text-align: left;
  font-family: "Roboto", sans-serif;
  margin: 0;
}

.learn-more-wrapper {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 20px;
}
.learn-more-plain {
  font-family: "Roboto", sans-serif;
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  color: #fff;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.learn-more-plain::after {
  font-family: "Roboto", sans-serif;
  content: "→"; /* arrow */
  font-size: 14px;
  color: #fff;
}

.view-all-blogs {
  display: inline-block;
  margin-top: 10px;
  font-size: 20px;
  color: #023047;
  font-weight: 600;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  transition: color 0.3s ease;
}

.view-all-blogs:hover {
  color: #000;
}

/*18. footer*/
.footer {
  grid-area: footer;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  padding-top: 50px;
  padding-bottom: 90px;
  margin-top: -20px;
  width: 100vw;
}

.square-container {
  position: relative;
  width: 240px;
  height: auto;
  background-color: #fff;
}

/* Square animation block */
.square {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  z-index: 1;
}

.square svg {
  position: relative;
  width: 100%;
  height: 100%;
}

.square-border path {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  transition: stroke-dashoffset 3s ease-out;
}

.square.animate .square-border path {
  stroke-dashoffset: 0;
}

.square::after {
  content: "";
  position: absolute;
  inset: 10px;
  background: #023047;
  opacity: 0;
  z-index: 0;
}

.square.animate::after {
  animation: fade-fill 1s ease-in-out forwards;
  animation-delay: 1.5s;
}

/* Pencil Logo */
.pencil-logo {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-41.3%);
  width: 100%;
  max-width: 240px;
  opacity: 0;
  transition: opacity 1s ease-in-out 2.3s;
  z-index: 2;
}

/* Text Logo */
.square-logo-below {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 230px;
  opacity: 0;
  transition: opacity 1s ease-in-out 2.3s;
  z-index: 2;
  background-color: #fff;
}

/* Trigger fade-in */
.square.animate ~ .pencil-logo,
.square.animate ~ .square-logo-below {
  opacity: 1;
}

@keyframes fade-fill {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Ensure it scales on mobile */
@media (max-width: 480px) {
  .square-container {
    width: 160px;
  }

  .pencil-logo {
    top: -16px;
    transform: scale(1.4) translateX(-43px);
    transform-origin: center;
  }

  .square-logo-below {
    top: 85px;
  }
}

/* NEW: Footer Columns Section */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-top: 80px; /* Creates space below the logo */
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
}

.footer-column {
  text-align: left;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #023047;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-column p {
  margin: 6px 0;
  font-size: 14px;
  color: #333;
}

.footer-column a {
  color: #333;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-column .footer-image-peo {
  max-width: 250px;
  height: auto;
  margin-bottom: 12px;
  border-radius: 4px;
}
.footer-column .footer-image-hrai {
  max-width: 110px;
  height: auto;
  margin-bottom: 12px;
  border-radius: 4px;
}
/* Social Icons Container */
.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.social-icons a {
  font-size: 22px;
  color: #333; /* Monochrome */
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

/* Optional: Brand hover colors */
.social-icons a[aria-label="Instagram"]:hover {
  color: #e1306c;
}
.social-icons a[aria-label="Facebook"]:hover {
  color: #3b5998;
}
.social-icons a[aria-label="YouTube"]:hover {
  color: #ff0000;
}
.social-icons a[aria-label="LinkedIn"]:hover {
  color: #0077b5;
}
.social-icons a[aria-label="Twitter"]:hover {
  color: #1da1f2;
}
.social-icons a[aria-label="TikTok"]:hover {
  color: #010101;
}

/* Responsive alignment */
@media (max-width: 768px) {
  .social-icons {
    justify-content: center;
  }
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
  }

  .footer-column {
    align-items: center;
  }
}
@media (max-width: 768px) {
  .social-icons {
    justify-content: center;
  }
}

/*19 Notes*/
.notes {
  grid-area: notes;
  font-family: "Roboto", sans-serif;
  text-align: center;
  background-color: #fff;
  margin-top: 0px;
  width: 100vw;
}

/* ======================================
💡 Responsive Overrides – Tablet & Up
Mobile:    0-480px           (small phones or portrait orientation)
Mobile:    481px-767px       (large phones or landscape orientation)
Tablets:   768px-1023px      (iPads, android tablets and foldables)
Laptops:   1024px-1280px     (laptops, small desktop screens)
Desktop:   1281px            (Desktop or large screens)
======================================= */
