*{
  margin:0px;
  padding:0px;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --gray:#222222;
  --black:#1B1B1B;
  --darkblack:#0A0A0A;
  --gold: #fbc011;
  --orange: #FF7900;
  --lg:#f8f8f8;
  --mg:#A3A3A3;
  --tree-bg-brown:url(images/tree-background-brown.webp);

}

body {
  font-family: "Merriweather", serif;
  font-family: "Raleway", sans-serif;
/*  body color */
  background: white;
/*  text color*/
  color: var(--gray);
  line-height: 1.5em;
  margin: 0;
}

h1, h2, h3, h4{
/*font-family: "Raleway", sans-serif;
font-family: "Merriweather", serif;*/
text-transform: uppercase;
letter-spacing: 5px;
}

h1{
  line-height: 1.3em;
  font-size: 2.5em;
  margin-bottom: 30px;
}

h2, h3, h4{
  letter-spacing: 1px;
}

p, h2, h3, h4 {
  margin-bottom: 20px;
  margin-top: 0px;
}

h2{
  font-weight: 200;
}

h3{
  font-size: 1.5em;
  text-transform: uppercase;
}

a{
  text-decoration: none;
  transition: .3s;
  color: inherit;
}

ul, ol{
  padding-left:40px;
}

ul li, ol li{
  margin-bottom: 5px;
}

.subpage-content p a{
  border-bottom: 1px solid var(--gold);
  font-weight: 600;
}

.subpage-content p a:hover{
  color: var(--gold);
}

.subpage-content h2{
  font-weight: 800;
}

.container{
  position: relative;
}

/*HOMEPAGE UNIVERSAL STYLES*/

/* Slideshow container */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 0s linear 1s; /* Smooth fade */
}

/* Active slide with fade-in effect */
.slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease-in-out, visibility 0s linear 0s;
}

/* Hero content */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-text a {
    text-decoration: none;
    background-color: var(--gold);
    color: white;
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
}

/* Navigation buttons */
.slideshow-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.prev, .next {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 2rem;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Add background images */
#slide1 { 
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), 
  url(images/homepage-hero.webp) no-repeat center;
    background-size: cover;
}
#slide2 { 
  background: linear-gradient(to bottom, rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), 
  url(images/hero2.webp) no-repeat center;
    background-size: cover;
}
#slide3 { 
  background: linear-gradient(to bottom, rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), 
  url(images/hero6.webp) no-repeat center;
    background-size: cover;
}
#slide4 { 
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/hero4.webp) no-repeat center;
    background-size: cover;
}
#slide5 { 
  background: linear-gradient(to bottom, rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), 
  url(images/hero3.webp) no-repeat center;
    background-size: cover;
}
#slide6 { 
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/project4.5.webp) no-repeat center;
    background-size: cover;
}

/* Keep your hero text inside the container centered */
.hero-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top:60px;
}

/* Navigation button styling */
.swiper-button-next,
.swiper-button-prev {
    color: var(--gold) !important;
}

.subpage-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/subpage-hero1.jpg) no-repeat center;
    background-size: cover;
}

.subpage-hero h1{
  margin-bottom: 0px;
  text-align: center;
}

.subpage-content{
  background: var(--lg);
}

.thermoplastic-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/thermoplastic-hero1.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 40%;
}

.contact-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/contact-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 40%;
}

.channelizers-tape-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/channelizers-tape-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 40%;
}

.traffic-paint-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/traffic-paint-hero1.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 50%;
}

.raised-pavement-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/raised-pavement-hero1.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 50%;
}

.traffic-signs-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/traffic-signs-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 10%;
}

.careers-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/careers-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 50%;
}

.about-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/about-hero1.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 30%;
}

.traffic-stripe-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/traffic-stripe-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 30%;
}

.paint-striping-marking-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/paint-striping-marking-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 30%;
}

.thermoplastic-striping-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/thermoplastic-striping-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 30%;
}

.monuments-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/monuments-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 30%;
}

.bike-lane-installation-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/bike-lane-installation-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 30%;
}

.barricades-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/barricades-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% -5%;
}

.rumble-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/rumble-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 15%;
}

.recessed-traffic-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/recessed-traffic-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 18%;
}

.recessed-pavement-markers-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/recessed-pavement-markers-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 40%;
}

.roadside-traffic-signs-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/roadside-traffic-signs-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 15%;
}

.runway-taxiway-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/runway-taxiway-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 15%;
}

.airport-hero{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  color: white;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
  url(images/airport-hero.jpg) no-repeat center;
  background-size: cover;
  background-position: 50% 40%;
}


/*** DESKTOP STYLES ***/
@media (width >= 1100px) {

  .container {
    width: 1100px;
    margin:0 auto;
  }

  .content{
    padding: 80px 0;
    overflow: hidden;
  }
  
  /*** HEADER DESKTOP STYLES ***/

  #mobile-section{
    display: none;
  }

  #mobile-logo{
    display: none;
  }

  #navContainer{
    width: 100%;
    transition: all .4s;
    position: fixed;
    top: 0;
    min-height: fit-content;
    z-index: 100;
    font-size: 16px;
    background: white;
    color: var(--gray);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  a.icon{
    display: none;
  }

  a#headerLogo{
    width: 265px;
    font-family: "Raleway", sans-serif;
    height: auto;
    transition: .4s ease-out;
    padding:15px 0;
  }

  #headerLogo.scrolled {
  width: 200px; /* Resized width after scroll */
}

  #headerLogo img{
    width: 100%;
    height: auto;
  }

  #logoWhite {
    display: none;
  }

  #logoColor{
    display: block;
  }

  #myTopnav {
    transition: .4s;
  }

  #menuContainer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: .4s;
    width: 100%;
    padding: 0 calc((100% - 1100px) / 2);
  }

  .topnav{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .topnav a {
    display: inline-block;
    padding: 6px 14px;
    margin:0 6px;
    font-size: .95rem; 
    font-weight: 600;
    position: relative;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
  }

  .topnav a:hover {
   color: white;
  }

  .topnav a:before, .topnav a:after{
    position: absolute;
    content: '';
    background: var(--gold);
    height: 100%;
    width: 0;
    transition: .3s;
    z-index: -1;
  }

  .topnav a:before{
    left:0;
    bottom: 0;
  }

  .topnav a:after{
    right:0;
    bottom:0;
  }

  .topnav a:hover:before, .topnav a:hover:after{
    width: 60%;
  }

  .d-btn{
    padding:12px 14px !important;
  }

  .d-btn i{
    margin-left:10px;
  }

  a.d-btn:before, a.d-btn:after{
    display: none;
  }

  a.d-btn:hover{
    color: var(--gold);
  }

  .normal-btn:hover{
    cursor: pointer;
  }

  .closebtn{
    display: none;
  }

  .dropdown:hover .d-content, .dropdown:hover .hidden-row {
    display: flex;
  }

  .dropdown:hover .hidden-grid{
    display: grid;
  }

  .d-content, .hidden-row, .hidden-grid {
    animation: fadeIn .5s;
    -webkit-animation: fadeIn .5s;
    -moz-animation: fadeIn .5s;
    -o-animation: fadeIn .5s;
    -ms-animation: fadeIn .5s;
  }
  @keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }

  @-moz-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }

  .hidden a{
    font-weight: 500;
  }

  .hidden-row {
    display: none;
    position: absolute !important;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 20px 25px;
    background: var(--lg);
    background-size: cover;
    width: 300px;
    margin: 0px 0 0 0;
    box-shadow: 0px 8px 16px 1px rgba(0,0,0,0.3);
  }

  .hidden-grid{
    display: none;
    position: absolute;
    z-index: 1;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    background: #f5f5f5;
    align-items: end;
    box-shadow: 0px 8px 16px 1px rgba(0,0,0,0.3);
    padding:20px;
    grid-gap: 20px;
    width: 100%;
    left:0;
  }


  .hidden-row a, .hidden-grid a {
    color: var(--black);
    padding: 4px 10px;
    text-decoration: none;
    display: inline-block;
/*    background: #fff;*/
    font-size: .9em;
    border-bottom: none;
    width: calc(100% - 16px);
    transition: .4s;
    border-bottom: 1px solid var(--gold);
    margin: 0 0 1px;
    position: relative;
    margin-bottom: 8px;
    text-transform: none;
  }

  .hidden-row a:after, .hidden-grid a:after{
    display: none;
  }

  .hidden-grid a:before{
    position: absolute;
    content: '';
    top:0;
    left:0;
    background: var(--gold);
    height: 100%;
    transition: .4s;
    width: 0;
  }

  .hidden-row a:hover:before, .hidden-grid a:hover:before{
    width:100%;
  }    

  .hidden-row a:hover, .hidden-grid a:hover{
    color: white;
    opacity: 1;
  }

    a#overlayLogo{
      display: none;
  }

  a#header-tel{
    color: var(--beige) !important;
    border:2px solid var(--beige);
    background: transparent;
    border-radius: 35px;
    padding:10px 30px;
  }

  a#header-tel:before{
    display: none;
  }

  a#header-tel:hover{
    background: var(--beige);
    color: var(--db) !important;
  }


    /***HERO DESKTOP STYLES***/

   #homepage-hero{
    height: 800px;
    position: relative;
    padding-top:120px;
  }

   .hero-text{
    width: 700px;
   }

   .hero-text h1{
    font-weight: 900;
    font-size: 3.5em;
    line-height: 1em;
   }

   .hero-text span{
    color: var(--gold);
    font-size: .85em;
    font-weight: 600;
    line-height: 1.5;
   }

   .hero-text p{
    margin-bottom: 40px;
    font-weight: 600;
    font-size: 1.5em;
   }

   .hero-text a {
      background: var(--gold);
      padding: 12px 40px;
      color: white;
      font-weight: bold;
      letter-spacing: 2px;
      font-size: 1.15em;
      position: relative;
      display: inline-block;
      overflow: hidden;
      text-decoration: none;
      transition: color 0.3s;
      z-index: 1;
  }

  .hero-text a:hover {
      color: var(--gold);
  }

  /* Background hover effect */
  .hero-text a::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      width: 0;
      height: 100%;
      background: white;
      z-index: -1;
      transition: width 0.3s ease-in-out;
  }

  .hero-text a:hover::before {
      width: 100%;
  }

   /*MAIN BODY DEKSTOP*/

   #contractor-content {
    border-bottom: 1px solid lightgray;
   }

   #contractor-content .container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
   }

   .contractor-img{
    width: 500px;
    height: 300px;
   }

   .contractor-img img{
    width: 100%;
    height: 100%;
    object-fit:  cover;

   }

   .contractor-text{
    width: 500px;
   }

   .contractor-text h1{
    text-transform: uppercase;
    font-size: 2.5em;
    font-weight: 900;
    position: relative;
    padding-left:40px;
   }

   /* .contractor-text h1:before{
    left:0px;
    top:5px;
    height: 90%;
    width: 7px;
    background: var(--gold);
    position: absolute;
    content: '';
   } */

   .contractor-text h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 80px; 
    height: 18px;  
    background-image: url('/images/traffic-line.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: rotate(90deg);
    transform-origin: left top;
    }

   .title-line{
    margin:0 auto 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 400px;
    scroll-margin-top: 7rem;
   }

   .title-line h1{
    position: relative;
    padding-top:30px;
    margin-bottom: 20px;
    font-weight: 900;
   }

   /* .title-line h1:before{
    background: var(--gold);
    position: absolute;
    content: '';
    width: 70px;
    height: 7px;
    top:0;
    left:50%;
    transform: translateX(-50%);
   } */

   .title-line h1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; 
    height: 18px; 
    background-image: url('/images/traffic-line.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }

   .tabs {
        display: flex;
        justify-content: center;
        border-bottom: 1px solid lightgray;
    }
    .tab {
        padding: 16px 20px;
        cursor: pointer;
        font-weight: bold;
        border-top:1px solid lightgray;
        border-left:1px solid lightgray;
        border-right:1px solid lightgray;
        transition: all 0.3s ease;
        background: var(--lg);
    }

    .tab:nth-of-type(1){
      border-right:none;
    }

    .tab:nth-of-type(2){
      border-right:none;
    }

    .tab:nth-of-type(4){
      border-left:none;
    }

    .tab.active {
        background: var(--gold);
        color: white;
        border:1px solid var(--gold);
    }
    .tab-container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
        margin-top: 60px;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }
    .tab-container img {
        width: 500px;
        height: auto;
        border-radius: 8px;
    }
    .text-content {
        width: 500px;
    }
    .tab-hidden {
        display: none;
    }

    #homepage-projects{
      padding-bottom: 0px;
    }

    #project-container{
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }

    .project{
      width: 100%;
      height: 350px;
    }

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

    /* SUBPAGE DESKTOP */

    .subpage-hero{
      padding-top:160px;
      height: 460px;
    }

    /*FOOTER DESKTOP STYLES*/

    footer{
      padding:80px 20px;
    }

    footer .container{
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    footer h1{
      text-align: center;
    }

    .fc-container{
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      width: 100%;
    }

    .fc-text{
      width: fit-content;
    }

    .fc-icon{
      display: flex;
      justify-content: flex-start;
      align-items: center;
      margin-bottom: 20px;
      font-weight: 500;
    }

    .fc-icon:last-of-type{
      margin-bottom: 0px;
    }

    .fc-icon i{
      border-radius: 10px;
      color: var(--gold);
      padding:12px;
      background: var(--lg);
      margin-right: 20px;
      font-size: 1.5em;
      width: 50px;
      height: 50px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .fc-icon a{
      position: relative;
    }

    .fc-icon a:hover{
      color: var(--gold);
    }

    .fc-form{
      width: 700px;
    }

    .footer-form{
      display: flex;
      flex-flow: row wrap;
      justify-content: space-between;
      width: 100%;
    }

    .footer-form input, .footer-form textarea{
      padding: 10px;
      border:2px solid #EBEBEB;
      color: var(--gray);
      font-family: "Raleway", sans-serif;
      margin-bottom: 20px;
      background: var(--lg);
      height: 50px;
      letter-spacing: 2px;
    }

    .footer-form input::placeholder, .footer-form textarea::placeholder{
      color: var(--gray);
      font-size: 1em;
      letter-spacing: 2px;
      font-family: "Raleway", sans-serif;
    }

    .footer-form input{
      width: 48%;
    }

    .footer-form select {
      width: 48%;
      padding: 10px;
      border: 2px solid #EBEBEB;
      color: var(--gray);
      font-family: "Raleway", sans-serif;
      margin-bottom: 20px;
      background: var(--lg);
      height: 50px;
      letter-spacing: 2px;
      appearance: none; /* Removes default dropdown styling */
      -webkit-appearance: none;
      -moz-appearance: none;
      cursor: pointer;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666666"><path d="M7 10l5 5 5-5z"/></svg>');
      background-repeat: no-repeat;
      background-position: right 10px center;
      background-size: 16px;
    }

    .footer-form select option {
        color: #333; /* Text color */
        background: #f8f8f8; /* Background color */
    }
    .footer-form select option:checked {
        background: #ddd; /* Background color for selected option */
    }

    .footer-form textarea{
      width: 100%;
      height: 120px;
    }

    .footer-form button{
      display: flex;
      justify-content: center;
      align-items: center;
      margin-left:auto;
      width: 25%;
      background: var(--gray);
      border:none;
      color: white;
      font-size: 1.15em;
      font-weight: bold;
      height: 50px;
      transition: .3s;
    }

    .footer-form i{
      margin-left:10px;
    }

    .footer-form button:hover{
      background: var(--gold);
      cursor: pointer;
    }

    #sub-footer{
      background: var(--black);
      padding: 40px 20px;
      color: white;
      text-align: center;
    }

    #sub-footer .container{
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    #sub-footer a:hover{
      color: var(--gold);
    }

    #sub-footer i{
      font-size: 1.2em;
      transition: .4s;
    }

    .footer-links{
      display: flex;
      justify-content:center;
      align-items: center;
    }

    .footer-links a{
       margin: 0 10px;
       font-weight: 600;
       text-transform: uppercase;
    }

    .footer-social{
      display: flex;
      justify-content: flex-start;
      align-items: center;
      margin-left:60px;
    }

    .footer-social a{
      margin:0 6px;
    }

    .footer-social i{
      display: inline-flex;  /* Keeps icons aligned properly */
      align-items: center;   /* Centers the icon vertically */
      justify-content: center; /* Centers the icon horizontally */
      width: 30px;  /* Set a fixed width */
      height: 30px; /* Set a fixed height */
      border-bottom: none !important;
      font-size: 1.1em;
      border-radius: 5px;
      background: var(--darkblack);
      color: var(--gold);
      transition: .3s;
    }

    .footer-social i:hover{
      background: var(--gold);
      color: white;
    }

   #sub-footer p{
      margin: 40px 0 0;
      color: var(--mg);
      font-size: .9em;
    }

    #sub-footer p a{
      font-weight: bold;
      border-bottom: 2px solid var(--gold);
    }

    #sub-footer p a:hover{
      color: white;
    }

    .contact-container-white{
      width: 100%;
      background-color: white;
      padding: 60px 0px;
    }

    .contact-container-white:nth-of-type(odd){
      background-color: var(--lg)
    }

    .contact-container {
      width: 1100px;
      height: 525px;
      margin: 0 auto;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      background-color: white;
      margin-bottom: 50px;
      margin-top: 50px;
      padding: 30px 0px;
    }

    /* .contact-container:nth-of-type(1) {
      margin-top:50px;
    } */

    .contact-container-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .contact-container-text h2 {
      color: var(--gold);
      font-weight: 800;
      font-size: 40px;
      margin-bottom: 75px;
      position: relative;
    }

    .contact-container-text h2:after {
      content: '';
      background-color: var(--gold);
      height: 2px;
      width: 50px;
      position: absolute;
      top: 65px;
      left: 0px;
    }

    .contact-container-text h3 {
      font-weight: 500;
      font-size: 20px;
      margin-bottom: 40px;
    }

    .contact-container-text p {
      margin-bottom: 20px;
    }

    .contact-container-text li {
      list-style-type: none;
    }

    .contact-container-text ul {
      margin: 0;
      padding: 0;
    }

    .contact-button {
      background-color: #e5e5ec;
      color: black;
      border: 2px solid var(--gold);
      border-radius: 10px;
      width: 205px;
      padding: 15px 35px;
      font-weight: 800;
      margin-top: 30px;
      transition: all .5s;
    }

    .contact-button:hover {
      background-color: var(--gold);
      color: white;
      border: 2px solid black;
      transition: all .5s;
    }

    .contact-phone {
      color: var(--darkblack);
      /* text-decoration: underline;
      text-decoration-color: var(--gold); */
      transition: all .5s;
    }

     .contact-phone:hover {
      color: var(--gold);
      font-weight: 800;
      transition: all .5s;
    }

    .contact-container-map {
      margin-left: 40px;
    }

    .contact-container-map iframe {
      width: 600px;
      height: 450px;
    }

    .careers-buttons {
      width: 80%;
      margin: 0 auto;
      display: flex;
      justify-content: center;
    }

    .careers-buttons a.inactive {
      cursor: pointer;
      width: 40%;
      padding: 16px 20px;
      font-weight: bold;
      font-size: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 2px solid black;
      background-color: rgb(240,240,240);
      transition: all .5s;
    }

    .careers-buttons a.active {
      cursor: pointer;
      width: 40%;
      padding: 16px 20px;
      font-weight: bold;
      font-size: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 2px solid black;
      background-color: var(--gold);
      color: white;
      transition: all .5s;
    }

   .careers-buttons a:first-child {
      border-right: none;
    }

    .career-switch-container.active {
      display: flex;
      flex-direction: column;
      padding-top: 80px;
    }

    .career-switch-container.inactive {
      display: none;
    }

    .career-switch-container ol{
      margin-bottom: 20px;
      list-style-type: none;
      
    }

    .career-switch-container li {
      display: Flex;
      flex-direction: row;
    }

    .career-switch-container li p {
      padding-left: 10px; /* optional: remove indentation */
    }

    .career-switch-container i {
      color: var(--gold);
      margin-right: 10px;
      font-size: 24px;
    }

    .career-switch-container a {
      display: inline-block;
      color: black;
      text-decoration: underline var(--gold);
      transition: .5s ease;
      margin-left: 10px;
      font-size: 18px;
    }

    .career-switch-container a:hover {
      font-weight: bold;
    }

    /*SERVICE PAGE IMAGE GRID*/

    .service-image-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      max-width: 100%;
      margin: 60px auto 0;
      padding: 40px 20px;
    }

    .service-image-wrapper {
      position: relative;
      width: 100%;
      aspect-ratio: 4 / 3; /* You can change this ratio as needed */
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .service-image-wrapper img, .service-image-wrapper video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }


}


/*** MOBILE STYLES ***/
@media (width <= 1099px) {

  .container {
    width:100%;
    margin: 0 auto;
  }

  .content{
    padding: 60px 20px;
  }

  h1{
    font-size: 2em;
  }

  /***** HEADER MOBILE STYLES *****/

  .sidenav{
    display: none;
  }

  a#headerLogo{
    display: none;
  }

  #headerBar{
    display: none;
  }

  #navContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100; 
    background-color: white;
    border-bottom: 2px solid var(--brightgold);
    padding: 10px 0 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  #mobile-logo {
    float: left;
    width: 200px !important;
    height: auto;
    position: relative;
    z-index: 10;
    margin-left: 10px;
  }

  #mobile-logo img{
    width: 100%;
    height: auto;
  }

  /* NAV */

  #myTopnav{
    background-color: transparent !important;
  }

  /* Hamburger bars styles*/
     a.icon {
      position: absolute;
      display: block;
      font-size:32px;
      right:20px;
      top:50%;
      transform: translateY(-50%);
      color: var(--gold);
      font-weight: bold;
    }

     a.icon:hover{
      background: none !important;
    }

    a#overlayLogo{
      position: absolute;
      left:0;
      top:0;
      width: 220px;
      height: auto;
      border-bottom:none;
      padding: 10px 10px;
/*      z-index: 11;*/
     animation-delay: .7s;
    }

    #overlayLogo img{
      width: 100%;
      height: auto;
    }

    #overlayLogo:hover{
      background: transparent !important;
    }

    /* The Overlay (background) */
   .overlay{
     height: 100vh;
     width: 0;
     position: fixed; 
     z-index: 10; 
     right: 0;
     top: 0;
     background: var(--lg);
     background-size: cover;
     color: var(--black);
     overflow-x: hidden; 
     overflow-y: auto;
     transition: width 0.7s ease; 
     box-shadow: -5px 0px 10px 2px rgba(0,0,0,0.3);
   }

   /*.overlay:before{
    width: 100%;
    height: 100vh;
    top:0;
    left:0;
    content: "";
    position: absolute;
    background: rgba(0, 0, 0, .4);
   }*/

   /* Position the content inside the overlay */
  .overlay-content {
    position: relative;
    top: 8%;
    text-align: left;
    margin-top: 40px; 
    padding:0 8px;
  }

  /* The navigation links inside the overlay */
  .overlay a {
    padding: 16px 8px;
    font-size: 16px;
    font-weight: 600;
    font-style: normal;
    border-bottom: 1px solid var(--gray);
    display: flex;
    justify-content: space-between;
    transition: .3s all !important;
    letter-spacing: 2px; 
    padding-left:20px;
    margin-right:5px;
    position: relative;
  }

  .overlay a:hover, .dropdown:hover .d-btn {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
  }

  /* Position the close button (top right corner) */
  .overlay .closebtn {
    position: absolute;
    top: 4px;
    right: 10px;
    padding:10px !important;
    font-size: 60px;
    border-bottom: none !important;
    margin-right:0px;
    color: var(--gray);
    font-weight: 500;
  }

  .overlay .closebtn:hover{
    color: var(--gray);
  }

  .topnav {
    margin-top:30px;
  }

  .d-btn i, .current i{
    margin-right:10px;
    transition: transform .5s;
  }

  .d-btn .rotate, .current .rotate{
    transform: rotate(-180deg) translateY(2px);
    transform-origin: 50% 50%;
  }

  .d-content {
    display: none;
    z-index: 10;
    margin: 10px 0;
  }

  .hidden-row{
    display: none;
    margin:15px 0;
    flex-flow: row wrap;
    justify-content: flex-start;
    padding-left:10px;
  }

  .hidden-grid{
    margin:15px 0;
    padding:15px 0;
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    background: #ebebeb;
    align-items: end;
  }

  .hidden-row a, .hidden-grid a{
/*    padding-left:30px;*/
    border-bottom: 1px solid lightgray;
    font-size: .95em;
    padding:12px;
    line-height: 1em;
    margin-bottom: 5px;
  }

  .hidden-row a:hover{
    color: var(--lg) !important;
  }

  .d-content, .hidden-row, .hiden-grid {
      animation: fadeIn .5s;
      -webkit-animation: fadeIn .5s;
      -moz-animation: fadeIn .5s;
      -o-animation: fadeIn .5s;
      -ms-animation: fadeIn .5s;
    }
    @keyframes fadeIn {
      0% {opacity:0;}
      100% {opacity:1;}
    }

    @-moz-keyframes fadeIn {
      0% {opacity:0;}
      100% {opacity:1;}
    }

  .hidden-row a:hover{
    background: white;
    color: var(--lg);
  }

  /* Show the dropdown menu (use JS to add this class to the 
  .dropdown-content container when the user clicks on the dropdown button) */
    .show {display:grid;}

    .show-flex {display: flex;} 
    #mobile-section{
      padding:0 0 20px 15px;
      margin-top:30px;
      font-family: montserrat, sans-serif !important;
    }

    .mobile-social{
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
      width: 100%;
      border-bottom: 1px solid lightgray;
      padding-bottom: 20px;
      margin-bottom: 30px;
    }

    .mobile-social a{
      border-bottom: none;
      padding: 10px 8px;
      border-radius: 5px;
    }

    .mobile-social a:hover{
      border-bottom: none;
    }

    #header-mobile-text i{
      margin-right:10px;
    }

    #header-mobile-text a{
      justify-content: flex-start;
      align-items: center;
      font-size: 14px;
      padding:0 0 2px 0;
      margin-bottom: 10px;
      border-bottom: none;
      width: fit-content;
      border-radius: 5px;
    }

    #header-mobile-text a:hover{
      background: transparent;
      color: var(--gold);
    }

    a.header-tel i{
      margin-right:10px;
    }

    #ask-a-question{
      color: var(--lg);
    }

    @keyframes fadeInLinks {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Hide links initially */
  .overlay-content a {
    opacity: 0;
    transform: translateY(10px);
    transition: none;
  }

  /* When nav opens, animate each link */
  .overlay.show-nav .overlay-content a {
    animation: fadeInLinks 0.4s ease-out forwards;
  }

  /* Staggered delays for each link */
  .overlay.show-nav .overlay-content a:nth-child(1) { animation-delay: 0.3s; }
  .overlay.show-nav .overlay-content a:nth-child(2) { animation-delay: 0.35s; }
  .overlay.show-nav .overlay-content a:nth-child(3) { animation-delay: 0.4s; }
  .overlay.show-nav .overlay-content .d-btn { animation-delay: .45s !important;}
  .overlay.show-nav .overlay-content a:nth-child(4) { animation-delay: .5s; }
  .overlay.show-nav .overlay-content a:nth-child(5) { animation-delay: .55s; }
  .overlay.show-nav .overlay-content a:nth-child(6) { animation-delay: .6s; }
  .overlay.show-nav .overlay-content a:nth-child(7) { animation-delay: .65s; }

  /* Smooth scrolling performance */
  .overlay {
    transition: width 0.7s;
  }

  .overlay.show-nav {
    width: 100%;
  }

  .overlay #overlayLogo img{
    opacity: 0;
  }

  .overlay.show-nav #overlayLogo img{
    opacity:1;
    transition: .5s opacity .7s;
  }

  .overlay.show-nav .hidden-grid a {
    animation: fadeInLinks 0.3s ease-out forwards;
    animation-delay:.2s !important;
  }

 /* .overlay.show-nav .hidden-row a:nth-child(1) { animation-delay: 0.1s; }
  .overlay.show-nav .hidden-row a:nth-child(2) { animation-delay: 0.2s; }
  .overlay.show-nav .hidden-row a:nth-child(3) { animation-delay: 0.3s; }*/


  .overlay.show-nav .mobile-social a:nth-child(1){animation-delay: .6s;}

  .overlay.show-nav #header-mobile-text a:nth-child(1) { animation-delay: .6s; }
  .overlay.show-nav #header-mobile-text a:nth-child(2) { animation-delay: .65s; }
  .overlay.show-nav #header-mobile-text a:nth-child(3) { animation-delay: .7s; }

  #mobile-section a{
    animation-delay: .7s !important;
  }

  /* Prevent body scroll when nav is open */
  body.no-scroll {
    overflow: hidden;
  }
    
  /*HERO MOBILE STYLES*/

  

  #homepage-hero{
    position: relative;
    padding:80px 20px;
   }

   .hero-content{
    margin-top:59px;
    padding:60px 20px;
   }

  .hero-text{
    margin:0 auto;
    max-width: 600px;
   }

   .hero-text h1{
    font-weight: 900;
    font-size: 2.5em;
    line-height: 1em;
   }

   .hero-text span{
    color: var(--gold);
    font-size: .85em;
    font-weight: 200;
   }

   .hero-text p{
    margin-bottom: 40px;
    font-size: 1.25em;
    font-weight: 600;
   }

   .hero-text a{
      background: var(--gold);
      padding: 12px 40px;
      color: white;
      font-weight: bold;
      letter-spacing: 2px;
      font-size: 1.15em;
      position: relative;
      display: inline-block;
      overflow: hidden;
      text-decoration: none;
      transition: color 0.3s;
      z-index: 1;
  }

  .hero-text a:hover {
      color: var(--gold);
  }

  /* Background hover effect */
  .hero-text a::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      width: 0;
      height: 100%;
      background: white;
      z-index: -1;
      transition: width 0.3s ease-in-out;
  }

  .hero-text a:hover::before {
      width: 100%;
  }

   /*MAIN BODY DESKTOP*/

   #contractor-content {
    border-bottom: 1px solid lightgray;
   }

   #contractor-content .container{
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
   }

   .contractor-img{
    max-width: 700px;
    width: 100%;
    height: 300px;
    margin-top:40px;
   }

   .contractor-img img{
    width: 100%;
    height: 100%;
    object-fit:  cover;

   }

   .contractor-text{
    max-width: 700px;
   }

   .contractor-text h1{
    text-transform: uppercase;
    font-size: 1.75em;
    font-weight: 900;
    position: relative;
    padding-left:40px;
   }

   .contractor-text h1:before{
    left:0px;
    top:5px;
    height: 90%;
    width: 7px;
    background: var(--gold);
    position: absolute;
    content: '';
   }

   .title-line{
    margin:0 auto 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 400px;
    width: 100%;
    scroll-margin-top: 7rem;

   }

   .title-line h1{
    position: relative;
    padding-top:30px;
    margin-bottom: 20px;
    font-weight: 900;
   }

   .title-line h1:before{
    background: var(--gold);
    position: absolute;
    content: '';
    width: 70px;
    height: 7px;
    top:0;
    left:50%;
    transform: translateX(-50%);
   }

   .tabs {
        display: flex;
        justify-content: center;
        border-bottom: 1px solid lightgray;
    }
    .tab {
        padding: 16px 20px;
        cursor: pointer;
        font-weight: bold;
        border-top:1px solid lightgray;
        border-left:1px solid lightgray;
        border-right:1px solid lightgray;
        transition: all 0.3s ease;
        background: var(--lg);
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .tab:nth-of-type(1){
      border-right:none;
    }

    .tab:nth-of-type(2){
      border-right:none;
    }

    .tab:nth-of-type(4){
      border-left:none;
    }

    .tab.active {
        background: var(--gold);
        color: white;
        border:1px solid var(--gold);
    }
    .tab-container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
        margin-top: 60px;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }
    .tab-container img {
        width: 300px;
        height: auto;
        border-radius: 8px;
    }
    .text-content {
        width: 400px;
    }
    .tab-hidden {
        display: none;
    }

    #project-container{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .project{
      width: 100%;
      height: 350px;
    }

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

    /* SUBPAGE MOBILE */

    .subpage-hero{
      margin-top: 59px;
      height: 350px;
    }

    /*FOOTER MOBILE STYLES*/

    footer{
      padding:60px 20px;
      /* background: ; */
    }

    footer .container{
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    footer h1{
      text-align: center;
    }

    footer .title-line{
      margin-bottom: 20px;
    }

    .fc-container{
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }

    .fc-text{
      margin-bottom: 60px;
    }

    .fc-icon{
      display: flex;
      justify-content: flex-start;
      align-items: center;
      margin-bottom: 10px;
      font-weight: 500;
    }

    .fc-icon:last-of-type{
      margin-bottom: 0px;
    }

    .fc-icon i{
      border-radius: 10px;
      color: var(--gold);
      padding:12px;
      background: var(--lg);
      margin-right: 20px;
      font-size: 1.5em;
      width: 50px;
      height: 50px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .fc-icon a{
      position: relative;
    }

    .fc-icon a:hover{
      color: var(--gold);
    }

    .fc-form{
      width: 100%;
    }

    .footer-form{
      display: flex;
      flex-flow: row wrap;
      justify-content: space-between;
      width: 100%;
    }

    .footer-form input, .footer-form textarea{
      padding: 10px;
      border:2px solid #EBEBEB;
      color: var(--gray);
      font-family: "Raleway", sans-serif;
      margin-bottom: 20px;
      background: var(--lg);
      height: 50px;
      letter-spacing: 2px;
    }

    .footer-form input::placeholder, .footer-form textarea::placeholder{
      color: var(--gray);
      font-size: 1em;
      letter-spacing: 2px;
      font-family: "Raleway", sans-serif;
    }

    .footer-form input{
      width: 48%;
    }

    .footer-form select {
      width: 48%;
      padding: 10px;
      border: 2px solid #EBEBEB;
      color: var(--gray);
      font-family: "Raleway", sans-serif;
      margin-bottom: 20px;
      background: var(--lg);
      height: 50px;
      letter-spacing: 2px;
      appearance: none; /* Removes default dropdown styling */
      -webkit-appearance: none;
      -moz-appearance: none;
      cursor: pointer;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666666"><path d="M7 10l5 5 5-5z"/></svg>');
      background-repeat: no-repeat;
      background-position: right 10px center;
      background-size: 16px;
    }

    .footer-form select option {
        color: #333; /* Text color */
        background: #f8f8f8; /* Background color */
    }
    .footer-form select option:checked {
        background: #ddd; /* Background color for selected option */
    }

    .footer-form textarea{
      width: 100%;
      height: 120px;
    }

    .footer-form button{
      display: flex;
      justify-content: center;
      align-items: center;
      margin-left:auto;
      width: 50%;
      max-width: 200px;
      background: var(--gray);
      border:none;
      color: white;
      font-size: 1.15em;
      font-weight: bold;
      height: 50px;
      transition: .3s;
    }

    .footer-form i{
      margin-left:10px;
    }

    .footer-form button:hover{
      background: var(--gold);
      cursor: pointer;
    }

    #sub-footer{
      background: var(--black);
      padding: 40px 20px;
      color: white;
      text-align: center;
    }

    #sub-footer .container{
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    #sub-footer a:hover{
      color: var(--gold);
    }

    #sub-footer i{
      font-size: 1.2em;
      transition: .4s;
    }

    .footer-links{
      display: flex;
      flex-flow: row wrap;
      justify-content:center;
      align-items: center;
    }

    .footer-links a{
       margin: 10px;
       font-weight: 600;
       text-transform: uppercase;
    }

    .footer-social{
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      margin-top:20px;
    }

    .footer-social a{
      margin:0 6px;
    }

    .footer-social i{
      display: inline-flex;  /* Keeps icons aligned properly */
      align-items: center;   /* Centers the icon vertically */
      justify-content: center; /* Centers the icon horizontally */
      width: 30px;  /* Set a fixed width */
      height: 30px; /* Set a fixed height */
      border-bottom: none !important;
      font-size: 1.1em;
      border-radius: 5px;
      background: var(--darkblack);
      color: var(--gold);
      transition: .3s;
    }

    .footer-social i:hover{
      background: var(--gold);
      color: white;
    }

    #sub-footer p{
      margin: 40px 0 0;
      color: var(--mg);
      font-size: .9em;
    }

    #sub-footer p a{
      font-weight: bold;
      border-bottom: 2px solid var(--gold);
    }

    #sub-footer p a:hover{
      color: white;
    }

    .contact-container-white{
      width: 100%;
      background-color: white;
      padding: 50px 20px;
    }

    .contact-container {
      width: 95%;
      height: auto;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background-color: white;
      padding: 30px 0px;
    }

    .contact-container-white:nth-of-type(odd){
      background-color: var(--lg)
    }

    .contact-container-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .contact-container-text h2 {
      color: var(--gold);
      font-weight: 800;
      font-size: 40px;
      margin-bottom: 75px;
      position: relative;
    }

    .contact-container-text h2:after {
      content: '';
      background-color: var(--gold);
      height: 2px;
      width: 50px;
      position: absolute;
      top: 65px;
      left: 0px;
    }

    .contact-container-text h3 {
      font-weight: 500;
      font-size: 20px;
      margin-bottom: 40px;
    }

    .contact-container-text p {
      margin-bottom: 20px;
    }

    .contact-container-text li {
      list-style-type: none;
    }

    .contact-container-text ul {
      margin: 0;
      padding: 0;
    }

    .contact-button {
      background-color: #e5e5ec;
      color: black;
      border: 2px solid var(--gold);
      border-radius: 10px;
      width: 205px;
      padding: 15px 35px;
      font-weight: 800;
      margin-top: 30px;
      transition: all .5s;
      align-self: center;
    }

    .contact-button:hover {
      background-color: var(--gold);
      color: white;
      border: 2px solid black;
      transition: all .5s;
    }

    .contact-phone {
      color: var(--darkblack);
      /* text-decoration: underline;
      text-decoration-color: var(--gold); */
      transition: all .5s;
    }

     .contact-phone:hover {
      color: var(--gold);
      font-weight: 800;
      transition: all .5s;
    }

    .contact-container-map {
      margin-top: 40px;
    }

    .contact-container-map iframe {
      width: 300px;
      height: 225px;
    }

    .careers-buttons {
      width: 95%;
      margin: 0 auto;
      display: flex;
      justify-content: center;
    }

    .careers-buttons a.inactive {
      cursor: pointer;
      width: 50%;
      padding: 15px 10px;
      font-weight: bold;
      font-size: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 2px solid black;
      background-color: rgb(240,240,240);
      transition: all .5s;
    }

    .careers-buttons a.active {
      cursor: pointer;
      width: 50%;
      padding: 15px 10px;
      font-weight: bold;
      font-size: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 2px solid black;
      background-color: var(--gold);
      color: white;
      transition: all .5s;
    }

   .careers-buttons a:first-child {
      border-right: none;
    }

    .career-switch-container.active {
      display: flex;
      flex-direction: column;
      padding-top: 80px;
    }

    .career-switch-container.inactive {
      display: none;
    }

    .career-switch-container ol{
      margin-bottom: 20px;
      list-style-type: none;
      padding-left: 0px;
    }

    .career-switch-container li {
      display: Flex;
      flex-direction: row;
    }

    .career-switch-container li p {
      padding-left: 10px; /* optional: remove indentation */
    }

    .career-switch-container i {
      color: var(--gold);
      margin-right: 10px;
      font-size: 24px;
    }

    .career-switch-container a {
      display: inline-block;
      color: black;
      text-decoration: underline var(--gold);
      transition: .5s ease;
      margin-left: 10px;
      font-size: 18px;
    }


    .career-switch-container a:hover {
      font-weight: bold;
    }

    /*SERVICE PAGE IMAGE GRID*/

    .service-image-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 20px;
      max-width: 100%;
      margin: 0 auto;
      padding: 40px 20px;
    }

    .service-image-wrapper {
      position: relative;
      width: 100%;
      aspect-ratio: 4 / 3; /* You can change this ratio as needed */
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .service-image-wrapper img, .service-image-wrapper video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

}

@media (max-width: 768px) {

  .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-text a {
        font-size: 1rem;
    }

  .tabs {
        display: flex;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 10px 0;
    }

    .tab {
        flex-shrink: 0;  /* Ensures the tabs don't shrink */
        padding: 12px 16px;
        font-size: 14px;
        cursor: pointer;
        font-weight: bold;
        border: 1px solid lightgray;
        transition: all 0.3s ease;
        background: var(--lg);
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .tab:nth-of-type(1) {
        border-right: none;
    }

    .tab:nth-of-type(2) {
        border-right: none;
    }

    .tab:nth-of-type(4) {
        border-left: none;
    }

    .tab.active {
        background: var(--gold);
        color: white;
        border: 1px solid var(--gold);
    }

    /* Hides the scrollbar for aesthetics */
    .tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .tab-container h3{
      text-align: center;
    }

    .tab-container img {
        width: 90%;
        max-width: 300px;
    }

    .text-content {
        width: 90%;
        max-width: 400px;
    }

    /*FOOTER PHONE STYLES*/

    .footer-form input{
      width: 100%;
    }

    .footer-form select {
      width: 100%;
    }

}
