body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 15px;
  background-color: whitesmoke;
}
html {
  margin: 0;
  padding: 0;
}
header {
  background-color: rgb(29, 22, 22);
  display: flex;
  align-items: center;
  padding: 10px 20px;

  justify-content: space-between;
}

.logo {
  font-size: 30px;
  color: white;
  margin-left: 200px;
  text-decoration: none;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
}

.menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  display: block;
  transition: color 0.3s;
}

.list {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  display: none;
  padding: 10px 0;
  min-width: 180px;
  border-radius: 5px;
}

.list li {
  padding: 5px 15px;
}

.list li a {
  color: rgb(0, 0, 0);
  font-weight: normal;
}

.list li a:hover {
  color: #3802fc;
}

.menu li:hover .list {
  display: block;
}
footer {
  background-color: rgb(87, 81, 173);
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
footer .links img {
  width: 30px;
  height: 30px;
}
footer .links {
  display: flex;
  justify-content: center;
  gap: 10px;
}
footer p {
  text-align: center;
}
.intro {
  margin: 0;
  padding: 0;
  text-align: center;
  color: white;
  font-size: 40px;
  background-image: url("img/Nen.png");
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
}
.intro .truoc {
  padding-top: 300px;
}
.intro p {
  margin: 0;
  padding: 0;
}
.intro #typewriter {
  font-size: 24px;
  font-family: Arial, sans-serif;
  display: inline-block;
  border-right: 2px solid rgb(255, 255, 255); /* tạo con trỏ */
  padding-right: 5px;
  white-space: nowrap;
  overflow: hidden;
}
.noidung {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin: 20px 100px;
  background-color: white;
}
.title {
  display: flex;
  justify-content: center;
}
.title .thongtin {
  text-align: left;
  margin-left: 30px;
}
.thongke {
  text-align: left;
}
.bar {
  width: 100%;
  background-color: #ddd;
  border-radius: 25px;
  overflow: hidden;
  height: 10px;
}

.bar span {
  display: block;
  height: 100%;
  background: rgb(52, 52, 199);
  border-radius: 25px;
  width: 0;
  animation: fill-bar 1.5s ease forwards;
}
aside {
  padding-top: 100px;
  text-align: center;
  border-image: auto;
  padding: 50px;
  padding-left: 100px;
  padding-right: 100px;
}
aside img {
  width: 300px;
  height: 300px;

  object-fit: cover;
  margin-bottom: 20px;
}
.main-content {
  text-align: left;
  font-size: 20px;
}
.chamngon {
  text-align: center;
}
.line {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  margin: 50px auto;
  width: 90%;
  max-width: 1200px;
}

.cottrai,
.cotphai {
  flex: 1;
}

.cottrai h2,
.cotphai h2 {
  margin-bottom: 20px;
  text-align: left;
}

.cot {
  margin-bottom: 40px;
}

.cottrai .cot,
.cotphai .cot {
  position: relative;
  border-left: 2px solid blue;
  padding-left: 20px;
  margin-left: 10px;
  height: 80%;
}

.cottrai .cot::before,
.cotphai .cot::before {
  content: "";
  position: absolute;
  left: -10px;
  top: -10px;
  width: 12px;
  height: 12px;
  background-color: white;
  border: 3px solid blue;
  border-radius: 50%;
}

.cot h3 {
  margin-bottom: 5px;
  color: black;
}

.cot h4 {
  margin-top: 0;
  color: gray;
  font-weight: normal;
}
section {
  text-align: center;
  border-image: auto;
  padding: 50px;
  width: 700px;
}
section img {
  width: 500px;
  height: 350px;
}
article a img {
  width: 30px;
  height: 30px;
}
article a {
  text-decoration: none;
}
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 50px;
  padding-bottom: 100px;
}
form input,
form textarea {
  width: 300px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.daudong {
  text-align: center;
  padding-top: 50px;
  color: black;
}
.lienhe {
  display: flex;
  justify-content:space-around;
  align-items: flex-start;
  gap: 20px;
  margin: 20px 100px;
  background-color: white;
}
.thongtinlienhe
{
  display: flex;
  align-items: center; 
  gap: 10px; 
}
.thongtinlienhe svg {
  width: 50px;
  height: 50px;
  padding: 10px;            
  border: 2px solid blue;  
  border-radius: 50%;
  box-sizing: border-box;
  background-color: white;  
}
.thongtinlienhe svg:hover {
  background-color: blue;
  color: white;
}
.hangtren {
  display: flex;
  gap: 20px;
}
.map {
  display: flex;
  justify-content: center;
}
.map iframe {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  max-height: 1200px;
  padding-top: 50px;
}

#contact-form {
  width: 80%;
  max-width: 1200px;
  margin: 60px auto;
  background: #fff;
  padding: 50px 60px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

#contact-form .form-row .form-group {
  flex: 1;
  padding: 10px;
  width: 600px;
}
#contact-form .form-group
{
  width: 80%;
  width: 1240px;
}
#contact-form input,
#contact-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 14px;
  padding-right: 10px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
}

#contact-form textarea {
  resize: none;
}

.form-button {
  text-align: center;
  margin-top: 30px;
}

#contact-form button {
  background: #007bff;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  padding: 12px 40px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#contact-form button:hover {
  background: #0056b3;
}
.dichvu .daudong {
  text-align: center;
  padding-top: 50px;
}
.noidungdichvu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin: 20px 100px;
}
.dichvu1
{
  background-color: white;
  padding: 30px;
  width: 400px;
  height: auto;
  border-radius: 10px;
}
.dichvu1 svg {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  padding: 20px;
  background-color: #007bff;
  border: 1px;
  border-radius: 50%;
  color: black;
}
.dichvu1:hover  {
  box-shadow: 0 4px 8px rgba(12, 39, 195, 0.2);
  transform: translateY(-8px);
  transition: all 0.3s ease;
  color: #007bff;
}
.dichvu1 p {
  margin-top: 10px;
  font-size: 18px;
  color: black;
}
.thongkesolieu {
  margin-top: 100px;
  padding: 100px;
  background-color: #007bff;
  display: flex;
  justify-content: center;
  color: white;
  gap: 50px;
  text-align: center;
  background-image: url("https://toomva.com/images/posts/2024/01/phan-biet-work-job-career-employment-1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.thongkesolieu h2 {
  font-size: 40px;
  margin: 0;

}
/*-----------dien thoai----------------*/
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    height: 60px;
    margin-bottom: 10px;
  }

  nav {
    width: 100%;
  }

  .menu {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .menu a {
    padding: 10px;
    display: block;
    width: 100%;
    text-align: left;
  }

  main {
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
  }

  aside {
    width: 100%;
    padding: 20px;
    margin-bottom: 20px;
  }

  aside img {
    width: 200px;
    height: 200px;
  }

  section {
    width: 100%;
    padding: 20px;
  }

  section img {
    width: 100%;
    height: auto;
  }

  form {
    padding: 20px;
  }

  form input,
  form textarea {
    width: 100%;
  }

  footer {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 20px 0;
  }

  footer .links {
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
  }
.lienhe {
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
  }

  .thongtinlienhe {
    justify-content: center;
  }

  #contact-form {
    width: 95%;
    max-width: 95%;
    padding: 20px;
    box-sizing: border-box;
  }

  #contact-form .form-group {
    width: 100% !important;
    padding: 5px;
  }

  #contact-form input,
  #contact-form textarea {
    width: 100%;
    font-size: 14px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-button button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
  }
  form {
    padding-bottom: 50px;
  }
}
@media (max-width: 480px) {

  header {
    padding: 10px;
  }

  .logo {
    font-size: 22px;
    margin: 0 auto;
  }

  .intro {
    height: auto;
    padding: 100px 20px;
    background-position: center;
  }

  .intro .truoc {
    font-size: 24px;
    padding-top: 50px;
  }

  #typewriter {
    font-size: 18px;
  }

  .lienhe {
    flex-direction: column;
    align-items: center;
    margin: 10px;
    text-align: center;
  }

  .thongtinlienhe {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .thongtinlienhe svg {
    width: 40px;
    height: 40px;
  }

  #contact-form {
    width: 95%;
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
  }

  #contact-form input,
  #contact-form textarea {
    font-size: 14px;
  }

  footer p {
    font-size: 14px;
  }

  footer .links img {
    width: 25px;
    height: 25px;
  }
}
