:root {
  --primary: #169e50;
  --greyLight: #23adade1;
  --greyLight-2: #cbe0dd;
  --greyDark: #2d4848;
  --textTitle: #2c8456;
  --backgroundColor: #169e50;
  --secondaryBackground: #e2ffee;
  --newsCardBackgroundColor: #f5fff9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1 {
  font-size: 66px;
  line-height: 64px;
  color: #111;
}

h2 {
  font-size: 46px;
  /* line-height: 54px; */
  color: #111;
}

h4 {
  font-size: 20px;
  color: #111;
}

h6 {
  font-weight: 700;
  font-size: 12px;
}

p {
  font-size: 16px;
  color: #111;
  text-align: justify;
}

.section-p1 {
  padding: 40px 60px;
}

.section-m1 {
  margin: 40px 0;
}

body {
  width: 100%;
}

ul, li {
  font-size: clamp(1rem, 3vw, 1.2rem);
}
/* Header */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px 10px 60px;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}

header .navbar {
  display: flex;
  align-items: center;
  justify-content: center;
}

header .navbar li {
  width: 125px;
  height: 40px;
  display: block;
  background-color: #169e50;
  justify-content: space-between;
  text-align: center;
  padding: 5px 15px;
  margin: 20px 10px 0 10px;
  list-style: none;
  position: relative;
  border-radius: 10px;
}

header .navbar li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

header .navbar li:hover {
  background-color: #175233;
}

header .navbar li a:hover {
  color: #fff;
  transition: 0.3s ease;
}

/*header .navbar li a.active*/

.b {
  margin: 0 0;
}

.carousel-images {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-images div {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  flex-shrink: 0;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 5px;
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #bbb;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.dot.active {
  background-color: #333;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #169e50;
}

#popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px 30px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  font-size: 16px;
  z-index: 9999;
}

footer #lk_menu a{
  text-decoration: none;
}

footer #lk_menu a:hover{
  color: #111;
}

footer .col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

footer .logo {
  width: 150px;
  height: 150px;
}

  footer .copyright {
  width: 100%;
}

footer h4 {
  padding-bottom: 20px;
  color: #fff;
  margin: 0;
}

footer p {
  color: #fff;
  margin: 5px 0;
}
@media screen and (max-width: 780px){
  footer{
    display: grid;
    grid-template-columns: auto auto;
    row-gap: 15px;
    column-gap: 48px;
  }
  footer p{
    font-size: 12px;
  }
  footer h4{
    font-size: 14px;
    padding: 0;
  }
  .section-p1{
    padding: 10px 15px;
  }
  footer .logo {
    height: 96.06px;
    width: 96.06px;
  }
  #emailForm {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    border-radius: 5px !important;
  }
}

footer a {
  font-size: 16px;
  text-decoration: none;
  margin: 5px 0;
  color: #fff;
}

#emailForm {
  width: auto;
  display: flex;
  padding: 10px;
  margin: 10px 0 10px 0;
  border: 0 solid #000;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

#email {
  width: 50%;
  border: none;
  flex: 1 1 auto;
  font-size: 16px;
}

input:focus {
  outline: none;
}

#send {
  float: right;
  justify-content: center;
  background-image: none;
  width: 30px;
  height: 30px;
}

.banner-about {
  height: 500px;
  background-image: url("../imgs/Nen 1_1440x500.webp");
  position: relative;
  text-align: center;
  color: white;
  background-size: cover; /* Scale the image to cover the entire area */
  background-repeat: no-repeat; /* Prevent the image from repeating if it's smaller than the container */
  background-position: center center;
}

.banner-content {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  /* To compensate own width and height */
}

.banner-content h1,
.banner-content a {
  color: white;
  text-decoration: none;
}

.banner-content a {
  font-size: 24px;
}

.background-blur {
  background: #ffffff4d;
  padding: 7px 18px;
  border-radius: 10px;
  width: fit-content;
  margin: auto;
}

.text-banner {
  border-bottom: 1px solid black;
  padding: 58px 262px;
  text-align: center;
}

.text-banner span {
  text-align: justify;
  font-size: 20px;
}

.items-list {
  max-width: 90vw;
  margin: 2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 3rem;
  justify-content: center;
  align-content: center;
}

@media only screen and (max-width: 600px) {
  .items-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.item {
  width: 10rem;
  height: 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--greyDark);
  cursor: pointer;
}

.item span {
  background: #ffffff;
  box-shadow: 0 0.8rem 2rem rgba(90, 97, 129, 0.05);
  border-radius: 0.6rem;
  padding: 2rem;
  font-size: 3rem;
  transition: all 0.3s ease;
}

.item:hover span {
  transform: scale(1.2);
  color: var(--primary);
}

.item p {
  font-size: 1.2rem;
  margin-top: 1rem;
  color: var(--greyLight);
}

.nav-bar {
  display: flex;
  justify-content: end;
}

.page {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding-top: 48px;
}

.page__numbers,
.page__btn,
.page__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.25rem;
  font-size: 16px;
  cursor: pointer;
}

.page__dots {
  width: 2rem;
  height: 2rem;
  color: var(--greyLight);
  cursor: initial;
}

.page__numbers {
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
}

.page__numbers:hover {
  color: var(--primary);
}

.page__numbers.active {
  color: #ffffff;
  background: var(--primary);
  font-weight: 600;
  border: 1px solid var(--primary);
}

.page__btn {
  color: var(--greyLight);
  pointer-events: none;
}

.page__btn.active {
  color: var(--greyDark);
  pointer-events: initial;
}

.page__btn.active:hover {
  color: var(--primary);
}
.btn-navbar-mobile, header nav {
  display: none;
}
@media screen and (max-width: 780px) {
  h1{
    font-size: 40px;
  }
  .banner-content a{
    font-size: 17px !important;
  }
  header {
    padding: 0;
  }
  .btn-navbar-mobile, header nav {
    display: block;
  }
  header #logo {
    padding-right: 37px;
  }
  header a img {
    width: 50px !important;
    height: 50px !important;
  }
  header .navbar {
    display: none;
  }
  #menuToggle {
    display: flex;
    flex-direction: column;
    position: relative;
    left: 25px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
  }

  #menuToggle input {
    display: flex;
    width: 40px;
    height: 32px;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
  }

  #menuToggle span {
    display: flex;
    width: 29px;
    height: 2px;
    margin-bottom: 5px;
    position: relative;
    background: var(--backgroundColor);
    border-radius: 3px;
    z-index: 1;
    transform-origin: 5px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
      background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
  }

  #menuToggle span:first-child {
    transform-origin: 0% 0%;
  }

  #menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
  }

  #menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-3px, -1px);
    background: var(--backgroundColor);
  }
  #menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }

  #menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
  }

  #menu {
    position: absolute;
    width: 286px;
    height: 704px;
    box-shadow: 0 0 10px #85888c;
    margin: -50px 0 0 -50px;
    padding: 50px;
    padding-top: 125px;
    padding-right: 27px;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  }

  #menu li {
    padding: 10px 0;
    transition-delay: 2s;
    border-bottom: 3px solid var(--backgroundColor);
    text-align: end;
  }

  #menuToggle input:checked ~ ul {
    transform: none;
  }
  a {
    text-decoration: none;
    color: var(--backgroundColor);
    opacity: 1;
    /* font-family: "work sans", sans serif; */
    font-size: 1em;
    font-weight: 400;
    transition: 200ms;
  }
  a:hover {
    opacity: 0.5;
    text-decoration: none;
  }
  ul {
    padding: 0;
    list-style-type: none;
  }
  .banner-about {
    height: 400px;
  }
}
@media only screen and (max-width: 480px) {
  .banner-about {
    height: 300px;
  }
    .carousel-button{
      top: 45%;
    }
}
#openPopup {
  right: 1rem;
  border-radius: 50%;
  height: 75px;
  width: 75px;
  border: none;
  bottom: 1rem;
  position: fixed;
  background-image: url("./img/vong-quay.jpg");
  background-size: cover;
}
.popup {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 1px solid #ccc;
  padding: 20px;
  z-index: 1000;
}
.overlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 500;
}