header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: #fff;
}

.header-wrap{
    position: relative;
    display: flex;
    padding: 20px 20px;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.logo{
    width: 120px;
    height: 20px;
}

.nav-wrap{
    display: flex;
    gap: 30px;
    margin-left: 40px;
}

.nav-wrap li{
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-wrap li:hover{color: #1428a0;}

.menu-toggle{
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span{
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1){
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2){
    opacity: 0;
}

.menu-toggle.active span:nth-child(3){
    transform: rotate(-45deg) translate(5px, -5px);
}

.main{
    width: 1200px;
    margin: 0 auto;
    padding-top: 100px;
    margin-bottom: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.main img{
    width: 1200px;
    border-radius: 10px;
}

.floating{
    float: right;
    position: fixed;
    top: 550px;
    right: 200px;
}

.floating img{
    width: 70px;
    height: 70px;
    margin-bottom: 5px;
}

@media (max-width: 768px) {

  .header-wrap{
    padding: 12px 16px;
    justify-content: space-between;
    box-shadow: none;
    flex-wrap: wrap;
  }

  .menu-toggle{
    display: flex;
  }

  .nav{
    display: none;
    width: 100%;
    order: 3;
  }

  .nav.active{
    display: block;
  }

  .nav-wrap{
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    font-size: 14px;
    padding: 16px 0;
  }

  .nav-wrap li{
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  .nav-wrap li:last-child{
    border-bottom: none;
  }

  .main{
    width: 100%;
    padding-top: 70px;
    box-shadow: none;
  }

  .main img{
    width: 100%;
    height: auto;
    border-radius: 0px;
  }

  .floating{
    top: auto;
    bottom: 20px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .floating img{
    width: 50px;
    height: 50px;
    margin-bottom: 0;
  }

  .main img {
    content: url("../img/main_mo.jpg");
  }
}

@media (min-width: 769px) and (max-width: 1024px) {

  .header-wrap{

    justify-content: space-between;
    box-shadow: none;
  }

  .nav-wrap{
    gap: 20px;
    margin-left: 0;
    font-size: 14px;
  }

  .main{
    width: 100%;
    margin-bottom: 40px;
    box-shadow: none;
    padding-top: 80px;
  }

  .main img{
    width: 100%;
    height: auto;
    border-radius: 0px;
  }

  .floating{
    top: 300px;
    right: 24px;
  }

  .floating img{
    width: 60px;
    height: 60px;
  }
}