@media (max-width: 968px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background: var(--dark-bg);
    width: 70%;
    height: 100vh;
    text-align: center;
    transition: 0.5s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
    padding-top: 80px;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 2rem 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 0 1rem;
  }

  .nav-brand a {
    font-size: 1.5rem;
  }
}
/* Hero Section Start */
@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: calc(var(--nav-height) + 1rem);
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content h1::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-content p {
    max-width: 100%;
    font-size: 1.1rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
/* Hero Section Styles End */

/* About section */
@media (max-width: 968px) {
  .about-content {
    flex-direction: column;
    gap: 3rem;
    width: 90%;
    transform: translateX(20px);
  }

  .section-title {
    font-size: 2.4rem;
  }

  .about-intro h3 {
    font-size: 1.8rem;
  }

  .expertise-cards {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }

  .about-intro h3 {
    font-size: 1.6rem;
  }

  .skill-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
/* About Section Styles End */

/* Services */
@media (max-width: 968px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .section-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
}
/* Portfolio */
@media (max-width: 968px) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .section-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 576px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .portfolio-filters {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 100%;
    text-align: center;
  }

  .portfolio-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Testimonials */
@media (max-width: 968px) {
  .testimonial {
    padding: 2rem;
  }

  .testimonial-content p {
    font-size: 1.1rem;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .testimonial-stats {
    justify-content: center;
  }

  .section-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 576px) {
  .testimonial {
    padding: 1.5rem;
  }

  .testimonial-content {
    padding: 1.5rem;
  }

  .testimonial-content p {
    font-size: 1rem;
  }

  .testimonial-stats {
    flex-wrap: wrap;
  }

  .testimonial-controls {
    flex-direction: column;
    gap: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Contact Us */
@media (max-width: 968px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .contact-info h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }

  .contact-info,
  .contact-form {
    padding: 1.5rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .social-links {
    justify-content: center;
  }

  .form-group input,
  .form-group textarea {
    padding: 1rem;
  }
}

/* Footer */
@media (max-width: 968px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand h3 {
    font-size: 1.6rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .back-to-top {
    right: 50%;
    transform: translateX(50%);
  }
}
