
/* Regular */
@font-face {
    font-family: 'Unison Pro';
    src: url('../fonts/Type Juice - Unison Pro Bold Round.otf') format('opentype');

}


.master-container {
    max-width: 2560px; /* Adjust as needed */
    margin: 0 auto; /* Centers the container */
    
  }


/* 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;
}

.pageHeader {
    display: inline-block;
    width: 80vw;
    height: 5vw;
    border: 1px solid gray;
    margin-left: 10vw;
    margin-right: 10vw;
}

p {
    padding-left: 2em;
    color: white;
}

.upperBorder {
    width: 100%;
    border-top: 1px solid #9099AA;
    min-height: 100px;
}

/* Barlow Semi Condensed Font */
.barlow-semi-condensed-regular {
    font-family: "Barlow Semi Condensed", system-ui;
    font-weight: 400;
    font-style: normal;
}

/* Container for the main content to ensure footer positioning */
.content-container {
    min-height: 100vh; 
    padding-bottom: 200px; 
    position: relative;

}

body {
    margin: 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    background-color:#060e1d;
    color: white;
}


.brand-image {
    width: 100%;
    height: auto; 
}


.serviceHeader {

    background-color: white;
    padding-top: 3%;
    padding-bottom: 3%;
}

.serviceHeader h1 {

    color: black;
    font-family: 'Unison Pro';
    font-size: 48px;
    font-weight: 800;
    margin: 0 auto;
    margin-left: 8%;
    width: 15%;

}


@media (max-width: 768px) {

    .serviceHeader h1 {

        font-size: 36px !important;
        
    }

    .text-content h2 {

       font-size: 36px !important;
    }

    .text-content p {

        font-size: 18px !important;
    }

    .downtime p {

        font-size: 18px !important;
    }
}

@media (max-width: 430px) {

  .text-content h2 {

      font-size: 30px !important;
  }

  .serviceHeader h1 {

      font-size: 32px !important;
  }

  .download-button a {

      font-size: 12px !important;
  } 

}

@media (max-width: 370px) {

  .text-content h2 {

      font-size: 24px !important;
  }

  .serviceHeader h1 {

      font-size: 28px !important;
  }

}


/* About Us Section */
.service-section {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    padding-top: 3%;
    padding-bottom: 2%;
    background-color: #1c2d4e;

    display: flex; /* Enable flexbox layout */
    justify-content: space-between; /* Space out the two containers */
    align-items: stretch; /* Ensure both elements stretch to the same height */
}


/* Container for Header and Video */
.service-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 87.5%;
    margin: 0 auto;
}

/* Service Header Styling */
.service-header {
    display: flex;
    flex-direction: row; /* Default: side by side */
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

/* Text container inside service-header */
.text-content {
    display: flex;
    flex-direction: column; /* Stack text vertically */
    gap: 10px;
    flex: 1;
    text-align: left;
}

.text-content p {
    color: white;
    text-align: left;
    padding-left: 0;
    margin-left: 5%;
}


.service-header p {
    font-family: 'Saira Semi Condensed';
    text-align: left;
    font-size: 28px;
    width: 80%;
}

.service-header h1,
.service-header h2,
.service-header p {
    flex: 1;
}

/* Video container in service-header */
.video-container {
    flex: 1;
    max-width: 50%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

/* Video styling */
.video-container iframe {
    width: 100%;
    height: 100%;
}

/* Text Styling */
.service-header h1 {
    font-size: 3rem;
    color: white;
    margin: 0;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Unison Pro';
    text-align: left;
    margin-left: 5%;
}

.service-header h2 {
    font-size: 3rem;
    color: white;
    margin-top: -20px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-weight: bold;
    text-align: left;
    font-family: 'Unison Pro';
    margin-left: 5%;
}

/* Mobile Responsive */
@media (max-width: 1140px) {
    /* Stack text and video vertically */
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        margin: 0 auto;
        margin-top: 3%;
    }

    /* Adjust video container to be larger */
    .video-container {
        max-width: 80%; /* Increase the width to make it larger */
        width: 100%;    /* Ensure it spans the full width if needed */
        height: auto;   /* Maintain aspect ratio */
        margin: 0 auto;
        margin-top: 20px;
    }

    /* Text content adjustments */
    .text-content h1, .text-content h2 {
        font-size: 2rem;
        margin-left: 0;

    }

    .service-header h1 {
        font-size: 3rem;
        margin: 0 auto;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .service-header h2 {
        font-size: 3rem;
        margin: 0 auto;
        padding-top: 0;
        text-align: center;
    }

    .text-content h1 {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .text-content h2 {
        padding-top: 0;
        margin-top: 0;
    }

    .service-header p {
        font-size: 1.25rem;
        width: 75%;
        margin: 0 auto;
    }

    .text-header-top {
        margin: 0 auto;
        text-align: center;
        justify-content: center;
    }

    .text-header-top h2 {
        text-align: center;
        justify-content: center;
    }
}

/* Tablet and smaller screens */
@media (max-width: 480px) {
    .service-header h1 {
        font-size: 2rem;
    }

    .service-header h2 {
        font-size: 1.8rem;
    }

    .service-header p {
        font-size: 1rem;
    }
}


.service-header2 h1 {
    font-size: 2.7rem;
    color: #1d1d1d;
    margin: 0;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Unison Pro';
}

.service-header2 h2 {
    font-size: 2.7rem;
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    margin-top: -20px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-weight: bold;
    font-family: 'Unison Pro';
}

.service-content {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.service-description {
    text-align: left;
    font-size: 20px;
    width: 80%;
    margin-top: 1%;
    margin-left: 15%;
}

/* Media Query for screens 900px or less */
@media screen and (max-width: 900px) {
    .service-top {
        flex-direction: column; /* Stack the header and content vertically */
        align-items: center;    /* Center them horizontally */
        text-align: center;     /* Center the text for smaller screens */
    }

    .service-header h1, .service-header h2 {
        text-align: center;     /* Center the heading text */

    }

    .service-description {
        width: 100%;            /* Make the description take full width */
        margin-left: 0;         /* Remove left margin */
        text-align: left;     /* Center the description text */
    }
}

.transparent-image {
    background-color: transparent;
    height: 300px;
}

.service-image {
    width: 87.5%;
    max-width: 2560px;
    height: 60%;
    position: fixed;
    top: 50%; /* Position at the top of the viewport */
    left: 50%;
    transform: translateX(-50%);
    z-index: -1; /* Keep it behind everything */
    object-fit: cover; /* Ensures the image covers the entire viewport */
    pointer-events: none; /* Makes sure the image does not interfere with user interactions */
}




.service-container {

    width: 100%;
    background-color: white;
    padding-top: 5%;
    padding-bottom: 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 */
    background-color:#060e1d; /* Blue background color */
    width: 100%; /* Width of the parent container */
    height: 100%;; /* Set a fixed height to create a square box */
    padding: 20px; /* Space around the content */
    box-sizing: border-box; /* Ensure padding doesn't affect width/height */
    display: flex; /* Use flexbox to align content */
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text inside */
    overflow: hidden; /* Prevent content overflow */
}

.service-box-blue h2 {
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    font-size: 3rem;
    font-weight: bold;
    font-family: 'Unison Pro';
    padding-top: 15%;
    margin-left: 0;

   
}

.service-box-blue p {
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    font-size: 1.5rem;
    font-weight: 600;
    font-style:normal;
    margin-bottom: 1rem; /* Space below the paragraph */
}

.service-box-blue .arrow-icon {
    width: 30px;
    height: 30px;
    background-image: url('path/to/your/arrow-icon.png'); /* Example arrow icon */
    background-size: cover;
    margin-top: 20px; /* Add some space between text and icon */
}

  
  
  
  .service-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }

  .machining-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;
  }

  .machining-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: 35px;
    opacity: 1;
    padding-left: 5%;
    transition: transform 0.3s ease, opacity 0.3s ease;
    top: 40%; /* Set initial position */
    transform: translateY(0); /* Start in its default position */
    font-weight: bold;
    font-family: 'Unison Pro';
  }
  
  .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';
  }

  /* Add a blue filter overlay */
  .machining-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 */
  }
  
  .machining-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: 35px;
    opacity: 1;
    padding-left: 5%;
    transition: transform 0.3s ease, opacity 0.3s ease;
    top: 60%; /* Set initial position */
    transform: translateY(0); /* Start in its default position */
    font-weight: bold;
    font-family: 'Unison Pro';
  }
  
  .machining-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';
  }

  /* The box that contains the arrow */
.arrow-icon {
  z-index: 3;
  position: absolute;
  top: 10px; /* Adjust the distance from the top */
  right: 10px; /* Adjust the distance from the right */
  width: 60px; /* Size of the box */
  height: 60px; /* Size of the box */
  background-color:#1c2d4e; /* Box color */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px; /* Rounded corners for the box */
}

/* The arrow inside the box */
.arrow {
  width: 0;
  height: 0;

  border-top: 16px solid transparent; /* Increase size */
    border-bottom: 16px solid transparent; /* Increase size */
    border-left: 24px solid white; /* Increase size */
}
  
  /* Hover Effect */
  .service-box:hover h3 {
    transform: translateY(-100%) !important; /* Slide up to make room for the p text */
    padding-bottom: 10px;
    
  }

  .machining-service-box:hover h3 {

    transform: translateY(-200%) !important; /* 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);
    
  }

  .service-box:hover::after {
    background: rgba(16, 18, 51, 0.6); 
}
  

  .service-box:hover .arrow-icon {

    background-color: #fd0000;
  }

  .service-box:active .arrow-icon {

    background-color: rgb(206, 72, 72);
  }

  /* --------------------*/

  .machining-service-box:hover p {
    opacity: 1; /* Make the p text visible */
    transform: translateY(0); /* Slide the p text up into view */
  }
  
  .machining-service-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    
  }

  .machining-service-box:hover::after {
    background: rgba(16, 18, 51, 0.6); 
}
  

  .machining-service-box:hover .arrow-icon {

    background-color: #fd0000;
  }

  .machining-service-box:active .arrow-icon {

    background-color: rgb(206, 72, 72);
  }

  @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;
   }

   .machining-service-box:hover h3 {
    transform: translateY(-200%); /* 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;
   }

   .machining-service-box {
    height: 400px; /* Reduce height for smaller screens */
  }

  .machining-service-box-blue h2 {
    font-size: 2rem;
  }

  .machining-service-box-blue p {
    font-size: 1.2rem;
  }


  .machining-service-box p {
    font-size: 1rem;
  }

  /* Hover Effect */
  .machining-service-box:hover h3 {
    transform: translateY(-150%); /* 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;
   }

   .machining-service-box:hover h3 {
    transform: translateY(-160%); /* Slide up to make room for the p text */
    padding-bottom: 10px;
  }
 }
 
 


 @media (max-width: 920px) {
   .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;
   }


   .machining-service-box {
    height: 350px;
  }

  .machining-service-box-blue h2 {
    font-size: 1.8rem;
  }

  .machining-service-box-blue p {
    font-size: 1rem;
  }

  .machining-service-box h3 {
    font-size: 1.6rem;
  }

  .machining-service-box p {
    font-size: 0.9rem;
  }
 }
 
  
 .equipment-overview {

  width: 100%;
  margin: 0 auto;
  padding-top: 3%;

}

.equipment-overview h1 {

  text-align: center;
  font-size: 42px;
  color: black;
}


/* General container styling */
#controls {
  display: flex;
  justify-content: center; /* Center controls */
  align-items: center;
  gap: 15px; /* Add spacing between elements */
  margin-bottom: 20px; /* Space below the controls */
}

/* Button styling */
.modern-button {
  background-color: #c03221; /* Deep blue background */
  color: white; /* White text */
  font-size: 16px; /* Font size */
  font-weight: bold; /* Bold text */
  padding: 10px 20px; /* Padding for a comfortable size */
  border: none; /* Remove default border */
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
}

/* Hover effect */
.modern-button:hover {
  background-color: darkred; /* Lighter blue on hover */
}

/* Active state */
.modern-button:active {
  background-color: rgb(206, 72, 72); /* Darker blue for active state */
  transform: translateY(0); /* Reset elevation */
}

/* Page info styling */
#controls span {
  font-family: 'Saira Semi Condensed', sans-serif; /* Modern font for text */
  font-size: 16px; /* Match font size of buttons */
  color: #003366; /* Match button color */
}


#pdf-viewer {
  width: 80%;
  height: 80%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0; /* Background color for full screen */
  position: relative;
}

canvas {
  max-width: 100%;
  max-height: 100%;
  display: block;
}


#exit-fullscreen {
  margin-left: 10px;
  background-color: #d9534f;
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
}

#exit-fullscreen:hover {
  background-color: #c9302c;
}

.nav-button {

  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10; /* Ensure buttons are on top */
}

.nav-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
  z-index: 1000;
}

#left-arrow {
  left: 10px;
}

#right-arrow {
  right: 10px;
}

#prev-page {
  left: 10px; /* Adjust as needed */
}

#next-page {
  right: 10px; /* Adjust as needed */
}

.nav-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}


/* Hide navigation arrows by default */
#pdf-viewer .nav-arrow {
  display: none;
}

/* Show navigation arrows when in full-screen mode */
#pdf-viewer:fullscreen .nav-arrow {
  display: block;
}



.top-container {

  width: 80%;
  margin: 0 auto;
}

.privacyContainer{
  margin-left: 10%;
  margin-right: 10%;
  width: 100%;
  margin: 0 auto;
  height: fit-content;
}

.dietHeader{
  font-size: 28px;
  text-transform: uppercase;
}

.privacyContainer p{
  color: #060e1d;
  margin-left: 0;
  padding-left: 0;
}

.equipButton{
  background-color: #FD0000;
  border: 2px solid #FD0000;
  border-radius: 5px;
  color: white;
  font-family: "Saira Semi Condensed";
  width: 20%;
  height: fit-content;
  min-height: 50px;
  transition: background-color 0.3s ease, border 0.3s ease;
}

.equipButton:hover{
  background-color: darkred;
  border-radius: 5px;
  color: white;
  font-family: "Saira Semi Condensed";
  width: 20%;
  height: fit-content;
  min-height: 50px;
  transition: background-color 0.3s ease, border 0.3s ease;
}

.equipButtonSelected{
  background-color: #fd0000;
  border: 2px solid #333;
  border-radius: 5px;
  color: white;
  font-family: "Saira Semi Condensed";
  width: 20%;
  height: fit-content;
  min-height: 50px;
  transition: background-color 0.3s ease;
}

.equipButtonSelected:hover{
  background-color: darkred;
  border: 2px solid #333;
  border-radius: 5px;
  color: white;
  font-family: "Saira Semi Condensed";
  width: 20%;
  height: fit-content;
  min-height: 50px;
  transition: background-color 0.3s ease;
}

.equipButton p{
  color: white;
  font-family: "Unison Pro";
  margin-top: 10px;
  margin-bottom: 10px;
}

.equipButtonSelected p{
  color: white;
  font-family: "Unison Pro";
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Table Formatting */
table{
  border: 2px solid #333;
  border-collapse: collapse;
  width: 100%;
}

tr{
  text-align: center;
  border: 1px solid #333;
}

th, td{
  border-right: 2px solid #333;
}

th{
  background-color: #333;
  border: 2px solid #000;
  color: #bcc9e0;
  font-size: 20px;
}

.visTable{
  display: block;
}

.invisTable{
  display: none;
}

#equipHeader{
  height: fit-content; 
  display: flex; 
  align-items: baseline;
}

#equipHeader p{
  margin-left: auto;
}

a.downloadButton{
  padding: 10px 20px;
  border-radius: 5px;
  color: #FFF;
  background-color: #fd0000;
  font-family: "Unison Pro", "Saira Semi Condensed";
  text-decoration: none;
}

a.downloadButton:hover{
  padding: 10px 20px;
  border-radius: 3px;
  color: #FFF;
  background-color: darkred;
  font-family: "Unison Pro", "Saira Semi Condensed";
  text-decoration: none;
}

a.downloadButton:active {

  background-color: rgb(206, 72, 72);
}

/* Mobile Setup */
@media(max-width: 1400px){
  .mattsH1{
      align-self: auto;
      display: block;
      float: none;
      margin: 0 auto;
      text-align: center;
      width: 100%;
      font-size: 42px;
  }

  .isoText{
      align-self: auto;
      display: block;
      float: none;
      margin: 0 auto;
      margin-top: 10px;
      text-align: center;
      width: 90%;
  }

  #equipHeader{
      display: block;
  }
}


@media (max-width: 768px) {

  a.downloadButton {

      font-size: 16px;
  }
}

@media (max-width: 721px) {

  .equipment-overview h1 {

      font-size: 24px !important;
  }
}

@media (max-width: 655px) {

  .modern-button {

      font-size: 14px !important;
  }
}


@media (max-width: 540px) {

  .mattsH1 {

      font-size: 28px;
  }
}

.logo-container {
  display: flex
;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.downtime {

  width: 100%; 
  background-color: black; 
  padding-top: 0.5%; 
  padding-bottom: 0.5%;
  padding-left: 5%;
  padding-right: 5%;
}

.downtime p {

  text-align: center; padding: 0;
}


.top-overlay {
  position: relative;
  display: flex;
  justify-content: flex-start; /* Align content to the start horizontally */
  align-items: center; /* Center vertically */
  flex-direction: column;
  width: 100%; /* Full width of the screen */
  height: 100vh; /* Full viewport height */
  overflow: hidden;
  margin: 0;
  padding: 0;
  z-index: -1; /* Push it behind the header */
  text-align: left; /* Left-align text */
}

.top-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1; /* Keep the image at the back */
}

.content {
  position: relative;
  z-index: 2; /* Ensure content appears above the image */
  color: white; /* Text color */
  text-align: left; /* Align text to the left */
  padding: 0 20px; /* Keep some padding for spacing */
  margin-right: calc(40%); /* Dynamically position content inward */
  margin-top: 10%;
  max-width:800px; /* Limit the maximum width for readability */
  
}

.top-title {
  font-size: 60px !important; /* Adjust as needed */
  margin: 0 0 20px 0; /* Add space below the heading */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Optional for better readability */
  font-family: 'Unison Pro';
  padding-left: 0;
}

.content p {
  font-size: 18px !important; /* Adjust the size for readability */
  line-height: 1.6; /* Improve paragraph spacing */
  margin: 0; /* Ensure no extra margin pushes it */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* Improve readability on the image background */
  color: white;
  text-align: left;
  padding-left: 0;
}

/* Responsive Media Queries for Smaller Screens */
@media (max-width: 2000px) {
  .content {
      margin-left: calc(9%); /* Pull content inward dynamically */
      max-width: 600px; /* Reduce width for smaller screens */
  }

  .top-title {
      font-size: 50px; /* Adjust heading size */
  }

  .content p {
      font-size: 20px; /* Adjust paragraph size */
  }
}

@media (min-width: 1200px) {

  .content {
      margin-right: calc(60%); /* Pull content inward dynamically */

  }
}

@media (max-width: 900px) {

  .content {

      margin: 0 auto;
      text-align: center;
      margin-top: 10% !important;
  }
}


.scroll-arrow {
  position: absolute;
  bottom: 20px; /* Place it slightly above the bottom edge */
  padding-bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2; /* Ensure it appears above the image */
  color: white;
  font-size: 3rem; /* Adjust the size of the arrow */
  cursor: pointer; /* Indicate it's interactive */
}

#blueSquare{
  position: absolute;
  left: 0%;
  top: 0;
  min-width: 100%;
  min-height: 100%;
  background-color: rgba(16, 18, 51, 0.25);
  z-index: 1;
  }  


  @media (max-width: 900px) {
   
  
    .top-overlay {
      position: relative;
      margin-top: -32px; /* Pulls the top-overlay up to overlap the header */
      height: calc(100vh); /* Extends height to account for the pull-up */
    }
  }
  
  

  @media (max-width: 768px) {

    .top-title {
        font-size: 40px !important; /* Adjust heading size */
    }

  }


  @media (max-width: 450px) {

    .top-title {
        font-size: 30px !important; /* Adjust heading size */
    }

  }

  @media (max-width: 350px) {

    .top-title {
        font-size: 28px !important; /* Adjust heading size */
    }

  }
