/* Font for headers and paragraphs */
p, h1, h2, h3, h4, h5, h6, a {
  font-family: 'Saira Semi Condensed', 'Arial Narrow Bold', sans-serif;
  font-size: 24px;
}

body {

  overflow-x: hidden;
  min-width: 400px !important;
}

p{
  padding-left: 2em;
  color: white;
}

.master-container {
  max-width: 2560px; /* Adjust as needed */
  margin: 0 auto; /* Centers the container */
  background-color: white;

  min-width: 400px;
}

@font-face{
  font-family: 'Unison Pro Bold';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/Type Juice - Unison Pro Bold.otf') format('opentype');
}

@font-face{
  font-family: 'Unison Pro';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/Type Juice - Unison Pro Bold.otf') format('opentype');
}

.unisonHeader{
  font-family: "Unison Pro Bold";
  font-size: 40px;
  line-height: 54px;
}

a {

color: white;
text-decoration: none;
font-size: 24px;
font-family: 'Saira Semi Condensed', 'Arial Narrow Bold', sans-serif;
display: inline-block;
vertical-align: middle;

}

a:hover {

color:#FD0000;

}

.boldBarlow{
  font: 'Saira Semi Condensed';
  font-size: 60px;
  font-weight: 700;
}

.pageHeader{
  display: inline-block;
  width: 80vw;
  height: 5vw;
  border: 1px solid gray;
  margin-left: 10vw;
  margin-right: 10vw;
}


.upperBorder{
  width: 100%;
  border-top: 1px solid #383e4a;
  min-height: 100px;
}

button{
  background-color: #FD0000;
  width: auto;
  padding: 0px;
  border: 0px solid white;
  transition: background-color 0.3s ease;
}

button:hover{
  background-color: #ff8d8d;
  transition: background-color 0.3s ease;
}

/* Video ID to cover entire screen */
#myVideo {
  position: fixed;
  display: block;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* Borders for the vertical lines */
#leftBorder{
  position: absolute;
  float: left;
  left: 0;
  top: 0;
  min-height: 100%;
  min-width: 10%;
  border-right: 1px solid #383e4a;
}

#rightBorder{
  position: absolute;
  float: right;
  right: 0;
  top: 0;
  min-height: 100%;
  min-width: 10%;
  border-left: 1px solid #383e4a;
}

/* Barlow Semi Condensed Font */
.barlow-semi-condensed-regular {
  font-family: "Saira Semi Condensed", system-ui;
  font-weight: 400;
  font-style: normal;
}

#orangeSquare{
position: fixed;
left: 0%;
top: 0;
min-width: 50%;
height: 100vh;
background-color: rgba(253, 0, 0, 0.2);
}

#blueSquare{
position: fixed;
top: 0;
min-width: 100%;
height: 100vh;
background-color: rgba(16, 18, 51, 0.1);
}

#titleDiv{
position: absolute;
margin-top: 25vh;
height: 50vh;
width: 80vw;
margin-left: 10vw;
margin-right: 10vw;
padding: 0;
}


/* Container Classes */

.mainContainer{
  width: 100%;
  height: fit-content;
  min-height: 100%;
  background-color: white;
}

.container{
  padding-left: 10%;
  padding-right: 10%;
  border-top: 1px solid #383e4a;
  border-bottom: 1px solid #383e4a;
}

.container-black-border{
  padding-left: 10%;
  padding-right: 10%;
  border-top: 1px solid #060E1D;
  border-bottom: 1px solid #060E1D;
}

.borderlessContainer{
  position: relative;
  width: 100%;
  min-height: 20px;
}

.borderlessContainer2{
  position: relative;
  min-height: 20px;

  text-align: center; 
  width: 50%; 
  margin: 0 auto;

}

@media (max-width: 100px) {

  .borderlessContainer2 {
    width: 75%;
  }

}

.unisonHeaderEquip1{
  margin-bottom: 0; 
  margin-top: 25px; 
  padding-left: 20px; 
  display: inline-block;
  font-family: "Unison Pro Bold";
  font-size: 40px;
  line-height: 54px;
}

.unisonHeaderEquip2{
  margin-top: 0px; 
  margin-bottom: 40px; 
  display: inline-block;
  padding-left: 20px;
  font-family: "Unison Pro Bold";
  font-size: 40px;
  line-height: 54px;
}

.borderlessContainerEquip{
  position: relative;
  width: 33%;
  min-height: 20px;
  vertical-align: middle;
  display: inline-block;
}

.borderlessContainerProd1{
  position: relative;
  width: 59%;
  min-height: 20px;
  vertical-align: top;
  display: table-cell;
  margin: 0;
  padding: 0;
}

.borderlessContainerProd2{
  position: relative;
  width: 40%;
  min-height: 20px;
  vertical-align: top;
  display: table-cell;
  margin: 0;
  padding: 0;
}

.borderlessContainerMachining{
  position: relative;
  min-height: 20px;
  width: 54.5%; 
  display: inline-block;
  vertical-align: top; 
  margin: 0;
  padding: 20px;
}

.verticalSpacer{
  position: relative;
  padding-top: 5%;
  padding-bottom: 5%;
  width: 100%;
  min-height: 20px;
  height: 90%;
}

.bottomlessContainer{
  margin-top: 100px;
  padding-left: 10%;
  padding-right: 10%;
  border-top: 1px solid #9099AA;
}

.inlineContainer{
  display: inline-block;
  min-width: 200px;
  min-height: 200px;
}

.white-space {

  height: 500px;
  background-color: white;
}

.scroll-wrapper {
  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-behavior: smooth;
  width: 100%; /* Set full width to allow scrolling across the entire screen */
  margin: 0 auto;
  padding: 10px 0;
  scrollbar-width: none; /* Firefox */
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.scroll-wrapper:active {
  cursor: grabbing; /* Change cursor when dragging */
}


.scroll-wrapper::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari, Opera */
}

.scroll-wrapper .serviceCard {
  opacity: 1;
  transform: translateX(0);
}

.scroll-wrapper.scrolling-left .serviceCard,
.scroll-wrapper.scrolling-right .serviceCard {
  opacity: 0.8; /* Slight fade effect */
  transform: scale(0.95); /* Slightly shrink the cards */
}

.button-container {
  position: absolute;
  top: 50%;
  right: 10%;
  display: flex;
  gap: 20px; /* Consistent gap between buttons */
  transform: translateY(-50%);
}

.nav-button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: 1px solid white;
  cursor: pointer;
  font-size: 28px;
  z-index: 10;
  height: 50px;
  width: 50px;

}


.nav-button.disabled {
  opacity: 0.5; /* Make the button appear grayed out */
  pointer-events: none; /* Prevent clicks */
}

.nav-button:hover {
  color: #fd0000;
  border-color: #fd0000;

  background-color: black;
}

.left-button {
  right: 18%; /* Adjusted based on the gap */
  margin-right: 10px;
}

.right-button {
  right: 13%; /* Anchors the right button to the edge */
  margin-left: 10px;
}

.serviceCard {
  flex: 0 0 300px; /* Ensures each card maintains a fixed width */
  height: 550px;
  background-color: rgba(0, 0, 0, 0);
  border: 8px solid rgb(245, 245, 245);
  margin: 0 10px;
  vertical-align: top;
  overflow: hidden;
}

@media (max-width: 768px) {
  .serviceCard {
      width: 80%; 
      margin: 10px auto;
  }
  .about-us {
      flex-direction: column;
      padding: 10px;
  }

  .button-container {
      position: relative;
      display: flex;
      justify-content: center;
      gap: 20px; /* Set a consistent gap between the buttons */
  }

  .nav-button {
      top: 25%;
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
      border: 1px solid white;
      cursor: pointer;
      font-size: 28px;
      z-index: 10;
      height: 50px;
      width: 50px;
  }

  .nav-button:hover {
      color: #fd0000;
      border-color: #fd0000;
  }
  
  .left-button {
      right: 0;
      margin-right: 25%;
  }
  
  .right-button {
      right: 0;
      margin-right: 16%;
  }
}

.serviceCard:hover {
  display: inline-block;
  width: 300px;
  height: 550px;
  background-color: rgb(28, 45, 78);
  border: 8px solid rgb(28, 45, 78);
  margin-left: 10px;
  vertical-align: top;
}

.serviceCard p, h1, h2, h3, h4, h5 {
  color: #060E1D;
  padding-left: 10px;
  font-weight: 250;
  margin-top: 0;
}

.serviceCard h1 {
  color: #060E1D;
  padding-left: 10px;
  font-weight: 250;
  margin-top: 0;
}

.serviceCard:hover p, h1, h2, h3, h4, h5 {
  color: rgb(245, 245, 245);
  padding-left: 10px;
  margin-top: 0;
  font-weight: 250;
}

.serviceCard:hover h1 {
  color: rgb(245, 245, 245);
  padding-left: 10px;
  margin-top: 0;
  font-weight: 250;
}

.serviceBlock {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 50%;
}

.serviceBlock h1 {
  font-family: 'Unison Pro Bold';
}

.serviceBlock p {
  font-family: 'Saira Semi Condensed';
}

.serviceBlockImg {
  margin-left: 10%;
  margin-right: 5%;
  margin-top: 5%;
  margin-bottom: 5%;
  width: 80%;
  height: 80%;
}


.halfBlock{
  display: inline-block;
  width: 50%;
  min-width: 400px;
  margin-left: 0;
  vertical-align: top;
}

.halfBlock p{
  margin: 20px;
  margin-top: 0;
  margin-bottom: 40px;
  padding: 0;
}

button{
  background-color: #FD0000;
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: 20px;
}

button p{
  margin: 0;
  padding: 0;
}

.prodCard{
width: 45%;
height: fit-content;
margin-left: 20px;
vertical-align: top;
display: inline-block;
}

.pcRow{
height: 15%;
min-height: 77px;
min-width: 100%;
margin-right: 10%;
border-bottom: 2px solid #BFBFBF;
}

.pcRowBorderless{
height: 15%;
min-height: 77px;
min-width: 100%;
margin-right: 10%;
}

.pcPlayButton{
width: 10%;
max-width: 40.78px;
aspect-ratio: 1 / 1;
background-color: rgb(28, 45, 78);
display: inline-block;
vertical-align: middle;
padding: 0;
right: 0;
}

#mobileCompactor{
  
}

#mobileRemover{

}

.headerLinks{
  display: inline-flex;
}

/* Mobile menu icon */
.mobile-menu-icon {
  display: none;
  cursor: pointer;
  font-size: 250%;
  color: white;
  z-index: 300;
  transition: transform 0.3s ease; /* Smooth transition for flipping */
  padding-bottom: 0.7%;
  padding-left: 0;
}

/* Add a flipped class for the animation */
.mobile-menu-icon.rotated {
  transform: rotate(90deg); /* Rotate the icon 90 degrees to the right */
}

@media (max-width: 1695px){
  #mobileCompactor{
    display: block;
    margin: 0 auto;
    width: 80%;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  #mobileRemover{
    display: none;
  }

  .headerLinks{
    display: none;
  }

  .pcRowBorderless{
    border-bottom: 2px solid #BFBFBF;
    text-align: left;
  }

  .pcRow{
    text-align: left;
  }

  .unisonHeaderEquip1{
    margin-bottom: 0; 
    margin-top: 0; 
    padding-left: 0; 
    display: inline-block;
    font-family: "Unison Pro Bold";
    font-size: 40px;
    line-height: 54px;
  }
  
  .unisonHeaderEquip2{
    margin-top: 0px; 
    margin-bottom: 0px; 
    display: inline-block;
    padding-left: 20px;
    font-family: "Unison Pro Bold";
    font-size: 40px;
    line-height: 54px;
  }
}

.pcPlayButton img{
width: 50%; 
margin: 25%;
}

.pcRow p{
color: #060E1D;
margin-left: 10px;
padding-left: 0;
display: inline-block;
width: 80%;
}

.pcRowBorderless p{
color: #060E1D;
margin-left: 10px;
padding-left: 0;
display: inline-block;
width: 80%;
}

@media (max-width: 664px){
  .pcRow p{
    width: 70%;
  }

  .pcRowBorderless p{
    width: 70%;
  }
}



.machiningP{
  color: #060E1D; 
  padding: 0;
}


button:hover {

  background-color: darkred;
}


.large-text {
  width: 100%; /* Allow full width by default */
  max-width: 800px; /* Maximum width for larger screens */
  margin: 0 auto; /* Center horizontally */
  text-align: center; /* Center text */
  font-size: 80px; /* Base font size */
  line-height: 1.1; /* Adjust line spacing */
  font-weight: 900;
  font-family: 'Unison Pro Bold';
  padding: 0;
}



.buttons-top-red:hover {

  background-color: darkred !important;
}

button:active {

  background-color: rgb(206, 72, 72) !important;
}

/* Default text color for the <p> inside the button */
.buttons-top-white p {
  color: #c03221; /* Red text color */
  margin: 0;
  transition: color 0.3s ease; /* Smooth transition for text color */
}

/* Button hover: affects both background and text color */
.buttons-top-white:hover {
  background-color: #060E1D !important; /* Dark background on hover */
  color: white !important; /* White text color cascades to children */
}

/* Ensure <p> inherits the hover color */
.buttons-top-white:hover p {
  color: white !important; /* Explicitly set text color to white */
}



/* Media Query for Smaller Screens */
@media (max-width: 900px) {
  .large-text {
      font-size: 48px; /* Shrink text only when screen width is smaller */
  }

  .home-buttons {

    width: 85% !important;
    margin: 0 auto !important;
    font-size: 6px !important;

  }

  .buttons-top-white {

    padding: 10px 20px !important;
    margin: 0 auto !important;
    width: 35% !important;
    font-size: 6px !important;
  }
  

  .buttons-top-red {

    padding: 10px 20px !important;
    margin: 0 auto !important;
    width: 35% !important;
    font-size: 6px !important;
  }

  .buttons-top-white p {

    font-size: 14px !important;
  }

  .buttons-top-red p {

    font-size: 14px !important;
  }
}


@media (max-width: 600px) {

  .buttons-top-white p {

    font-size: 10px !important;
  }

  .buttons-top-red p {

    font-size: 10px !important;
  }
}


@media (max-width: 575px) {
  .large-text {
      font-size: 42px; /* Shrink text only when screen width is smaller */
  }
}

@media (max-width: 500px) {
  .large-text {
      font-size: 36px; /* Shrink text only when screen width is smaller */
  }
}

@media (max-width: 415px) {
 
  #titleDiv {
    width: 90vw; /* Full width */
    margin-left: 0; /* Remove left margin */
    margin-right: 0; /* Remove right margin */
    left: 0; /* Align to the left */
    right: 0; /* Align to the right */
    bottom: 50;
    text-align: center; /* Center the text */
    position: absolute;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */

    min-width: 400px !important;
}

.large-text {
    font-size: 26px; /* Adjust font size as needed */
    text-align: center !important; /* Center the text */
    margin: 0 auto; /* Remove default margin */
    min-width: 400px !important;
    padding-bottom: 75%;
    
}
}


.service-container {

  width: 100%;
  background-color: white;
  padding-top: 5%;
}


.services-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 auto;
  width: 80%;
  background-color: white;
}


.service-box-blue {
  position: relative; /* Positioning context for absolute children */
  background-color: #060E1D;
  overflow: hidden; /* Prevent elements from spilling outside the box */
}

.service-box-blue h2 {
  position: absolute;
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 75%;
  text-align: left;
  font-size: 2.5rem;
  opacity: 1;
  transition: opacity 0.3s ease;
  top: 40%; /* Adjust vertical position */
  left: 45%; /* Center horizontally */
  transform: translate(-50%, -50%);
  font-weight: bold;
  font-family: 'Unison Pro Bold';
  z-index: 2;
}

.service-box-blue p {
  position: absolute;
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 80%; /* Same width as the h2 */
  padding: 0 10px;
  text-align: left; /* Align left to match h2 */
  top: calc(40% + 3rem); /* Position below the h2 by adding a gap */
  left: 48%; /* Center horizontally */
  transform: translateX(-50%); /* Align with the center of the container */
  opacity: 1;
  transition: opacity 0.3s ease;
  font-size: 1.5rem;
}



.service-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.service-box {
  position: relative;
  height: 500px; /* Adjust height as needed */
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Add a blue filter overlay */
.service-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 18, 51, 0.3); /* Blue filter */
  z-index: 2; /* Ensure it appears above the image but below text */
  pointer-events: none; /* Allow interaction with other elements */
}

.service-box h3 {
  position: absolute;
  z-index: 3;
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 75%;
  text-align: left;
  font-size: 2.2rem;
  opacity: 1;
  padding-left: 5%;
  transition: transform 0.3s ease, opacity 0.3s ease;
  top: 70%; /* Set initial position */
  transform: translateY(0); /* Start in its default position */
  font-weight: bold;
  font-family: 'Unison Pro Bold';
}

.service-box p {
  position: absolute;
  z-index: 3;
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 75%;
  padding-left: 5%;
  text-align: left;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(100%); /* Start below the box */
  transition: transform 0.3s ease, opacity 0.3s ease;
  bottom: 10%;

  font-family: 'Saira Semi Condensed';
}

/* Hover Effect */
.service-box:hover h3 {
  transform: translateY(-120%); /* Slide up to make room for the p text */
  padding-bottom: 10px;
}

.service-box:hover p {
  opacity: 1; /* Make the p text visible */
  transform: translateY(0); /* Slide the p text up into view */
}

.service-box:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


@media (max-width: 1861px),(min-width: 1600px ) { 

   /* Hover Effect */
   .service-box:hover h3 {
    transform: translateY(-150%); /* Slide up to make room for the p text */
    padding-bottom: 10px;
  }
}


/* Responsive Styles */
@media (max-width: 1600px) {
  .services-section {
    grid-template-columns: repeat(2, 1fr); /* Adjust to 2 columns */
    width: 90%;
  }

  .service-box {
    height: 400px; /* Reduce height for smaller screens */
  }

  .service-box-blue h2 {
    font-size: 2rem;
  }

  .service-box-blue p {
    font-size: 1.2rem;
  }


  .service-box p {
    font-size: 1rem;
  }

  /* Hover Effect */
  .service-box:hover h3 {
    transform: translateY(-100%); /* Slide up to make room for the p text */
    padding-bottom: 10px;
  }
}


@media (max-width: 1278px) {

  /* Hover Effect */
  .service-box:hover h3 {
    transform: translateY(-120%); /* Slide up to make room for the p text */
    padding-bottom: 10px;
  }
}


@media (max-width: 768px) {
  .services-section {
    grid-template-columns: 1fr; /* Single column for smaller screens */
  }

  .service-box {
    height: 350px;
  }

  .service-box-blue h2 {
    font-size: 1.8rem;
  }

  .service-box-blue p {
    font-size: 1rem;
  }

  .service-box h3 {
    font-size: 1.6rem;
  }

  .service-box p {
    font-size: 0.9rem;
  }
}



.video-container {
  flex: 1; /* Allow the video to grow */
  max-width: 50%; /* Restrict the video to half the container width */
  aspect-ratio: 16 / 9; /* Maintain a consistent aspect ratio */
  overflow: hidden;
}

.video-container iframe {
  width: 100%;
  height: 100%;
}




/* Container styling */
.company-detail {
  display: flex;              /* Create a horizontal row */
  justify-content: center;    /* Center all boxes together */
  align-items: center;        /* Center items vertically */
  text-align: center;
  background-color:#1C2D4E; /* Blue background */
  padding: 4% 0;             /* Combine top and bottom padding */
  color: white;              /* Default text color */
  flex-wrap: wrap;           /* Allow wrapping for smaller screens */
}

/* Box styling */
.company-detail-box {
  display: flex;              /* Make the box a flex container */
  flex-direction: column;     /* Stack children vertically */
  justify-content: center;    /* Center children vertically */
  align-items: center;        /* Center children horizontally */
  margin: 0;                  /* Remove auto margins for tighter layout */
  padding: 10px;              /* Optional: Add inner padding */
  text-align: center;         /* Ensure text alignment is centered */
  width: 22%;                 /* Default width for desktop */
  min-width: 150px;           /* Ensure a minimum width */
}

/* Heading styling */
.company-detail-box h2 {
  font-size: 2.7rem;          /* Adjust font size as needed */
  margin: 0 0 10px 0;         /* Add space only below the h2 */
  color: white;               /* Ensure h2 is white */
  font-family: 'Unison Pro';
  transition: transform 0.3s ease;
  text-align: center;         /* Ensure text alignment */
  width: 300px;               /* Set fixed width (adjust based on your largest value) */
  overflow: hidden;           /* Prevent overflow if text exceeds width */
}

/* Paragraph styling */
.company-detail-box p {
  font-size: 2rem;            /* Adjust font size as needed */
  width: 100%;
  margin: 0 auto; 
  padding: 0;
  text-align: center;        /* Ensure text alignment is centered */
  color: white;              /* Ensure p is white */
  font-family: 'Saira Semi Condensed';
}

/* Responsive styling for smaller screens */
@media (max-width: 1238px) {
  .company-detail {
      gap: 5%;                /* Reduce gap for smaller screens */
  }

  .company-detail-box {
      width: 45%;             /* Two columns on tablets */
  }

  .company-detail-box h2 {
      font-size: 2.5rem;      /* Slightly reduce font size */
      width: auto;            /* Allow flexible width */
  }
}

@media (max-width: 480px) {
  .company-detail-box {
      width: 100%;            /* Full width for mobile screens */
  }

  .company-detail-box h2 {
      font-size: 2rem;        /* Further reduce font size */
  }

  .company-detail-box p {
      font-size: 1.8rem;      /* Reduce paragraph font size for better fit */
  }
}



.white-space {

  background-color: white;
  width: 100%;
  padding-top: 10%;
  padding-bottom: 2%;
}


.our-brands-section {
  width: 100%;
  background-color: #01284A; /* Adjust to match the background color */
  padding: 20px 0;

  height: 200px;
}

.brands-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1500px; /* Limit the width for larger screens */
  margin: 0 auto; /* Center the container */
  padding: 0 20px; /* Add padding for smaller screens */
  padding-top: 2.5%;
}

.brands-title {
  color: white;
  font-family: 'Unison Pro', sans-serif; /* Replace with your font */
  font-size: 32px;
  text-transform: uppercase;
  white-space: nowrap; /* Prevent wrapping of the title */

}

.brands-images {
  display: flex;
  gap: 75px; /* Add space between the images */
  padding-right: 5%;
}

.brands-images h1 {

  font-family: 'Unison Pro';
  padding-top: 2.5%;

}

.brands-images .rcc {

  width: 70px; 
  padding-bottom: 1%;
}

.brands-images img {
  width: 100px;
  object-fit: contain;
}

/* At 1000px or less: Stack title and images */
@media (max-width: 1300px) {

    .our-brands-section {
      width: 100%;
      background-color: #01284A; /* Adjust to match the background color */
      padding: 20px 0;
      height: 400px;
    }

    .brands-container {
      display: block; /* Stack elements vertically */
      text-align: center; /* Center-align content */
      position: relative; /* Enable positioning adjustments */
      
    }
  
    .brands-title {
      margin-bottom: 5%; /* Add spacing below the title */
      position: relative; /* Enable positioning adjustments */

    }
  
    .brands-images {
      padding-top: 3%;
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* Two columns */
      gap: 20px; /* Space between items */
      justify-items: center; /* Center-align images within the grid */

    }

  .brands-images img:nth-child(3) {
    margin-top: -15px; /* Push up the first and third items in the left column */
  }


  .brands-images h1:nth-child(1) {
    margin-top: -13px; /* Push up the first and third items in the left column */
  }

  .brands-images h1 {

    font-size: 34px;
    
  }

  .brands-images img {
    width: 150px;
    object-fit: contain;
    padding-bottom: 5%;
  }

  .brands-images .rcc {

    width: 115px; 
    padding-bottom: 5%;
  }

}

@media (max-width: 700px) {

  .brands-images {
    padding-top: 8%;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 20px; /* Space between items */
    justify-items: center; /* Center-align images within the grid */

  }

  .brands-images img {
    width: 150px;
    object-fit: contain;
    padding-bottom: 10%;
  }
}


@media (max-width: 660px) {

  .brands-title {

    font-size: 28px !important;

  }


.brands-images {

  padding-top: 10%;
}

  .brands-images img {
    width: 100px;
    object-fit: contain;

  }

  .rcc {

    width: 75px !important;
  }

  .brands-images h1 {

    font-size: 24px;
  }

  .our-brands-section {

    height: 300px;
  }

}


.industry-verticalSpacer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  padding: 4% 2%;
  width: 100%; /* Ensure the parent container takes full width */
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Maintain 2x2 grid */
  gap: 1.5rem;
  flex: 1;
  min-width: 300px;
  max-width: 45%;
  padding: 0;
}

.industry-content {
  flex: 1;
  max-width: 45%;
  padding: 20px;
  padding-left: 0;
  padding-top: 7%;
  margin-left: 2%;
}

.industry-content h2 {
  color: black;
  font-family: 'Unison Pro';
  font-size: 42px;
}

.industry-content p {
  color: black;
  padding-left: 0;
}

.industry-card {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.overlay {
  background-color: rgba(16, 18, 51, 0.5);
  color: #fff;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  opacity: 1;
}

.overlay h2,
.overlay p {
  color: #fff;
}

.overlay h2 {
  font-size: clamp(14px, 1.5vw, 20px);
  padding-top: 10%;
  margin-bottom: 0.5rem;
  font-family: 'Unison Pro';
}

.overlay p {
  font-size: 26px;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.industries-grid2 {

  display: none;
}

/* Large screens (1200px and above) */
@media (max-width: 1200px) {
  .industries-grid {
      order: -1; /* Move the grid above the text */
      width: 100% !important; /* Ensure the grid takes up the full available width */
      padding: 0 10px;

      display: none;
  }

  .industries-grid2 {

    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Maintain 2x2 grid */
    gap: 1.5rem;
    flex: 1;
    min-width: 300px;
    max-width: 80%;
    padding: 0;
    padding-top: 5%;
    margin: 0 auto;

  }


  .industry-card {
      width: 100%; /* Full width of the parent container */
      max-width: none; /* Remove the max-width constraint */
      margin: 0 auto; /* Center the cards horizontally */
      height: 200px; /* Set height for mobile */
  }

  .industry-content {
      width: 90%;
      margin-left: 0;
      padding: 20px;
      max-width: 100% !important;
  }

  .industry-content h2 {
      font-size: 28px;
  }

  .industry-verticalSpacer {
      flex-direction: column;
      align-items: center;
      justify-content: center; /* Center the entire section vertically */
      gap: 1.5rem;
      width: 100%;
  }

  .overlay h2 {
      font-size: clamp(24px, 2.5vw, 10px);
      padding-top: 10%;
      margin-bottom: 0.5rem;
  }
}

@media (max-width: 900px) {

  .overlay h2 {
    font-size: clamp(18px, 2.5vw, 10px);
  }

  .industry-card {
    width: 100%; /* Full width of the parent container */
    max-width: none; /* Remove the max-width constraint */
    margin: 0 auto; /* Center the cards horizontally */
    height: 150px; /* Set height for mobile */
}

}

@media (max-width: 700px) {

  .overlay h2 {
    font-size: clamp(14px, 2.5vw, 10px);
  }

  .industry-card {
    width: 100%; /* Full width of the parent container */
    max-width: none; /* Remove the max-width constraint */
    margin: 0 auto; /* Center the cards horizontally */
    height: 150px; /* Set height for mobile */
}

}

@media (max-width: 600px) {

  .overlay h2 {
    font-size: clamp(12px, 2.5vw, 10px);
  }

}

@media (max-width: 500px) {

  .overlay h2 {
    font-size: clamp(10px, 2.5vw, 10px);
    padding-left: 0;

  }

  .industry-card {
    width: 100%; /* Full width of the parent container */
    max-width: none; /* Remove the max-width constraint */
    margin: 0 auto; /* Center the cards horizontally */
    height: 100px; /* Set height for mobile */
}

}


@media (max-width: 430px) {

  .brands-title {

    font-size: 20px !important;

  }
}



.qa-verticalSpacer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  padding: 4% 2%;
  margin: 0 auto;
  width: 90%; /* Ensure the parent container takes full width */
}

.iso {
  width: 40%;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  order: 2; /* Ensure the image is on the right side */
}

.iso img {
  width: 50%;
  min-width: 200px;
}

.qa-content {
  flex: 1;
  max-width: 50%;
  padding: 20px;
  padding-left: 0;
  padding-top: 4%;
  margin-left: 2%;
  order: 1; /* Ensure the content is on the left side */
}

.qa-content h2 {
  color: black;
  font-family: 'Unison Pro';
  font-size: 42px;
}

.qa-content p {
  color: black;
  padding-left: 0;
}

@media (max-width: 600px) {
  .qa-verticalSpacer {
      flex-direction: column; /* Stack elements vertically */
      align-items: center; /* Center elements horizontally */
      margin-top: 5%;
  }

  .iso {
      order: -1; /* Move above the qa-content */
      width: 100%; /* Full width */
      margin-bottom: 20px; /* Add some space below */
      
  }

  .qa-content {
      width: 100%; /* Full width */
      max-width: none; /* Remove max-width constraint */
      text-align: center; /* Center text */
      order: 0; /* Ensure the content is below the image */
  }

  .qa-content h2 {
      font-size: 32px;
  }

  .iso img {
      width: 50%;
      min-width: 150px;
  }

  .qa-content button {
      display: block !important;
      margin: 0 auto !important;
      text-align: center !important;
  }
}


.tour-locations-container {
  display: flex;
  justify-content: space-between; /* Adjusts spacing between items */
  align-items: center; /* Aligns items vertically */
  gap: 20px; /* Adds space between the items */

  margin-bottom: 0;
  padding-bottom: 0;
}

.tour-location {
  flex: 1; /* Allows the items to grow and take up available space */
  text-align: center; /* Centers the text within each item */

  margin-bottom: 0;
  padding-bottom: 0;
}

.tour-location-fab-mobile {

  display: none;
  flex: 1; /* Allows the items to grow and take up available space */
  text-align: center; /* Centers the text within each item */
  width: 100%;

  margin-bottom: 0;
  padding-bottom: 0;
}

.tour-location-fab-mobile h3{

  color: black;
}


.tour-location h3 {

  color: black;
  font-family: 'unison pro';
  text-align: center;
}

.virtual-tour-title {

  font-size: 60px;
}


@media (max-width: 1200px) {

  .tour-location {

    display: none;
  }

  .tour-location-fab-mobile {

    display: block;
    order: -1;

  }

  .tour-location-fab-mobile h3{

    color: black;
    font-family: 'unison pro';

  }

  .video-container {
    order: 0; /* Ensure it stays below the tour-location-fab-mobile */
}
}


@media (max-width: 1200px) {

  .virtual-tour-title {

    font-size: 42px;
  }

}