/* Mobile */
@media screen and (max-width: 428px) {
  section {
    height: auto;
    
  }
  .section-box {
    height: auto;
  }
  header {
    flex-direction: column;
    gap: 18px;
  }
  .header-logo {
    font-size: 14px;
    margin: 0;
  }
  nav {
    
    gap: 10px;
   
  }
  .nav-items {
    font-size: 11px;
  }
  .hero-content h3 {
    font-size: 0.9rem;
    letter-spacing: 20px;
  }
  .hero-content h4 {
    font-size: 0.9rem;
    letter-spacing: 10px;
    font-weight: 200;
  }
  .hero-content .hh3 {
    font-size: 11px;
    letter-spacing: 10px;
  }
  .hero-content h1 {
    font-size: 30px;
    letter-spacing:3px;
    margin-top: 0px;
    line-height: 1.2;
    text-align: center;
    z-index: 1;
  }
  .hero-content {
    padding: 20px 0 50px 0;
  }
  .hero-img {
    width: 100%;
    margin-top: 50px;
    z-index: 1;
  }
  .hero-btn {
    margin-top: 50px;
  }
  .content-wrap {
    padding: 9px;
  }
  #hero  {
   
    padding: 10px 0;
  }
  .section-box {
    width: 95%;
    padding-bottom: 0px;
  }
  .section-sub {
    font-size: 12px;
  }
  .content-grid {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 0px;
    padding: 15px 5% ;
  }
  .about-img {
    width: 100%;
    
  }
  .img-hide{
    visibility: hidden;
    position: absolute;
  }
  .section-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  #about .left-grid p,
  #projects .left-grid p{
    font-size: 11px;
    text-align: justify;
  }
  #blog-content p,
#blog-content ul{
 font-size: 11px;
}
  #projects .left-grid h2{
    font-size: 1.6rem;
  }
  #projects .left-grid h3{
    margin-top: 10px;
  }
  .action-btn {
    font-size: 14px;
    height: 35px;
    width: 150px;
    margin-top: 15px;
    
  }
  #gallery .section-box .content-wrap .section-title{
    font-size: 1.5rem;
    margin-top: 5px;
  }
  #join-us .content-wrap {
    padding: 50px 5%;
  }
  .input-1 {
    width: 85%;
    padding: 0 20px;
  }
  .checkbox-wrap {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    font-size: 16px;
  }
  #join-us .section-title {
    text-align: center;
    font-size: 3rem;
    margin-top: 10px;
  }
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .footer-items {
    font-size: 16px;
  }
  #projects  {
    padding: 10px 0;
  }
  #footer  {
    padding: 10px 0;
  }
  img-hide2{
    margin-bottom: 10px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  .gallery-item p {
    margin-top: 2px;
    font-size: 9px;
    
  }

}

/* Tab */
@media screen and (min-width: 429px) and (max-width: 1279px) {
  section {
    height: auto;
    padding: 5px ;
  }
  .section-box {
    height: auto;
    padding-bottom: 30px;
  }
  .img-hide{
    visibility: hidden;
    position: absolute;
  }
  header {
    flex-direction: column;
    gap: 20px;
  }
  .header-logo {
    font-size: 24px;
    margin:0;
  }
  nav {
    
    gap: 35px;
  }
  .nav-items {
    font-size: 15px;
  }
  .hero-content h3 {
    font-size: 1.5rem;
    letter-spacing: 25px;
    margin-top: 10px;
  }
  .hero-content h1 {
    font-size: 3rem;
    letter-spacing: 10px;
    margin-top: 5px;
    line-height: 1.2;
    text-align: center;
    z-index: 1;
  }
  .hero-content {
    padding:  0px;
  }
  .hero-img {
    width: 100%;
    margin-top: 50px;
    z-index: 1;
  }
  .hero-btn {
    margin-top: 50px;
    font-size: 22px;
  }

  .content-grid {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 50px;
    padding: 50px 5% ;
  }
  .about-img {
    width: 100%;
  }
  .section-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
  }

  #join-us .content-wrap {
    padding: 50px 5%;
  }
  .input-1 {
    width: 85%;
    padding: 0 20px;
  }
  .checkbox-wrap {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 20px;
  }
  #join-us .section-title {
    text-align: center;
    font-size: 3rem;
    margin-top: 10px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 50px;
    margin: 0 50px;
  }
  .footer-items {
    font-size: 16px;
  }
  #projects  {
    padding: 20px 0;
  }
  #footer  {
    padding: 20px 0;
  }
  #hero{
    padding: 20px 0;
  }

}

/* lap */
@media screen and (min-width: 1280px) and (max-width: 3400px) {
  section{
    padding: 5px;
  }
  .img-hide2{
    visibility: hidden;
    position: absolute;
  }
  .header-logo {
    font-size: 28px;
  }
  .nav-items {
    font-size: 16px;
  }
  .hero-content h3{
    font-size: 1.7rem;
  }
  .contact-form input, .contact-form textarea {
    width: 170%;
  }
  .hero-content h1 {
    font-size: 5rem;
    letter-spacing: 20px;
  }
  .hero-img {
    width: 50%;
  }
  .hero-btn {
    margin-top: -120px;
  }

  .section-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
  }
  #join-us .content-wrap {
    height: auto;
  }

}