/* Responsive Styles for All Star IT Company Website */

/* Large screens (Desktops) */
@media screen and (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

/* Medium screens (Tablets) */
@media screen and (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  html {
    font-size: 55%;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-content img {
    margin: 0 auto;
  }
}

/* Small screens (Mobile landscape) */
@media screen and (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .navbar {
    position: relative;
  }
  
  .hamburger {
    display: block;
    z-index: 1001;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    width: 250px;
    background-color: var(--light-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 8rem 2rem 2rem;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    margin: 1.5rem 0;
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    width: 100%;
    padding: 1rem 0;
  }
  
  .hero {
    padding: 12rem 0 5rem;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .contact-info {
    align-items: center;
  }
  
  .contact-item {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
}

/* Extra small screens (Mobile portrait) */
@media screen and (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 1.5rem;
  }
  
  html {
    font-size: 50%;
  }
  
  h1 {
    font-size: 3.2rem;
  }
  
  h2 {
    font-size: 2.8rem;
  }
  
  h3 {
    font-size: 2.2rem;
  }
  
  .btn {
    padding: 1rem 2rem;
    font-size: 1.4rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
} 