* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #0b0b0b;
  color: #ffffff;
  line-height: 1.6;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(22, 22, 22, 0.92);
  border-bottom: 1px solid #2e2e2e;
  backdrop-filter: blur(8px);
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #f39c12;
  font-size: 32px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.nav-links li a:hover {
  color: #f39c12;
  opacity: 0.95;
  background-color: rgba(243, 156, 18, 0.08);
}

.nav-links li a.active {
  color: #111111;
  background-color: #f39c12;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

section {
  margin-bottom: 70px;
  scroll-margin-top: 95px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 40px;
  border-radius: 18px;
  text-align: center;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url("images/gym-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(243, 156, 18, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-content h2 {
  font-size: 56px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #f39c12;
}

.hero-content p {
  font-size: 18px;
  color: #e4e4e4;
  max-width: 620px;
  margin: 0 auto 30px;
}

.hero-button {
  background-color: #f39c12;
  color: #111111;
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 25px rgba(243, 156, 18, 0.18);
}

.hero-button:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(243, 156, 18, 0.22);
}
.stats-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stat-card {
  background-color: #1c1c1c;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stat-card h3 {
  color: #f39c12;
  font-size: 34px;
  margin-bottom: 8px;
}

.stat-card p {
  color: #e4e4e4;
  font-size: 15px;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  border-color: rgba(243, 156, 18, 0.35);
}
.about-section h2,
.classes-section h2,
.pricing-section h2,
.trainers-section h2,
.testimonials-section h2,
.contact-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #f39c12;
}

.about-section p {
  color: #e4e4e4;
  max-width: 760px;
}

.classes-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.classes-section h2 {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.class-card {
  background-color: #1c1c1c;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.class-card h3 {
  margin-bottom: 10px;
  color: #ffffff;
}

.class-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  border-color: rgba(243, 156, 18, 0.35);
}

.pricing-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.pricing-section h2 {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.pricing-card {
  background-color: #1c1c1c;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card h3 {
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 22px;
}

.pricing-card .price {
  color: #f39c12;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 14px;
}

.pricing-card p:last-child {
  color: #e4e4e4;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  border-color: rgba(243, 156, 18, 0.35);
}

.trainers-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.trainers-section h2 {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.trainer-card {
  position: relative;
  background-color: #1c1c1c;
  padding: 92px 24px 24px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trainer-card::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f39c12, #ffbf59);
  box-shadow: 0 10px 24px rgba(243, 156, 18, 0.18);
}

.trainer-card::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(243, 156, 18, 0.25);
}

.trainer-card h3 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 22px;
}

.trainer-role {
  color: #f39c12;
  font-weight: bold;
  margin-bottom: 14px;
}

.trainer-card p:last-child {
  color: #e4e4e4;
}

.trainer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  border-color: rgba(243, 156, 18, 0.35);
}

.testimonials-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.testimonials-section h2 {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.testimonial-card {
  background-color: #1c1c1c;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-card p {
  color: #e4e4e4;
  margin-bottom: 18px;
}

.testimonial-card h3 {
  color: #f39c12;
  font-size: 18px;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  border-color: rgba(243, 156, 18, 0.35);
}

.contact-section {
  max-width: 760px;
  width: 100%;
}

.contact-section p {
  color: #e4e4e4;
  margin-bottom: 8px;
}

.contact-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #1c1c1c;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
}

.contact-form label {
  font-weight: bold;
  color: #f39c12;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #2e2e2e;
  background-color: #111111;
  color: #ffffff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9a9a9a;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(243, 156, 18, 0.55);
  box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-button {
  align-self: flex-start;
  background-color: #f39c12;
  color: #111111;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 25px rgba(243, 156, 18, 0.18);
}

.form-button:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(243, 156, 18, 0.22);
}

.form-status {
  margin-top: 6px;
  min-height: 24px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
}

.site-footer {
  margin-top: 30px;
  background-color: #161616;
  border-top: 1px solid #2e2e2e;
  color: #cccccc;
}

.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand h3 {
  color: #f39c12;
  font-size: 26px;
  margin-bottom: 10px;
}

.footer-brand p {
  color: #d7d7d7;
  max-width: 320px;
}

.footer-links h4 {
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 18px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #cccccc;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #f39c12;
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  text-align: center;
  padding: 18px 24px;
  font-size: 14px;
  color: #a9a9a9;
}

/* Tablet */
@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    gap: 16px;
    padding: 18px 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  main {
    padding: 30px 18px 70px;
  }

  section {
    margin-bottom: 50px;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero-content h2 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .about-section h2,
  .classes-section h2,
  .pricing-section h2,
  .trainers-section h2,
  .testimonials-section h2,
  .contact-section h2 {
    font-size: 28px;
  }
.stats-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
  .classes-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trainers-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form {
    padding: 20px;
  }

  .form-button {
    width: 100%;
    align-self: stretch;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .logo {
    font-size: 28px;
  }

  .nav-links {
    gap: 10px;
    font-size: 14px;
  }

  .hero {
    padding: 50px 16px;
  }

  .hero-content h2 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .about-section h2,
  .classes-section h2,
  .pricing-section h2,
  .trainers-section h2,
  .testimonials-section h2,
  .contact-section h2 {
    font-size: 26px;
  }
.stats-section {
  grid-template-columns: 1fr;
}
  .classes-section {
    grid-template-columns: 1fr;
  }

  .pricing-section {
    grid-template-columns: 1fr;
  }

  .trainers-section {
    grid-template-columns: 1fr;
  }

  .testimonials-section {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 18px;
  }

  .footer-top {
    padding: 28px 18px;
  }

  .footer-brand h3 {
    font-size: 24px;
  }
}