/* Responsive Design */

/* * {
  box-sizing: border-box;
}

@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .about-img {
    order: -1;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 0;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--primary);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: var(--transition);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 70px 0;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero {
    height: 80vh;
  }
} */

/* ------------------------------
   Global Box-Sizing
------------------------------ */
* {
  box-sizing: border-box;
}

/* ------------------------------
   General Responsive Queries
------------------------------ */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  /* Stack About and Contact Sections */
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  /* Move About image above text */
  .about-img {
    order: -1;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  /* Navbar adjustments */
  .navbar {
    padding: 15px 0;
  }

  .nav-links {
    margin-top: 50px;
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    /*height: calc(100vh - 70px);*/
    /*background: var(--primary);*/
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* padding-top: 50px; */
    transition: var(--transition);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    /* margin: 15px 0; */
  }

  .nav-links a {
    color: rgb(255, 255, 255);
  }

  .hamburger {
    display: block;
  }

  /* Hero adjustments */
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  /* Stats section stack */
  .stats {
    grid-template-columns: 1fr;
  }

  /* Projects grid stack if applicable */
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  /* Sections padding */
  .section {
    padding: 70px 0;
  }

  /* Typography adjustments */
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  /* Hero section height */
  .hero {
    margin-top: 17px;
    height: 80vh;
  }
}
