/* styles.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



body, html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Fautive', sans-serif;
  background-color: #000;
  color: #fff;
  scroll-behavior: smooth;
  background-image: url('cube.png');
  background-size: cover;
  background-position: absolute;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background: trAns
}


@keyframes translateY {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


header {

  padding: 10px 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .container {
  width: 100%; /* Use the full width of the header */
  max-width: 1800px; /* Or whatever your desired max width is */
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* This will position the h1 and nav to opposite ends */
  align-items: center;
}

header h1 {
  font-size: 3rem;
}

nav ul {
  list-style: none;
  float: right;
  display: flex;
  margin-right: 150px;
  padding: 10px;
  justify-content: space-between;
}

nav ul li {
  display: inline;
  margin-right: 20px;
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

#hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  position: relative;
  flex-direction: column;
  margin-bottom: 70px;
}

#hero h2{
  font-size: 3rem;
}

#hero p {
  font-size: 2rem;
  font-family: 'Inferi';
  margin-top: 30px;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  padding: 10px 30px;
  margin-top: 20px;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  transition: background-color 0.3s ease;
  width: 200px;
  height: 50px;
  font-family: 'Fautive';
  font-size: 1rem; 
}

.cta-button:hover {
  background-color: #696969;
  color: #fff;
}

a {
  color: #111;
  text-decoration: none;
  }

section {
  padding: 60px 0;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  width: 90%;
}

.service-container.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.service-container {
  display: flex; /* Establishes a flex container */
  align-items: flex-start; /* Centers the items vertically */
  justify-content: space-between; /* Adds space between the title and video */
  padding: 50px 0; /* Adjust padding as needed */
  color: #fff;
  margin-bottom: 30px; /* Adds space between service sections */
  padding: 50px 0; /* Adjust padding as needed */
  border-radius: 25px;
  will-change: transform, opacity; /* Optimize for animations */
  opacity: 0; /* Start with service containers invisible */
  transform: translateY(20px); /* Start position for the animation */
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.service-container:hover {
  transform: translateY(-5px); /* Slight upward motion on hover for interactivity */
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1); /* Enhanced shadow on hover for more depth */
  box-shadow: 
  inset 0 2px 4px rgba(36, 36, 36, 0.1), 
  inset 0 4px 6px rgba(54, 54, 54, 0.1), 
  inset 0 8px 8px rgba(53, 53, 53, 0.1), 
  inset 0 16px 16px rgba(255, 255, 255, 0.1), 
  inset 0 32px 32px rgba(255, 255, 255, 0.1),
  inset 0 64px 64px rgba(255, 255, 255, 0.1);
}


.service-text {
  width: 60%;
  margin-left: 50px;
}

.service-title {
  flex-basis: 30%; /* Adjust the width of the title area */
  margin-right: 20px;
  margin-bottom: 20px;
  margin-top: 10px;
  align-self: flex-start;
  font-family: 'Fautive' 'Sans serif';
  font-size: 4rem;
  position: top;
}

.service-description {
  margin-bottom: 20px;
  font-family: 'Inferi';
  max-width: 750px;
  font-size: 1.5rem;
  margin-bottom: 70px;
  margin-top: 30px;
}

.service-video-container {
  width: 40%;
  padding-left: 20px; /* Space between text and video */
  margin-right: 50px;
}

.service-video {
  width: 100%;
  height: auto;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.contact-button {
  background-color: #222; /* Dark button */
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}


footer {

  padding: 20px 0;
  text-align: center;
}




/* Responsive design */
@media (max-width: 768px) {
  header h1, nav ul {
    float: none;
    text-align: center;
    margin: 10px 0;
    .service-item {
      flex: 0 1 100%; /* Full width on smaller screens */
    }
  }

  nav ul li {
    display: block;
  }
}
