@import url("base/reset.css");
@import url("base/variables.css");
@import url("base/colours.css");
@import url("base/theme.css");
@import url("/assets/fonts/font.css");
@import url("/css/components/services.css");
@import url("/css/components/logo-car.css");
@import url("/css/components/testimonials.css");
@import url("/css/components/whyus.css");
.navbar {
    z-index: 99;
}
/* Base state: Hidden, transparent, and unblurred */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3); /* Slightly lighter tint since blur adds separation */
  
  /* Performance optimization: prepares the GPU for the transition */
  will-change: opacity, backdrop-filter; 
  
  /* The blur effect configuration */
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px); /* Required for Safari support */
  
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
  z-index: 1;
}

/* Active state: Fades in the dim and smoothly brings up the blur */
.nav-overlay.overlay-open {
  opacity: 1;
  visibility: visible; 
  
  /* A subtle 4px blur is the sweet spot for elegance and speed */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.quote {
    padding-bottom: 15px;
}
.txtsquish {
    line-height: 1.4;
}

.hero {
    background-image: url(/assets/images/hero-bg.webp);
    background-repeat: no-repeat;
    background-size: 70%;
    background-position: center;
    padding-top: calc(var(--nav-hei) + 6.25vw);
    padding-bottom: 6.25vw;
}
.navlistitem:hover {
    color: var(--pri);
}
.navimg {
    height: 60px;
    width: 60px;
}
.navlogo a {
    line-height: 1.1;
}
.hamburger {
    position: relative;
    display: none;
    row-gap: 7px;
}
.bar {
    height: 2px;
    width: 30px;
    background-color: var(--pri);
    transition: all 0.3s ease;
}

/* For JS */
.nav-open {
    top: 10% !important;
    opacity: 1 !important;
}
.ham-open .bar {
    background-color: var(--bgl);
}
.ham-open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.ham-open .bar:nth-child(2) {
    opacity: 0;
}
.ham-open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


.vert-bord {
    width: 2px;
    min-height: 230px;
    background-color: var(--uil);
}
.spacer-s {
    display: block;
    height: 20px;
}
.spacer-m {
    display: block;
    height: 40px;
}
.service-section {
    width: auto;
    padding-top: 20px;
}

@media (max-width: 1000px) {
    .navlogo h3 {
        display: none;
    }
    .navlogo {
        column-gap: 5vw !important;
    }
    .navlogo img {
        display: block !important;
        height: 60px;
    }
    .navcontent {
        justify-content: center;
        max-width: 75% !important;
        column-gap: 5vw;
    }
    .navlist {
        justify-content: center !important;
        column-gap: inherit;
    }
}

@media (max-width: 768px) {
    .navcontent {
        justify-content: space-between;
    }
    .hamburger {
        display: flex;
        flex-direction: column;
        z-index: 100;
    }
    .navlist {
        z-index: 99;
        background-color: var(--bgl);
        color: var(--bgd) !important;
        opacity: 0;
        width: 50%;
        position: fixed;
        padding: 30px;
        flex-direction: column;
        align-items: center;
        row-gap: 30px;
        border: 1px solid var(--uil);
        border-radius: var(--radxl);
        top: calc(0% - 350px);
        transition: all 0.3s ease-in-out;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .navlogo h3 {
        display: flex !important;
    }
}
@media (max-width: 391px) {
    .testimonials::after {
        padding-bottom: 200px;
    }
}