/* Base Styles */
*, html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: #0f0e17;
  color: #fffffe;
  line-height: 1.6;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #16161a 20%, #7f5af0 50%, #16161a 90%);
  z-index: 1000;
}

.nav-links a {
  color: #fffffe;
  margin-left: 1rem;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.logo {
  height: 3rem;
  border-radius: 50%;
}

/* Hero Section */
.hero {
  min-height: 62vh;
  padding: 13rem 1rem 3rem;
  text-align: center;
  place-items: center;
  background: linear-gradient(135deg, #16161a 0%, #4e3792 100%);
  background-size: 400% 400%;
  animation: ripple 7s ease infinite;
}

.heading {
  background: linear-gradient(135deg, #16161a 0%, #7f5af0 100%);
  padding: 5px;
  border-radius: 40%;
  font-style: italic;
}

/* Text */
p, label {
  color: rgb(180, 177, 177);
}

/* Hero Steps Container */
.hero-step-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 1rem;
  gap: 0.379rem;
}

.hero-step {
  max-width: 400px;
  height: 12rem;
  padding: 5px;
  text-align: center;
  background: transparent;
  border-radius: 8px;
}

.hero-step img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Sections: Steps & Proposals */
.steps, .proposals {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #16161a 0%, #4e3792 100%);
  animation: ripple 7s ease infinite;
}

/* Video Container */
.video-container {
  position: relative;
  max-width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  margin-top: -4.5rem;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Step Container */
.step-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 0.379rem;
  overflow: hidden;
}

.step {
  max-width: 250px;
  padding: 1rem;
  background: #16161a;
  border-radius: 8px;
  text-align: center;
}

.step img {
  width: 100%;
  background-size: cover;
}

/* Contact Section */
.contact-section {
  padding: 2rem;
  background: linear-gradient(135deg, #16161a 0%, #4e3792 100%);
  animation: ripple 7s ease infinite;
  place-items: center;
}

.contact-section-heading {
  text-align: center;
}

/* Form */
.form-div {
  margin-top: 20px;
  background: linear-gradient(135deg, #16161a 0%, #0f0e17 100%);
  padding: 20px;
  border-radius: 30px;
  box-shadow: 0 0 12px rgba(14, 14, 33, 0.6);
  place-items: center;
}

form {
  display: grid;
  max-width: 70%;
  width: 30rem;
}

label {
  font-style: italic;
}

input {
  margin-bottom: 10px;
  padding: 15px;
  outline: none;
  border-radius: 10px;
}

textarea {
  height: 10rem;
  padding: 10px;
}

.form-btn {
  padding: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  cursor: pointer;
  outline: none;
  background-color: #7f5af0;
}

.form-btn:hover {
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #16161a;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #7f5af0;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  margin: 0.5rem;
  transition: box-shadow 0.3s ease;
}

.btn:hover {
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

.secondBtn {
  text-align: center;
}

/* Step animation */
.step {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Page load animations for hero text */
.hero h2,
.hero p {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease forwards;
}

.hero h2 {
  font-size: 1.8rem;
  animation-delay: 0.3s;
}

.hero p {
  animation-delay: 0.6s;
}

/* Social icons */
.social-link {
  text-decoration: none;
}

.socials {
  margin: 10px 0;
  height: 3rem;
}

.icons {
  font-size: 2rem;
  transition: 0.3s;
}

.icons:hover {
  font-size: 2.2rem;
}

/* Keyframes */
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Call to action buttons pulse */
.cta-buttons .btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Hero background ripple animation */
@keyframes ripple {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Responsive for small screens */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 2rem;
    background-color: #16161a;
    padding: 1rem;
    border-radius: 8px;
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
