html{overflow-x: hidden;}
    body {
      margin: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #0f0f1a;
      color: #f0f0f0;
      overflow: hidden;
    }
    header {
      background: linear-gradient(135deg, #12122c, #1f1f3f);
     
    }
    header nav{
      position: sticky;
      top: 0;
      z-index: 1000;
      backdrop-filter: blur(8px); /* optional, for a modern glassy look */
      padding: 10px 0; /* optional, adjust based on design */
      background:rgba(0,0,0,0.7);
      width:100%;
      text-align:center;
        box-shadow: 0 0 6px rgba(255, 255, 255, 0.2);

    }

   nav ul{
    margin:0 auto;
    text-align:center;
    display:flex;
    justify-content:center;
    align-items:center;
   }

    h1 {
      font-size: clamp(1.5rem, 6vw, 2.5rem);
      color:gold;
    }

    h2 {
      font-size: clamp(1rem, 4vw, 1.5rem);
      color:gold;
    }

    h3{
      color:gold;
    }
    section {
      padding: 2rem;
    }
    @media (max-width: 768px){
      section{
        padding:0; 
      }
    }

    .services {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
    }
    .service-card {
      background: #1a1a2e;
      padding: 1.5rem;
      border-radius: 1rem;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
      transition: transform 0.3s ease;
    }
    .service-card:hover {
      transform: translateY(-5px);
    }
    footer {
      text-align: center;
      padding: 4rem;
      font-size: 0.8rem;
      color: #aaa;
      background-color:#222246;

    }
   
    header ul li { 
      padding: 0.5em 1em;
      float:left;
    }

     header ul li a {
      position: relative;
      display: inline-block;
      color: white;
      text-decoration: none;
      padding-bottom: 4px;
    }
  
    header ul li a:hover {
      color:gold;
    }
   

    header ul li a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      height: 2px;
      margin-bottom:-4px;
      width: 0;
      background: gold; /* or use `repeating-linear-gradient()` for dashes */
      transition: width 0.4s ease-in-out;
      z-index: 1;
      background: repeating-linear-gradient(
        to right,
        gold,
        gold 4px,
        transparent 4px,
        transparent 8px
      );
      box-shadow: 0 0 6px gold;

    }

    header ul li a:hover::after {
      width: 100%;
    }



    #site-header-inner {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    header ul {
      position: static;
      margin-top: 0rem;
      list-style: none;
    }

    .hamburger {
      display: none;
      font-size: 2rem;
      cursor: pointer;
      color: gold;
      padding: 0.5em;
      z-index: 9999;
    }

    .hamburger:hover{
      background: #223;
      transition: 0.3s ease-in-out;
    }

    #mobile-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100%;
      background: #1a1a2e;
      transition: right 0.33s ease-in-out;
      padding: 2rem;
      z-index: 9998;
    }
    #mobile-menu ul{
      display: block;
    }
    #mobile-menu ul li {
      padding: 1em 0;
    display: block;
    float: none;
    background: #223;
    }
    @media (max-width: 768px) {
      .hamburger { display: block; }
      nav ul#desktop-menu { display: none; }
    }



    #close-menu, #close-quote {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: transparent;
      border: none;
      font-size: 2rem;
      color: gold;
      cursor: pointer;
      z-index: 10000;
      transition: transform 0.3s ease;
    }
    #close-menu:hover, #close-quote:hover {
      transform: rotate(90deg);
      color: #ffd700;
    }


    #site-header {
      position: sticky;
      top: 0;
      z-index: 10;
      backdrop-filter: blur(6px);
      transition: all 0.3s ease;
      padding: 20px 0 0 0;
    }

    #site-header.scrolled {
      padding: 4px 0;
      position:fixed;
      width:100%;
    }

    .logo {
      height:200px;
      width:auto;
      transition: height 0.3s ease;
    }

    #site-header.scrolled .logo {
      height: 80px;
      position: absolute;
      right:0;
      top:0;
      z-index: 10000;
    }

    #site-header.scrolled .logo-container {
      position: absolute;
      top: 10px;
      right: 20px;
      z-index: 1001;
    }

    .logo {
      height: 150px;
      width: auto;
      transition: height 0.3s ease;
    }

    #site-header.scrolled .logo {
      height: 80px;
    }

     

    canvas {

      display: block;
      position: absolute;
      top: -33px;
      left: 0;
      z-index: 0;
      pointer-events: none;
      width: 100% !important;
      height: auto !important;
    }

    #site-header.scrolled canvas {
      visibility: hidden;
      top:-100px;
    }
    header img.logo {
      position: static;
      max-width: 200px;
      margin-bottom: 1rem;
    }

    @media (max-width: 920px){
          header img.logo {
            position: relative;
            z-index: 999;
          }

    }

    #main-content header{
      padding:25px; 
      text-align: center;
    }

    #estimator-fab {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      background: gold;
      color: #0f0f1a;
      padding: 1rem;
      border-radius: 50%;
      font-weight: bold;
      box-shadow: 0 0 8px gold;
      cursor: pointer;
      z-index: 9999;
    }

    #estimator-popover {
      display: none;
      position: fixed;
      bottom: 5rem;
      right: 2rem;
      background: #12122c;
      color: white;
      padding: 1.5rem;
      border-radius: 1rem;
      box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
      z-index: 9998;
      max-width: 80%;
    }

    #estimator-fab {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      background: gold;
      color: #0f0f1a;
      padding: 1rem;
      border-radius: 50%;
      font-weight: bold;
      box-shadow: 0 0 8px gold;
      cursor: pointer;
      z-index: 9999;
    }

    #fab-shimmer {
      position: fixed;
    bottom: 1rem;
    right: 0rem;
    width: 200px !important;
    height: 100px !important;
    z-index: 9998;
    pointer-events: none;
    top: auto;
    left: auto;
    pointer-events: none;
    }

    #estimator-popover {
      display: none;
      position: fixed;
      bottom: 5rem;
      right: 2rem;
      background: #12122c;
      color: white;
      padding: 2rem;
      border-radius: 1rem;
      box-shadow: 0 0 20px gold;
      z-index: 9998;
      width: 300px;
      max-width: 90%;
    }

    #estimator-popover button {
      margin-top: 1rem;
      background: gold;
      border: none;
      padding: 0.5em 1em;
      color: black;
      font-weight: bold;
      border-radius: 6px;
      cursor: pointer;
    }

    #estimator-popover input[type="text"],
    #estimator-popover input[type="email"],
    #estimator-popover textarea 
    {
      border:1px solid rgba(255,255,255,0.5);
    }

    .fade-step {
      animation: fadeIn 0.5s ease forwards;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    #quote-preview{
      display: none;
      background: rgb(17, 17, 17);
      padding: 1rem;
      border: 1px solid rgb(68, 68, 68);
      border-radius: 0.5rem;
      margin-top: 1rem;
      position: fixed;
      top: 10px;
      bottom: 10px;
      left: 10px;
      right: 10px;
      z-index: 9999;
      transition: height 0.3s ease;

    }

.service-card button {
  margin-top: 1em;
  padding: 0.6em 1.2em;
  border: none;
  background: gold;
  color: #111;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.service-card button:hover {
  background: #ffd700;
}

footer input, footer textarea {
  border:1px solid silver;
  color:white;
}

footer input:focus, footer textarea:focus {
  border:1px solid silver;
  color:white;
}
footer label{
float:left;
}


.website-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
