
.slider {
  position: relative;
  height: 100vh;
  width: 100%;
}

.slide {
  position: absolute;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 8s ease;
  display: flex;
  align-items: center;
  justify-content: center; /* ← Add this to center horizontally */
  /* Remove this: padding-left: 5vw; */
}

.slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5); /* adjust opacity here */
  z-index: 1;
}

.slide .content {
  position: relative;
  z-index: 2; /* Make sure text appears above overlay */
}

.slide.active {
  opacity: 1;
  transform: scale(1.0);
  z-index: 2;
}

.content {
  max-width: 100%;
  animation: fadeIn 1s ease-out forwards;
	    font-family: "Montserrat", sans-serif;
    font-size: 25px;
    font-weight: 400;
    color: #fff;
    line-height: normal;
    letter-spacing: normal;
	text-align: center;

}

.content h1{
    color: #fff;
}

.content h1 span{
     color: #fff;
    font-weight: 700;
    font-size: 120px;
    letter-spacing: -3px;
}

.content .index {
  font-size: 0.8em;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.content h1 {
  font-size: 4.5em;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1rem;
}

.content .meta {
  font-size: 0.6em;
  margin-bottom: 2rem;
  display: flex;
  gap: 2rem;
  justify-content: center; /* ← Centers the items horizontally */
  text-align: center; /* Optional: Helps with centering text inside flex items */
  width: 100%; /* Ensures it spans the full width */
}

.content .cta {
  text-decoration: none;
  color: white;
  border-bottom: 2px solid white;
  font-weight: bold;
  font-size: 0.9em;
}

.top-nav {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 2rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 10;
}

.top-nav .logo {
  font-weight: bold;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.top-nav nav a {
  margin-left: 2rem;
  font-size: 0.8em;
  text-decoration: none;
  color: white;
  opacity: 0.8;
}

footer.social {
  position: absolute;
  bottom: 2rem;
  right: 5vw;
  z-index: 10;
}

footer.social a {
  color: white;
  margin-left: 1rem;
  font-size: 1em;
  text-decoration: none;
  opacity: 0.8;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}