/* Fade-in page on load */
body {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

body.loaded {
  opacity: 1;
}
#jobs-btn{
  width:40%;
}

#buttons-hero{
position:absolute;
left:830px;
margin-top:220px;
}


       /* Keep logo under control */



nav a {
  position: relative;
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}


@media (min-width: 768px) {
  
  #buttons-hero{
position:absolute;
left:830px;
margin-top:220px;
}

/* Ensure buttons are above overlay */
#buttons-hero a {
  z-index: 10;
}
nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #131313;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}
html {
  scroll-behavior: smooth;
}
.section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}
.button {
  background: #ff4c4c;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transform: scale(1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
