*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:#f4e900;
  color:#111;
}

.iq-header{
  background:#111;
  padding:15px 6%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:6px solid #f4e900;
}

.iq-header img{
  width:170px;
  display:block;
}

.iq-nav a{
  color:#fff;
  margin-left:20px;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
}

.iq-online-main{
  max-width:1100px;
  margin:0 auto;
  padding:42px 6%;
  min-height:55vh;
}

.btn{
  display:inline-block;
  margin:0 0 20px;
  padding:12px 20px;
  border:3px solid #111;
  font-weight:900;
  text-decoration:none;
  border-radius:6px;
  background:#111;
  color:#fff;
}

.iq-footer{
  background:#111;
  color:#fff;
  padding:40px 6%;
  margin-top:0;
}

.iq-footer img{
  width:140px;
  margin-top:10px;
}

.iq-footer a{
  color:#f4e900;
  text-decoration:none;
  font-weight:800;
}

.iq-footer-inner{
  max-width:1100px;
  margin:0 auto;
}

.iq-footer-links{
  margin-top:18px;
  font-size:16px;
}

.iq-footer-contact{
  margin-top:22px;
  border-top:1px solid #333;
  padding-top:18px;
  line-height:1.6;
}

.iq-footer-contact h3{
  font-size:22px;
  margin-bottom:8px;
  color:#f4e900;
}

.iq-footer-contact p{
  font-size:16px;
  margin:8px 0;
}

@media(max-width:900px){
  .iq-header{
    flex-direction:column;
    align-items:flex-start;
    padding:14px 5%;
  }

  .iq-header img{
    width:150px;
  }

  .iq-nav{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:8px;
  }

  .iq-nav a{
    margin-left:0;
    background:#222;
    border:1px solid #333;
    border-radius:6px;
    padding:8px 10px;
    font-size:12px;
  }

  .iq-online-main{
    padding:30px 5%;
  }
}

@media(max-width:480px){
  .iq-header img{
    width:135px;
  }

  .iq-nav a{
    font-size:11px;
    padding:7px 8px;
  }
}
