/* top nav  */
@media(max-width: 768px) {
  h1 {
    color:  #282524;
    font-family: "Clash Display";
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 500;
    line-height: 3rem;
  }
  
  h2{
    color: var(--black, #282524);
    font-family: "Work Sans";
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 600;
    line-height: 2rem;
  }
  
  h3 {
  color: #282524;
  font-family: "Work Sans";
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.75rem;
  }
  
  /* web title  */
  h4 {
  color: #282524;
  font-family: "Work Sans";
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75rem;
  }

  body {
    font-family: "Work Sans";
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
  }

  .top-nav {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    padding: 0.625rem 2.5rem;
    justify-content: space-between;
    align-items: center;
  }
  .nav-btn {
    display: block;
  }

  .btn {
    color: var(--white, #FCFCFC);
    font-family: "Work Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 133.333% */
    display: flex;
    width: auto;
    padding: 10px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: var(--teal-pressed, #16849D);
    cursor: pointer;
  }

  .top-nav-btn {
    display: none;
  }
  .hamburger {
    display: block;
    width: 44px;
    height: 44px;
    padding: 6px;
  }

  .close {
    display: block;
    width: 44px;
    height: 44px;
    padding: 6px;
    display: none;
  }

  .link {
    display: none;
  }
}

@media(max-width: 480px) {
  .top-nav {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    padding: 0.625rem 1rem;
    justify-content: space-between;
    align-items: center;
  }

  h2{
    color: var(--black, #282524);
    font-family: "Work Sans";
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 600;
    line-height: 2rem;
    text-align: left;
  }

  body {
    font-family: "Work Sans";
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
    text-align: left;
  }

  .hero-section button{
    padding: 0.75rem 1.5rem;
    color: #F8F8F7;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    font-style: normal; 
    cursor: pointer;
    display: flex;
    width: 224px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: var(--teal-pressed, #16849D);   
  }

}
/* overlay  */
@media (max-width: 768px) {
  .overlay {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 68px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.1);
  }

  .modal-content {
    background-color: #EAE8E5 ;
    border-radius: 1rem;
    box-shadow: 0.375rem 0.375rem #282524;
    width: 92%;
    margin: 0 auto;
    padding: 24px 24px;
  }
  
  .modal-content li {
    list-style: none;
    padding: 8px 12px;
  }

  .overlay a{
    text-decoration: none;
    color: #282524;
  }

}
/* hero section */
@media (max-width: 768px) {
  .hero-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 2.5rem;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
  }

}

@media (max-width: 480px) {
  .hero-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
    margin-top: 2rem;
  }

  .hero-section div{
    text-align: left;
    font-family: "Work Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .hero-section p{
    text-align: left;
  }

  .hero-section body{
    text-align: left;
    font-family: "Work Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
  }
}


/* mobile  */
@media (max-width: 480px) {
 
}

/* featured projects */
@media (max-width: 768px) {
  .featuredProjects {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    margin-top: 2.5rem;
  }

  .heading {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
  }

  .case-study-container  {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
  }

  .case-study {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
  }

  .case-study h4{
      color: #282524;
      font-family: "Work Sans";
      font-size: 20px;
      font-style: normal;
      font-weight: 500;
      line-height: 24px;
  }

  .mockup-promotional-service {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #878a92;
    background-image: linear-gradient(125deg, #878a92 0%, #3f5289 55%, #171c2d 100%);
    height: 31.25rem;
    overflow: hidden;
  }

  .mockup-Punhubcentral {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #878a92;
    background-image: linear-gradient(125deg, #878a92 0%, #3f5289 55%, #171c2d 100%);
    height: 31.25rem;
    overflow: hidden;
  }

  .mockup-ebook-store {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #878a92;
    background-image: linear-gradient(125deg, #878a92 0%, #3f5289 55%, #171c2d 100%);
    height: 31.25rem;
    overflow: hidden;
  }

  .mockup {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #282524;
    height: 20rem;
  }

  .about-the-project {
    width: 100%;
    display: flex;
    font-size: 16px;
    line-height: 24px;
    flex-direction: column;
    padding: 2.5rem 2.75rem;
    row-gap: 1rem;
    justify-content: flex-start;
    align-items: flex-start;
  }
  
}

/* Testimonial */
@media (max-width: 768px) {
  .testimonials {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem 2rem;
  }
  
  .testimonials-landingpage {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem 2rem;
    background-color: #F5F3EF;
  }
  
  .testimonial-contents {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 2.75rem;
    align-items: center;
  }
  
  .testimonial-contents-left {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
  }

  .web-user {
    display: none;
  }
  
  .mobile-user {
    display: block;
  }

  .testimonial svg {
    display: none;
  }

  .name-and-job {
    color: var(--expertise, #1B263B);
    /* web/caption */
    font-family: "Work Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 120% */
  }
  .name-and-job h5 {
    color: var(--expertise, #1B263B);
    /* web/caption */
    font-family: "Work Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 120% */
  }

  .testimonial-giver {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 0.5rem;
  }

}

@media (max-width: 480px) {
  .testimonials {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem 1rem;
  }
  
  .testimonials-landingpage {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem 2rem;
    background-color: #F5F3EF;
  }
  
  .testimonial-contents {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 2.75rem;
    align-items: center;
  }

}


@media (max-width: 480px) {
  .featuredProjects {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    margin-top: 2rem;
  }

  .case-study-container  {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
  }

  .case-study {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
  }

  .mockup-promotional-service {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #878a92;
    background-image: linear-gradient(125deg, #878a92 0%, #3f5289 55%, #171c2d 100%);
    height: 25rem;
    overflow: hidden;
  }

  .mockup-Punhubcentral {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #878a92;
    background-image: linear-gradient(125deg, #878a92 0%, #3f5289 55%, #171c2d 100%);
    height: 25rem;
    overflow: hidden;
  }

  .mockup-ebook-store {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #878a92;
    background-image: linear-gradient(125deg, #878a92 0%, #3f5289 55%, #171c2d 100%);
    height: 25rem;
    overflow: hidden;
  }

  .mockup-container {
    /* display: none; */
    position: relative;
    width: auto;
    height: 80%;
  }

  .mockup-container iframe {
    position: absolute;
    top: 2%; 
    left: 10%; 
    width: 100%; 
    height: 88%;
    z-index: 2; 
    border-radius: 8px;
    overflow: hidden;
  }

  .about-the-project-content {
    color: #564F4D;
  }

  .mockup {
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #282524;
    height: 20rem;
  }

  .about-the-project {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem;
    row-gap: 1.5rem;
    justify-content: flex-start;
    align-items: flex-start;
  }
}
/* other projects  */
@media (max-width: 768px) {
  .other-projects {
    display: flex;
    flex-direction: column;
    margin-top: 2.5rem;
  }

  .mockup-thumbnail {
    width: 50%;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .other-projects {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
  }
}
/* get in touch responsiveness  */
@media (max-width: 768px) {
 
  .get-in-touch {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.75rem;
    margin-bottom: 2.75rem;
    width: 100%;
    padding-left: 2.75rem;
    padding-right: 2.75rem;
    gap: 1.5rem;
  }
  
  .get-in-touch-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    row-gap: 1.5rem;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

}

@media (max-width: 480px) {
  
  .get-in-touch {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.75rem;
    margin-bottom: 2.75rem;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1.5rem;
  }

  .get-in-touch-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    row-gap: 1rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #2B2D31;
    text-align: left;
    font-family: "Work Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5rem;
  }
  .Contact-me-container {
    width: 100%;
  }
} 

/* footer responsiveness */

@media(max-width: 768px) {
  .footer {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    padding: 0.625rem 2.5rem;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
  }
  .social-links span{
    display: none;
  }
}

@media (max-width: 480px) {
  .footer {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    padding: 0.5rem 1rem;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
  }

  .footer-logo {
    display: none;
  }

  .mobile-logo {
    display: block;
  }
  .social-links span{
    display: block;
  }
}

/* case study details- page responsiveness */
@media (max-width: 768px) {
  .case-study-details {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    padding: 0 2.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
   }
  
  .case-study-intro {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    width: 100%;
    padding: 0 2.5rem;
  }  
}

@media (max-width: 480px) {
  .case-study-intro {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    width: 100%;
    padding: 1rem 1rem;
  }  

  .case-study-details {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    padding: 0 1rem;
    /* background-color: red; */
    width: 100%;
    /* align-items: flex-start; */
    /* margin-bottom: 2rem; */
   }
  
  .date-time {
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
    color: var(--grey5, #B3B1B4);
    font-family: "Work Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
  }
}
/* case study details- page section */
@media (max-width: 768px) {
  .case-study-details {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    padding: 0 2.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
   }
}

/* about me */
@media (max-width: 768px) {
  .about-nehefrexz {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2.75rem 2.75rem;
  }

  .about-nehefrexz-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 1.5rem;
    align-items: center;
  }

  .my-journey-to-design {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    width: 100%;
  }

  .more-about-me {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    align-items: center;
    justify-content: center;
    padding: 2.75rem 2.75rem; 
    background: var(--bg, #F5F3EF);
  }

  .more-about-me div {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
  }

  .testimonials {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2.75rem 2.75rem;
  }
}

@media (max-width: 480px) {

  .about-nehefrexz {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 0;
    margin: 0 0;
  }

  .about-nehefrexz-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    row-gap: 1.5rem;
    align-items: center;
    margin: 2.74rem 1rem;
  }

  .my-journey-to-design {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .resume-btn {
    margin-top: 1rem;
  }

  .nehefrexz-img {
    display: none;
  }

  .more-about-me {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    align-items: center;
    justify-content: center;
    padding: 2.75rem 1rem; 
    background: var(--bg, #F5F3EF);
  }
  
  .more-about-me h4 {
    color: var(--expertise, #1B263B);
    font-family: "Work Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px; /* 128.571% */
  }
  
  .more-about-me div {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
  }

  .testimonials {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2.75rem 1rem;
  }
}