body, html, * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans', sans-serif;
    color: white;
    font-weight: 600;
} 

body {
    font-size: 20px;  
}


a {  
    text-decoration: none;
    color: white;
}


h1 {
    font-size: 5rem;
}

h4 {
    margin-bottom: 1rem;
    color: #ffff00;
}

.background-1 {
    background: radial-gradient(#0066cc, #000000); 
}

p, li {
    font-weight: 400;
}

span {
    color: #ffff00;
}




/*
    NAV BAR
*/

.fixed-nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 15;
    background: radial-gradient(#004080, #001a33);
}


.nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1em 5vw;
    font-size: 1rem;
    border-bottom: white 1px solid;
    opacity: 0;
}







nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
}

nav li {
  font-size: 1.15rem;
    margin-left: 2rem;
}

.logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}


.logo-container img {
    width: 3rem;
    margin-right: 2rem;
}

.company-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
}



/* Hover animations for the navigation bar */

nav.stroke ul li a,
nav.fill ul li a {
  position: relative;
}

nav.stroke ul li a:after,
nav.fill ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: black;
  height: 1px;
}

nav.stroke ul li a:hover:after {
  width: 100%;
 
}

nav.fill ul li a {
  transition: all 2s;
  padding: 0.25rem 1rem;
}

nav.fill ul li a:after {
  text-align: left;
  content: '.';
  margin: 0;
  opacity: 0;

}

nav.fill ul li a:hover {
  color: black;
  z-index: 1;
}

nav.fill ul li a:hover:after {
  z-index: -10;
  animation: fill 0.75s forwards;
  opacity: 1;
  border-radius: 30px;
}

/* Keyframes */

@keyframes fill {
    0% {
        width: 0%;
        height: 3px;
      }
      25% {
      width: 100%;
      height: 3px;
    }
    100% {
      width: 100%;
      height: 100%;
      background: #ffff00;
    }
  }





/*
    SECTION ONE
*/

.homepage-container {
    margin-top: 5rem;
    font-size: 1.5rem;  
    border-bottom: 1px white solid;
}


.top-container {
    border-bottom: 1px white solid;
}


.top-container:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    background-image: url('Media/Photos/blue-lightbulb.jpg');
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
  }


  .inline-container {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 7rem 15vw 7rem 15vw;
  }

  .top-container img {
    width: 30rem;
  }

  .text-container {
    width: 30vw;
  }

  .button {
    font-size: 1.5rem;
    font-weight: 800;
    padding: 0.5rem 0.5rem;
    background-color: #ffff00;
    color: black;
    width: 10rem;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 3rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
  }


  .button:hover {
    transform: translateY(-3px);
  }

  .header-icons {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: bottom;
    margin-top: 7rem;
  }
  
  .icon-sub-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    transition: 2s;
  }

  #NIC-icon {
    display: none;
    width: 8rem;
    margin-right: 0;
    opacity: 0;
    transition: 1s;
  }


  #check-a-trade-icon {
    width: 12rem;
    opacity: 0;
    transition: 1s;
  }

  #trust-a-trader-icon {
    width: 6rem;
    opacity: 0;
    transition: 1s;
  }


  #mybuilder-icon {
    width: 6rem;
    opacity: 0;
    transition: 1s;
  }





/*
    SECTION TWO
*/

.services-container {
    padding-top: 1rem;
}

.section-heading {
    z-index: 10;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}


.background-2 {
    background: radial-gradient(#00264d, #000d1a);
}

  .background-2:before {
      content: ' ';
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      opacity: 0.1;
      background-image: url('Media/Photos/background-4.jpg');
      background-repeat: no-repeat;
      background-position: 50% 0;
      background-size: cover;
  }


  #services img {
    height: 50rem;
  }

  .what-we-do-list {
      height: 40rem;
  }

  ul {
      list-style: none;
  }

  ul li {
      margin-bottom: 0.5rem;
  }


  .service-item {
    background: radial-gradient(#004080, #001a33);
    box-shadow: inset 0px 0px 1px 0.5px white;
    text-align: left;
    border-radius: 5px;
    padding: 0.75rem;
    cursor: pointer;
  }

  .service-item span {
    color: white;
    font-weight: bold;
  }

  .service-item i {
  
      margin-right: 5px;
      margin-left: 5px;
      transition: transform 0.3s ease;
      /* Add a transition for smooth rotation */
  }

  .service-item.open i {
      transform: rotate(90deg);
      /* Rotate the arrow when the accordion is open */
  }


  .accordion-item {
      overflow: hidden;
      transition: max-height 0.3s ease-out;
      max-height: 0;

  }

  .accordion-content {
      margin: 1rem 0 0 1rem;
      /* Adjust as needed */
  }
    






/*
    ICONS SECTION
*/

.column-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7rem 0 5rem 0;
    border-bottom: 1px white solid;
    border-top: 1px white solid;
}

.column-container h4 {
    opacity: 1;

}

.column-container:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    background-image: url('Media/Photos/blue-lightbulb.jpg');
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
  }

  .inline-container-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: top;
    padding: 0rem 3vw 5rem 3vw;
  }

  .icon-container {
    text-align: center;
    margin: 0 3rem;
    width: 20vw;
  }

  .icon-container img {
   height: 6.5rem;
    margin: 2rem 0 2rem 0;
  }

  .icon-container h4 {
    margin-bottom: 1rem;
  }

  .icon-container svg {
   height: 5.75rem;
    margin: 2.35rem 0 2rem 0;
    overflow: visible;
  }


  #beam-1, #beam-2, #beam-3, #beam-4, #beam-5, #beam-6,  #beam-7 {
    animation: light-up 2.5s infinite;
    transform-origin: center;
  }

  @keyframes light-up {
    0% {
        opacity: 0;
        scale: 1;
    }
    50% {
        opacity: 1;
        scale: 1.1;
    }
    100% {
        opacity: 0;
    }
  }


  #no-review-section {
    margin-bottom: 5rem;
  }






/*
    REVIEWS CAROUSEL
*/

#reviews {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 2rem 0 7rem 0;
    border-bottom: 1px white solid;
    position: relative;
}


.carousel-main-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 5rem 20vw 5rem 20vw;
}

.carousel-container {
    position: relative;
    width: 30rem;
    overflow: hidden;   
      
}

.carousel-container i {
    font-size: 1.75rem;
}

.carousel-container .section-heading {
    margin-bottom: 2rem;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review {
    background: radial-gradient(#004080, #001a33);
    font-style: italic;
    min-width: 30rem;
    padding: 3rem 6rem;
    box-sizing: border-box;
    text-align: center;
    box-shadow: inset 0 0 2px 1px white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#review-1, #review-2, #review-3, #review-4 {
    color: white;
    font-style: italic;
    margin-bottom: 2rem;
    margin-top: 0; /* Add this to remove top margin */
}

.review a {
    font-style: normal;
    margin: 0;
    padding: 0;
}

.arrow {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
}

.arrow-left {
    left: 25px;
}

.arrow-right {
    right: 25px;
}




.carousel-main-container img {
    width: 30rem;
    z-index: 10;
    padding-left: 2rem;
}




/*
    CONTACT MAP
*/

.contact-width {
    padding-right: 15vw;
    padding-left: 15vw;
}

.contact-text-container {
    font-size: 1.5rem;
    width: 30rem;
  }

  
.top-container.contact-width {
    padding-top: 12rem;
}


#contact-map {
    z-index: 10;
}

iframe {
    height: 35rem;
    width: 35rem;
   
}




/*
    FULL WIDTH IMAGES
*/


.full-width-image {
    height: 40rem;
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-image: url("Media/Photos/hanging-lightbulbs.jpg");
}

.full-width-image-2 {
    height: 30rem;
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-image: url("Media/Photos/lightbulbs-2.jpg");
}







/*
    INTERSECTION OBSERVER ANIMATIONS
*/




.slide-down {
    opacity: 0;
    transform: translateY(-200px);
    transition: 0.75s;
}


.show-slide-down {
    opacity: 1;
    transform: translateY(0px);
}

.fade-in {
    opacity: 0;
    transition: 2s;
}

.show-fade-in {
    opacity: 1;
}

.slide-left {
    opacity: 0;
    transform: translateX(200px);
    transition: 1s;
}

.show-slide-left {
    opacity: 1;
    transform: translateX(0px);
}

.slide-right {
    opacity: 0;
    transform: translateX(-200px);
    transition: 1s;
}


.show-slide-right {
    opacity: 1;
    transform: translateX(0px);
}





/*
    FOOTER
*/

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 3rem 5vw 3rem 5vw;
    border-top: 1px white solid;
}

.footer-container p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-address {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 0.75rem;
}

.footer-container i {
    font-size: 2rem;
    line-height: 40px;
    letter-spacing: 5px;
    margin: 0 1rem;
    transition: 0.2s;
}

.footer-container i:hover {
   transform: translateY(-3px);
}

.footer-address h3, .footer-address h2 {
    color: white;
}

#napit-logo {
    width: 15rem;
}







/* MOBILE HAMBURGER/ NAV STYLING */

#nav-icon {
    margin-top: 0.7rem; /* helps to center the hamburger when using align items: center didn't work */
    width: 30px;
    height: 45px;
    position: relative;
    padding: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
   
   
}

#nav-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 9px;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    -o-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    
}


#nav-icon span {
    margin-top: 4px;
    background-color: white;
}

#nav-icon.open span {
    background-color: white;

}




/* HAMBURGER ICON */

#nav-icon span:nth-child(1) {
    top: 0px;
}

#nav-icon span:nth-child(2),
#nav-icon span:nth-child(3) {
    top: 10px;
}

#nav-icon span:nth-child(4) {
    top: 20px;
}

#nav-icon.open span:nth-child(1) {
    top: 10px;
    width: 0%;
    left: 50%;
}

#nav-icon.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
}

.mobile-nav {
    position: fixed;
    opacity: 1;
    margin: 0;
    padding: 0;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background-color: #000d1a;
    z-index: 12;
    transition: 0.4s ease-in;
}

.mobile-nav>ul>li>a {
    color: white;
    font-size: 1.5rem;
}

.mobile-nav.is-active {
    left: 0;
}

.mobile-nav ul {
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.mobile-nav li {
    list-style: none;
    padding: 2em 0;
}

.show-on-mobile {
    display: none;
}

.hide-on-mobile {
    display: block;
}


/*
    RESPONSIVE STYLING
*/


@media screen and (max-width: 799px) {

    body .show-on-mobile {
            display: block;
    }
    
    body .hide-on-mobile {
        display: none;
    }

    body,
    html  {
        overflow-x: hidden;
    }

    body {
        font-size: 16px;
    }

    body .logo-container img {
        width: 1.75rem;
        margin-right: 1rem;
    }

    body .company-name {
        font-size: 1.5rem;
    }

    body .homepage-container.top-container   {
        padding-top: 4rem;
    }

    body .top-container {
        font-size: 1.25rem;
    }

    body .inline-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 2rem 10vw 0rem 10vw;
    }

    body .header-icons {
        align-items: center;
        justify-content: center;
        margin: -1rem 0 3rem 0;
    }

    body .icon-sub-container {
        width: 90vw;
        justify-content: space-between;
    }

    body #NIC-icon {
        width: 5rem;
        margin-bottom: 0;
    }

    body #trust-a-trader-icon {
        width: 5rem;
        margin-bottom: 0;
    }

    body #check-a-trade-icon {
        width: 5rem;
        margin-bottom: 0;
    } 

    body #mybuilder-icon {
        width: 5rem;
        margin-bottom: 0;
    } 


    body .inline-container img {
        width: 80vw;
        margin-bottom: 4rem;
    }

    body .text-container {
        width: 80vw;
    }

    body .center-for-mobile {
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    body .button {
        font-weight: 600;
        font-size: 1.25rem;
        margin: 3rem 0 4rem 0;
    }



    /*
        OUR SERVICES
    */

    body .no-background-for-mobile.background-2:before {
        display: none;
        background-image: none;
        background: none;
    }


    #services img {
        height: auto;
        width: 90vw;
        margin-top: 2rem;
      }
    
    body .what-we-do-list {
          height: auto;  
    }
    

    body ul {
        margin-top: 2rem;
        margin-bottom: 3rem;
    }

    body ul li {
        margin-bottom: 0.5rem;
    }

        
        
    
    /*
        ICONS SECTION
    */

    body .top-margin {
        margin-top: 3rem;
    }
    
    body .column-container {
        flex-direction: column;
        padding: 2rem 0 3rem 0rem;
    }
    
    
    body .inline-container-icons {
        flex-direction: column;
        text-align: center;
        padding: 0rem 10vw 1rem 10vw;
    }

    body .icon-container {
        text-align: center;
        margin: 0 0 1rem 0;
        width: 80vw;
    }

    body .icon-container img {
        margin: 2rem 0 1rem 0;
    }
    
    body .icon-container svg {
        margin: 2rem 0 1rem 0;
    }

    body #no-review-section {
        margin-bottom: 1rem;
      }
    



/*
    REVIEWS CAROUSEL
*/

body #reviews {
    padding: 0rem 0 3rem 0;
    overflow-x: visible;
}


body .carousel-main-container {
    flex-direction: column;
    justify-content: center;
    padding: 4rem 5vw 2rem 5vw;
}

body .carousel-container {
    width: 90vw;  
}

body .review {
    min-width: 90vw;
    padding: 2rem 3.5rem;
    margin-top: 2rem;
}

body .arrow-left {
    left: 10px;
}

body .arrow-right {
    right: 10px;
}

body .carousel-main-container img {
    width: 90vw;
    margin-top: 5rem;
    padding: 0;
}




    
/*
    CONTACT PAGE
*/

    body .top-container.contact-width {
        padding-top: 9rem;
    }

    body .contact-text-container {
        font-size: 1.25rem;
        width: 90vw;
    }
  
    body iframe {
        height: 90vw;
        width: 90vw; 
        margin: 5rem 0;
    }



/*
    FULL WIDTH IMAGES
*/


    body .full-width-image {
        height: 30rem;
    }

    body .full-width-image-2 {
        height: 20rem;
    }



/*
    FOOTER
*/

    body .footer-address p {
        font-size: 14px;
    }

    body .socials-container {
        display: flex;
        flex-direction: column;
    }

    body .footer-container i {
        margin: 0 0 1rem 0;
    }

    body .footer-container i:hover {
        transform: translateY(0px);
     }

    body  #napit-logo {
        width: 7rem;
    }


}

@media screen and (max-width: 999px) and (min-width: 800px) {

    body, html {
        font-size: 11px;
    }

    body iframe {
        height: 30rem;
        width: 30rem;  
    }

    body .homepage-container.top-container {
        padding: 7rem 5vw 7rem 5vw;
    }
    
    body .inline-container {
        padding: 7rem 5vw 7rem 5vw;
      }

     

    body .carousel-main-container {
        padding: 5rem 5vw 5rem 5vw;
    }

    
    body .homepage-container {
        font-size: 1.5rem;
    }
}



@media screen and (max-width: 1549px) and (min-width: 1000px) {

    body, html  {
        font-size: 14px;
    }

    body iframe {
        height: 30rem;
        width: 30rem;
    }

    body .text-container {
        width: 35vw;
    }

    body .homepage-container.top-container {
        padding: 7rem 10vw 7rem 10vw;
    }


    body .inline-container {
        padding: 7rem 10vw 7rem 10vw;
      }

     body .icon-sub-container {
        flex-wrap: wrap;
     }

     body #services img {
        margin-right: 2rem;
      }
    

    body .carousel-main-container {
        padding: 5rem 15vw 5rem 15vw;
    }

    body .carousel-container {
        width: 25rem;    
    }
    

    body .review {
        min-width: 25rem;
    }
    
    body .carousel-main-container img {
        width: 25rem;

    }

    body .homepage-container {
        font-size: 1.5rem;
    }


    
}

@media screen and (max-width: 1800px) and (min-width: 1550px) {

    body, html {
        font-size: 16px;
    }

    body .homepage-container {
        font-size: 1.5rem;
    }

    body .carousel-main-container {
        padding: 5rem 15vw 5rem 15vw;
    }

    body .homepage-container.top-container {
        padding: 7rem 10vw 7rem 10vw;
    }


}

@media screen and (max-width: 4000px) and (min-width: 2400px) {

    body, html {
        font-size: 24px;
    }

    body .homepage-container {
        font-size: 1.5rem;
    }

}