/* Responsive Styles */

/* Large Devices (Desktops) */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* Medium Devices (Tablets) */
@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  section {
    padding: 60px 0;
  }
  
  #hero {
    height: auto;
    padding: 100px 0 50px;
  }
  
  #hero .container {
    flex-direction: column;
  }
  
  .hero-content, 
  .hero-image {
    width: 100%;
    text-align: center;
    padding: 0;
  }
  
  .hero-content {
    margin-bottom: 40px;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text {
    margin-bottom: 40px;
  }
  
  .process-timeline::before {
    left: 40px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 0;
    text-align: left;
  }
  
  .timeline-item:nth-child(odd) {
    padding-right: 0;
    text-align: left;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-number,
  .timeline-item:nth-child(even) .timeline-number {
    left: 20px;
  }
  
  .service-card {
    padding: 20px;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .portfolio-filter {
    overflow-x: auto;
    padding-bottom: 15px;
    justify-content: flex-start;
  }
}

/* Small Devices (Mobile) */
@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .main-nav {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 50px 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
  }
  
  .main-nav li {
    margin: 10px 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .services-grid,
  .portfolio-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-item {
    padding: 20px;
  }
  
  .client-info {
    flex-direction: column;
    text-align: center;
  }
  
  .client-info img {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
  
  .copyright {
    margin-bottom: 10px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .stats-container {
    flex-wrap: wrap;
  }
  
  .stat-item {
    min-width: 100px;
    margin-bottom: 20px;
  }
  
  .footer-newsletter form {
    flex-direction: column;
  }
  
  .footer-newsletter form input {
    border-radius: 5px;
    margin-bottom: 10px;
  }
  
  .footer-newsletter form button {
    border-radius: 5px;
  }
}

/* Extra Small Devices */
@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }
  
  #hero {
    padding: 80px 0 30px;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .section-header h2::after {
    width: 30px;
  }
  
  .portfolio-filter {
    justify-content: center;
  }
  
  .filter-btn {
    padding: 6px 15px;
    font-size: 0.8rem;
  }
}