@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.aboutus {
  padding-top: 80px;
}

.aboutus h2 {
  font-family: "Amatic SC", Sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: rgb(251, 91, 50);
  text-align: center;
  margin: 0px 0px 15px 0px;
}

.aboutus h3 {
  font-size: 36px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 50px;
}

.container {
  /* display: flex; */
  max-width: 1200px;
  margin: 30px auto;
  background-color: #FFEEE3;
  border-radius: 20px;
  overflow: hidden;
}



.tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  overflow-x: scroll;
}

.tabs a {
  font-size: 16px;
  color: #333;
  text-decoration: none;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.tabs a.active {
  color: #ff5722;
  border-bottom-color: #ff5722;
}

.content h1 {
  font-size: 24px;
  margin-bottom: 15px;
}

.content p {
  font-size: 16px;
  line-height: 1.6;
  color: #6E6E6E;
  margin-bottom: 20px;
}

.stats {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.stat {
  text-align: center;
}

.stat .number {
  font-size: 32px;
  font-weight: bold;
  color: #ff5722;
}

.stat .label {
  font-size: 14px;
  color: #333;
}

.image {
  width: 50%;
  background: url('https://via.placeholder.com/800x600') center/cover no-repeat;
}

.main-about {
  display: flex;
  background-transition: 0.3s;
  border-radius: 20px 20px 20px 20px;
  padding: 0px;
  position: relative;
  background-color: #FFEEE3;
  height: auto;
}

.info-section .decor-img-top {
  position: absolute;
  top: 20px;
  margin-block-end: 0;
  margin-bottom: 0;
  right: 0;
  max-width: 100%;
}

.info-section .decor-img-bot {
  position: absolute;
  right: 40px;
  margin-block-end: 0;
  margin-bottom: 0;
  bottom: 0;
  max-width: 100%;
}

@media (min-width: 768px) {
  .info-section {
    width: 990px;
  }
}

.info-section {
  flex: 1;
  background-color: #ffeee3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-radius: 20px
}

.info-section .form-info {
  margin: 60px -300px 70px 45px;
}

.info-section .form-info .content {
  width: 60%;
  padding-right: 80px;
  display: none;
  flex-direction: column;
  flex-basis: auto;
}

.info-section .form-info .content.active {
  display: flex;
}

.tabs {
  display: flex;
  margin-bottom: 20px;
}

.tabs::-webkit-scrollbar {
    display: none; /* Ẩn thanh cuộn trên Chrome, Safari và Edge mới */
}

.tab {
  margin-right: 20px;
  padding-bottom: 5px;
  cursor: pointer;
  font-weight: bold;
  color: #555;
  font-weight: 600;
  line-height: 26px;
  text-transform: capitalize;
  letter-spacing: 0;
  font-size: 18px
}

.tab.active {
  border-bottom: 2px solid #ff6633;
  color: #ff6633;
}

.content .text-content {
  color: #555;
  line-height: 1.6;
}

.statistics {
  display: flex;
  gap: 50px;
}

.statistics div {
  text-align: center;
}

.number {
  font-size: 48px;
  font-weight: 600;
  color: #ff6633;
  line-height: 1
}

.statistics p {
  font-size: 0.9rem;
  color: #6E6E6E;
  margin-top: 5px;
}

.statistics .title {
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
}

.statistics>div {
  display: flex;
  flex-direction: column
}

.decor-image img {
  opacity: 0.1;
}

.element-img {
  height: 100%;
  position: absolute;
  top: 0;
  margin: 150px 0 0 0;
  right: 0;
  display: none;
}

.element-img.active {
  display: block;
}

.element-img img {
  max-width: 460px;
  /*height: 100%;*/
  border-radius: 20px;
  /*width: 90%;*/
  float: right;
}
.tabs {
  position: relative;
}
@media (max-width: 786px) {
  .aboutus {
    padding-top: 40px;
  }
  .element-img img{
    display: none;
  }
  .info-section .form-info {
    margin: 29px 20px 20px 20px;
  }
  .tab {
    font-size: 16px;
    white-space: nowrap;
  }
  .info-section .form-info .content {
    width: 100%;
    padding-right: 0px;
  }
  .aboutus h3 {
    margin-bottom: 30px;
  }
}