* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  font-family: system-ui, sans-serif;
  background: #fff;
  color: #222;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* HERO STYLES */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.carousel {
  position: absolute;
  inset: 0;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1); /* Initial scale */
  transition: opacity 1.5s ease, transform 10s ease;
  filter: brightness(80%);
}

.slide.active {
  opacity: 1;
  transform: scale(1.1); /* Zoom in slightly */
  z-index: 1;
}

/* TEXT OVERLAY */
.hero-text {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  z-index: 2;
}
.hero-text h1 {
  font-size: 3rem;
  letter-spacing: 2px;
}
.hero-text p {
  font-size: 1.2rem;
  margin-top: 1rem;
}

.hero-text svg {
  max-width: 50%;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}

/* ARROW */
.scroll-arrow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  cursor: pointer;
  opacity: 0.85;
  animation: bounce 2.5s infinite;
}
.scroll-arrow svg {
  width: 48px;
  height: 48px;
  stroke: white;
  transition: transform 0.3s ease;
}
.scroll-arrow:hover svg {
  transform: scale(1.3);
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* CONTACT */
.contact {
  padding: 4rem 1rem;
  background: #e4e4dc;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: system-ui, sans-serif;
  text-align: left;
  color: #505568;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 0.8rem;
}

.row {
  display: flex;
  gap: 0.8rem;
}

.row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  font-size: 0.9rem;
  border: none;
  width: 100%;
  background-color: #d4d4d4;
  color: #505568;
  font-family: system-ui, sans-serif;
}

/* placeholder styling */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #505568;
  opacity: 1;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  padding: 0.7rem;
  font-size: 1rem;
  background: #505568;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: system-ui, sans-serif;
}

.contact-form button:hover {
  background: #44455a;
}

.contact-logo {
  color: #505568;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.contact-logo svg {
  height: 2rem;
  width: auto;
}

/* MOBILE */
@media (max-width: 600px) {
  .row {
    flex-direction: column;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 90vh;
  }

  .hero-text {
    top: 45%;
    transform: translateY(-45%);
  }
}

/* ✅ Expanded mobile fix for modern screens */
@media (max-width: 768px) {
  .hero-text svg {
    max-width: 75%;
  }

  .contact-logo svg {
    max-width: 40%;
  }
}