body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;

}
/* Canvas style */
canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Canvas is behind the div */
    background-color: #403e3e;

}

.label {
  font-weight: bold;
  min-width: 150px;
  display:inline-block;
  text-align: left;
  margin-right: 10px;
}

.value {
  flex: 1;
  text-align: right;

}


/* Title div style */
#title {




    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 'lighter';
    font-size: 1.4em;
    color: white;
    z-index: 1; /* Ensure title is above the canvas */
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255, 0.3);

}

#container {

    margin: 0 auto;
    background-color: #fff;
    opacity: 0.8;
    font-family: 'IBM Plex Sans', sans-serif;
    color: #1e4580;
    z-index: 0; /* Ensure title is above the canvas */
    text-align: justify;
    padding: 25px;
    border-radius: 15px 50px;
}

li {

  padding: 1px;
  text-align: left;
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    height: 35vh;
    opacity: 0.75;
    width: 100%;
    background: #282929; /* Light grey */
    color: white; /* Dark grey text */
    font-size: 0.8em;
    font-family: 'IBM Plex Sans', sans-serif;


}


.header-content {
  display: flex;
  padding: 25px;
  max-width: 1400px;
  justify-content: space-between;

  margin: 0 auto;

}


.maintenance {
list-style-type: square;
list-style-position: outside;
margin-left: 25px;


}

.sector-experience {

  list-style-type: none;
  width: 270px;
color: #545353;
padding-right: 50px;
font-size: 0.9em;
padding-top: 50px;
overflow-x: auto;
overflow-y: auto;
  text-align: justify;
  font-family: 'IBM Plex Sans', sans-serif;


}


.sector-experience h3 {

  color: #37c8db;
}

.footer-address-details {
list-style-type: none;
width: 200px;
border-right: 1px solid rgba(255,255,255, 0.3);
padding-right: 100px;




}

h3 {


  font-weight: normal;
  font-size: 1.2em;
  color: white;

}


.contact-details {
  list-style-type: none;

  flex-direction: column;
border-right: 1px solid rgba(255,255,255, 0.3);
padding-right: 100px;

  text-align: left;
}



.contact-details2 {
  list-style-type: none;
  width: 200px;
padding-right: 50px;


  text-align: left;
}

.linkedin-icon {
  opacity: 0.7; /* Makes it slightly opaque */
  color: white;
  transition: opacity 0.3s ease-in-out;
  font-size: 30px;
}

.linkedin-icon:hover {
  opacity: 1; /* Fully visible on hover */
}

.footer-content {
    display: flex;
    padding: 25px;
    max-width: 1400px;
    justify-content: space-between;

    margin: 0 auto;
}

#crosshairCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;

    height: 100vh;
    pointer-events: none; /* Allows clicks to pass through */
    z-index: 0; /* Keeps it above the Three.js canvas */
    opacity: 0.2;
}



.header-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10vh; /* 25% of the viewport height */
    background: #ccc; /* Light grey */
    z-index: 10; /* Ensure it's above the animation */
}



.strapline-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    text-align: center;
    opactiy: 0;
}

.strapline {
    font-size: 1.8em;
    font-family: 'IBM Plex Sans', sans-serif;
    color: white;
    font-weight: lighter;
    opacity: 0;
    transform: translateY(50px);
}

.link {
    text-decoration: none;
    color: white; /* Initial text colour */
    transition: color 0.3s ease-in-out; /* Smooth transition */
}

.link:hover {
    color: #ebe134; /* Colour on hover */
}



/* Arrow Button */
#arrow-button {

  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.2em;
  cursor: pointer;
  color: #000;
  opacity: 0.8;
  padding-right: 30px;
  animation: fadeInOut 5s infinite alternate;
  transition: color 0.3s ease;
  z-index: 2;
}

#arrow-button:hover {
  color: #ebe134;
}



/* Sliding Content Div */
#sliding-div {
  position: fixed;
  top: -100%; /* Hidden off-screen */
  left: 0;
  width: 100%;
  padding-bottom: 50px;
  overflow-x: auto;
  overflow-y: scroll;
  background: rgba(255,255,255, 1);
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content:center;
  align-items: flex-start;
  transition: top 0.8s ease-in-out;

  z-index:1;
}


/* Loading container - full-screen overlay, centered content */
#loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1.2em;
    background-color: rgba(0, 0, 0, 0.94); /* Dark grey background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it stays on top */
}


#loading-tag {
  position: fixed;
  padding: 10px;
  margin-bottom: 40px;
}

/* Loading bar - 3px wide and 200px long, centered */
#loading-bar {
    width: 0; /* Start width at 0 */
    height: 3px;
    background-color: #3ecae6; /* Dark grey bar */
    opacity: 0.7;
    transition: width 1.8s ease-out; /* Animation for the bar to grow */
    margin-top: 10px;
}

/* Show the div when active */
#sliding-div.active {
  top: 0;
}
