/* HEADER SECTION */
@media (max-width: 928px) {
  header > .bg-decoration {
    display: none;
  }
  header > .bg-decoration-responsive {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);

    opacity: 0.5;
    display: block;
  }

  .banner-section .main-area {
    width: 95%;
  }
}

@media (max-width: 620px) {
  .nav {
    gap: 5px;
  }

  .nav a {
    font-size: 14px;
    padding: 10px 15px;
  }

  .banner-section {
    padding: 40px 0;
  }

  .banner-section .work-availability {
    scale: 0.9;
  }

  .banner-section .main-area {
    width: 100%;
    margin: 15px 0;
    scale: 0.9;
  }
}

@media (max-width: 484px) {
  header {
    padding-top: 0;
  }

  .nav {
    width: 100%;
    border-radius: 0;
    flex-wrap: wrap;
    gap: 0px;
    padding: 10px 0;
  }

  .nav a {
    font-size: 13px;
    padding: 5px 12px;
  }
  .nav a:hover {
    color: var(--secondary-color);
    background: none;
  }
}

/* ABOUT ME SECTION */
@media (max-width: 1076px) {
  .about-me-section {
    gap: 50px;
    display: flex;
    align-items: center;
  }

  .about-me-section .about-me-content {
    width: 400px;
  }

  .about-me-picture-wrapper {
    width: 300px;
    height: 300px;
    border: 10px solid #fff;
  }
}

@media (max-width: 810px) {
  .about-me-section {
    gap: 70px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }

  .about-me-section .about-me-content {
    width: 70%;
    text-align: center;
  }

  .about-me-picture-wrapper {
    width: 50%;
    height: 50%;
    border: 15px solid #fff;
    transform: rotate(0deg);
  }

  .about-me-section .about-me-content > .btn.btn-2 {
    margin: auto;
  }
}

@media (max-width: 500px) {
  .about-me-picture-wrapper {
    width: 65%;
    height: 65%;
    border: 10px solid #fff;
  }
}

/* CURATED WORK SECTION */
@media (max-width: 860px) {
  .curated-work-content {
    margin-bottom: -30px;
  }

  .curated-work-cards {
    gap: 0;
  }

  .curated-work-card {
    scale: 0.85;
  }
}

@media (max-width: 710px) {
  .curated-work-content {
    margin-bottom: 0;
  }

  .curated-work-cards {
    gap: 50px;
  }

  .curated-work-card {
    width: 90%;
    height: auto;

    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    scale: 1;
  }

  .curated-work-card .work-card-details {
    margin: 0;
    width: 80%;
    text-align: center;
  }

  .curated-work-card > .work-card-details > .btn.btn-1 {
    margin: auto;
    margin-bottom: 40px;
  }

  .work-card-details .work-list-items li {
    padding-left: 0;
  }

  .work-card-details .work-list-items li::before {
    display: none;
  }

  .curated-work-card .work-card-image-1 {
    margin-right: 0;
    position: relative;
    width: 80%;
    top: 40px;
    left: 0;
    margin-bottom: 80px;
  }
  .curated-work-card .work-card-image-2 {
    margin-right: 0;
    position: relative;
    width: 80%;
    top: 40px;
    left: 0;
    margin-bottom: 80px;
  }
  .curated-work-card .work-card-image-3 {
    margin-right: 0;
    position: relative;
    width: 90%;
    top: 40px;
    left: 0;
    margin-bottom: 80px;
  }
  .curated-work-card .work-card-image-4 {
    margin-right: 0;
    position: relative;
    width: 85%;
    top: 40px;
    left: 0;
    margin-bottom: 80px;
  }
}

/* MY SKILLS SECTION */
@media (max-width: 930px) {
  .my-skills-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
  }

  .my-skills-item {
    width: 90%;
  }
}

/* MY STATS SECTION */
@media (max-width: 840px) {
  .my-stats-grid {
    grid-template-columns: 100%;
    grid-template-rows: 170px 170px 170px;

    justify-items: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */

    gap: 30px;
  }

  .my-stats-grid .my-stats-card {
    width: 90%;
  }
}

/* MY STATS SECTION */
@media (max-width: 825px) {
  .beyond-portfolio-section {
    flex-wrap: wrap;
  }
}

@media (max-width: 526px) {
  .beyond-portfolio-section > .left > .beyond-portfolio-item:nth-child(1) {
    text-align: center;
  }
}

/* MY EXPERIENCES SECTION */
@media (max-width: 650px) {
  .my-experiences-section .my-experiences-content {
    width: 90%;
  }

  .my-experiences-section .my-experiences-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .my-experiences-section .my-experiences-left {
    width: 100%;
  }
  .my-experiences-section .my-experiences-right {
    width: 80%;
  }
}

/* FOOTER */
@media (max-width: 825px) {
  .lets-connect {
    width: 90%;
    height: auto;
    padding: 20px 40px;

    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 1180px) {
  footer {
    margin: 0;
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (max-width: 1180px) {
  footer {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

@media (max-width: 360px) {
  footer {
    text-align: center;
  }

  footer .social-links {
    gap: 10px;
  }
}

@media (max-width: 800px) {
  .decor {
    display: none;
  }
}
