* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  font-family: 'Quicksand', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Container immagini */
#random-images {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.random-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 2.5s ease, transform 10s ease;
}

.random-img.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1.07); /* Slight zoom */
}

/* Overlay testo */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.3); /* optional: sfondo semitrasparente per migliorare leggibilità */
}

/* Textual Logo 
.logo { 
  font-size: 3rem;
  margin-bottom: 1rem;
}  */

/* Image Logo */
#logo-img {
  height: 6rem; /* or try 3rem, 4rem, etc. */
  margin-bottom: 0rem;
}

.services {
  margin-bottom: 2rem;
}

.service {
  font-size: 1.2rem;
  margin: 0.3rem 0;
}

.cta {
  background-color: #25D366;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.cta-icon {
  width: 20px;
  height: 20px;
}

.slide-down {
  opacity: 0;
  transform: translateY(-40px);
  animation: slideDownFade 1.2s cubic-bezier(.77,0,.175,1) forwards;
}

.slide-down:nth-child(1) {
  animation-delay: 0.1s;
}
.slide-down:nth-child(2) {
  animation-delay: 0.4s;
}
.slide-down:nth-child(3) {
  animation-delay: 0.7s;
}

@keyframes slideDownFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

