* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #111;
  color: white;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: #000;
  z-index: 100;
}

/* Sticky only for desktop */
@media (min-width: 769px) {
  .navbar {
    position: sticky;
    top: 0;
  }
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  margin-right: 10px;
  filter: invert(100%);
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f39c12;
}

.hero {
  background: url('gym image.png') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  animation: fadeInUp 1s ease-in-out;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  animation: fadeInUp 1.2s ease-in-out;
}

.btn {
  padding: 10px 20px;
  background: #f39c12;
  color: black;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn:hover {
  background-color: #fff;
  color: #f39c12;
  transform: scale(1.05);
}

.about-section,
.form-section,
.contact-section {
  padding: 60px 8%;
  background-color: #1a1a1a;
  text-align: center;
  animation: fadeInUp 0.8s ease-in-out;
}

.about-container,
.form-container,
.contact-container {
  max-width: 600px;
  margin: auto;
}

.about-container h2,
.form-container h2,
.contact-container h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f39c12;
}

.about-container p,
.contact-container p {
  font-size: 1.1rem;
  color: #ccc;
}

.testimonial-section {
  padding: 60px 8%;
  background-color: #1e1e1e;
  text-align: center;
  animation: fadeInUp 0.8s ease-in-out;
}

.testimonial {
  margin: 20px auto;
  max-width: 500px;
  background: #222;
  padding: 20px;
  border-radius: 10px;
  color: #eee;
}

.testimonial span {
  display: block;
  margin-top: 10px;
  font-style: italic;
  color: #f39c12;
}

form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}

form label {
  display: block;
  margin: 10px 0 5px;
  text-align: left;
  color: #f39c12;
  font-weight: 500;
}

form button {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  background-color: #f39c12;
  border: none;
  border-radius: 8px;
  color: black;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: white;
}

.success-message {
  background-color: #1a1a1a;
  padding: 40px;
  margin-top: 30px;
  border-radius: 10px;
  text-align: center;
  color: #f1f1f1;
  animation: fadeInUp 0.8s ease-in-out;
}

.success-message h3 {
  color: #f39c12;
  margin-bottom: 10px;
}

.footer {
  padding: 20px;
  text-align: center;
  background-color: #111;
  color: gray;
}

.top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 10px 15px;
  background-color: #f39c12;
  color: black;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 99;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav {
    position: relative;
    width: 100%;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    background-color: #000;
    padding: 10px;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    display: none;
  }

  .navbar.open .nav-links {
    display: flex;
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
