@media screen and (max-width: 1200px) {
  .container {
    padding: 0 2rem;
  }
}

@media screen and (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  h1 {font-size: 3rem;}
  h2 {font-size: 2.25rem;}
  
  .header-section {
    flex-direction: column;
    text-align: center;
    padding: 3rem 0;
  }
  
  .header-left {
    max-width: 100%;
  }
  
  .header-button {
    justify-content: center;
  }
  
  .header-right {
    margin-top: 3rem;
  }
  
  .extra-mile-content {
    flex-direction: column;
    padding: 2rem;
  }
  
  .extra-mile {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .bmi-content {
    flex-direction: column;
  }
  
  .bmi-calculator-cart, 
  .calculate-your-bmi {
    width: 100%;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 3rem;
  }
  
  .footer-logo-content,
  .footer-link-content {
    width: 100%;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .ham-burger {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--secondary);
    flex-direction: column;
    justify-content: center;
    z-index: 1000;
    transition: 0.3s ease;
    border-radius: 0;
    padding: 2rem;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .close-menu {
    display: block;
    color: var(--text-light);
  }
  
  .nav-links ul {
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
  }
  
  .nav-links .home {
    background: transparent;
    padding: 0;
  }
  
  .nav-links a::after {
    display: none;
  }
  
  .newsletter-form .form-group {
    flex-direction: column;
  }
  
  .newsletter-form input[type="email"] {
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: 50px;
    width: 100%;
  }
  
  .video-section {
    bottom: 10%;
    left: 0;
  }
  
  .workout-section {
    top: 10%;
    right: 0;
  }
  
  .stats-card {
    padding: 0.75rem;
  }
  
  .stats-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .stats-content h3 {
    font-size: 1.25rem;
  }
  
  .stats-content p {
    font-size: 0.75rem;
  }
  
  .play-icon {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }
  
  .your-habit-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .habit-item {
    padding: 1.5rem;
  }
  
  .habit-icon {
    width: 100px;
    height: 100px;
  }
  
  .training-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .our-team-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .team-image {
    height: 250px;
  }
  
  .footer-link-content {
    flex-direction: column;
    gap: 2rem;
  }
}

@media screen and (max-width: 576px) {
  html {
    font-size: 13px;
  }
  
  h1 {font-size: 2.5rem;}
  h2 {font-size: 2rem;}
  h3 {font-size: 1.5rem;}
  
  .dancing-font {
    font-size: 3rem;
  }
  
  .header-button {
    flex-direction: column;
    width: 100%;
  }
  
  .header-button a {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .primary-button, 
  .secondary-button {
    padding: 0.75rem 1.5rem;
  }
  
  .extra-wrapper {
    height: 250px;
  }
  
  .bmi-result {
    padding: 1.5rem;
  }
  
  #bmi-score {
    font-size: 2.5rem;
  }
  
  .meter-labels {
    font-size: 0.7rem;
  }
  
  th, td {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .input-item {
    flex-direction: column;
  }
  
  .team-image {
    height: 200px;
  }
  
  .team-social a {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .footer-top {
    padding: 3rem 0 2rem;
  }
}