@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+HK&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
}

/* CSS cho header khi trang chưa được cuộn */
#mainNav {
  transition: top 0.3s;
}

/* CSS cho header khi trang được cuộn */
#mainNav.scrolled {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff; /* Điều chỉnh màu nền của header khi cuộn */
  box-shadow: 0 4px 2px -2px rgba(0,0,0,0.1); /* Thêm đổ bóng */
}

.banner{
    position: relative;
    width: 100%;
    height: 100vh;
    background: url(../images/bg6.jpg);
    background-size: cover;
    background-position: bottom;
}

.banner .clouds{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner .clouds img{
    position: absolute;
    bottom: 0;
    max-width: 100%;
    animation: animate calc(8s * var(--i)) linear infinite;
}

@keyframes animate{
    0%{
        transform: translateX(-100%);
    }
    100%{
        transform: translateX(100%);
    }
}

.banner .title{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    font-weight: 900;
    letter-spacing: 10px;
    font-size: 1px;
    word-spacing: 10px;
    color: rgb(251, 255, 253);
    opacity: .65;
}

@media screen and (min-width: 500px){
  .banner .title{
    font-size: 4vw;
  }
}

@media screen and (max-width: 500px){
  .banner .title{
    font-size: 10vw;
  }
}
html {
  scroll-behavior: smooth;
}
:root {
  --bg1: url(../images/bg2.jpg  ) no-repeat;
  --bg2: url(../images/loangmau.jpg) no-repeat;
  /* --bg3: url(../images/bg16.jpg) no-repeat; */

}
body {
  font-family: 'Noto Sans HK', sans-serif;
  background: #fff;
  background: var(--bg3);

  background-size: cover;
  justify-content: center;
}
.carousel-inner img {
  margin-top: 3%;
  width: 100%;
  height: 600px;
}
.slider {
  margin-bottom: 30px;
  position: relative;
}
.slider .owl-item.active.center .slider-card {
  transform: scale(1.15);
  opacity: 1;
  background: #ffffff; /* fallback for old browsers */
  background: -webkit-linear-gradient(#aeaeae); /* Chrome 10-25, Safari 5.1-6 *//* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #fff;
}
.slider-card {
  background: #fff;
  padding: 0px 0px;
  margin: 50px 15px 90px 15px;
  border-radius: 15px;
  box-shadow: 0 15px 45px -20px rgb(0 0 0 / 73%);
  transform: scale(0.9);
  opacity: 0.5;
  transition: all 0.3s;
}
.slider-card img {
  border-radius: 15px 15px 0px 0px;
}
.slider-card .text-below-image {
 /* Khoảng cách giữa hình ảnh và văn bản dưới hình */
  font-size: 1.5rem; /* Kích thước chữ */
  color: #141414; /* Màu chữ */
  padding-bottom: 3px;
  border-radius: 15px;
  /* Các thuộc tính CSS khác tùy thuộc vào yêu cầu thiết kế của bạn */
}

.slider-card .text-below-image p{
 /* Khoảng cách giữa hình ảnh và văn bản dưới hình */
  font-size: 1.5rem; /* Kích thước chữ */
  color: #141414; /* Màu chữ */
  padding-bottom: 3px;
  /* Các thuộc tính CSS khác tùy thuộc vào yêu cầu thiết kế của bạn */
}
.owl-nav .owl-prev {
  position: absolute;
  top: calc(50% - 25px);
  left: 0;
  opacity: 1;
  font-size: 30px !important;
  z-index: 1;
}
.owl-nav .owl-next {
  position: absolute;
  top: calc(50% - 25px);
  right: 0;
  opacity: 1;
  font-size: 30px !important;
  z-index: 1;
}
.owl-dots {
  text-align: center;
}
.owl-dots .owl-dot {
  height: 10px;
  width: 10px;
  border-radius: 10px;
  background: #ccc !important;
  margin-left: 3px;
  margin-right: 3px;
  outline: none;
}
.owl-dots .owl-dot.active {
  background: #009900 !important;
}


.navbar .navbar-nav .nav-link {
  color: #009900;
  font-size: 1.3em;
}
.navbar .navbar-nav .nav-link:hover {
  color: #000000;
}
.navbar .navbar-nav .nav-item {
  position: relative;
}
.navbar .navbar-nav .nav-item::after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background-color: #009900;
  width: 0%;
  content: "";
  height: 4px;
  transition: all 0.5s;
}

.navbar .navbar-nav .nav-item:hover::after {
  width: 100%;
}

.nav-item {
  padding: 0 35px; /* Điều chỉnh giá trị theo ý muốn */
}
.navbar.fixed-top {
  position: fixed;
  width: 100%;
  top: 0;
  
  background-color: #fff; /* Chỉ định màu nền khi cuộn */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Tùy chỉnh shadow khi cuộn */
  z-index: 1000; /* Đảm bảo thanh điều hướng nằm trên cùng */
}

h1{
  text-align: center;
  margin-bottom: 3%;
  margin-top: 3%;
}

.carousel-container {
  max-width: 1200px; /* Đặt chiều rộng tối đa của container */
  margin: 0 auto; /* Canh giữa container */
  padding: 20px; /* Khoảng cách từ nội dung đến viền container */
  background-color: #f7f2f2;
  margin-top: 3%;
}
.carousel-item img {
  border-radius: 15px; /* Đặt góc cong theo ý muốn */
}

#carouselExampleControls {
  width: 100%;

}

.owl-carousel {
  /* Thêm các quy tắc CSS khác cho carousel tại đây */
}
/* whatwedo */
.title::before, .title::after{
content: "";
height: 2px;
background-color: #000;
display: block;
}
.title{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  column-gap: 1.9rem;
}

.Panel-container{
  max-width: 1000px; /* Đặt chiều rộng tối đa của container */
  padding: 20px; /* Khoảng cách từ nội dung đến viền container */
  background-color: #f7f2f2;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: #f2f2f2;
  overflow: auto;
}

.gallery{
  margin: 5px;
  text-align: center;
  float: left;
  width: 450px;
  height: 350px;
}
.gallery img{
  max-width: 600px;
  max-height: 350px;
  height: 350px;
  width: 450px;
}
.desc{
  padding: 15px;
  text-align: center;
}

.gallery:nth-child(3) img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media (max-width: 768px) {
  @media (max-width: 768px) {
    .gallery:nth-child(1) {
      order: -1; /* Đưa phần tử đầu tiên lên đầu */
    }
    .gallery:nth-child(2) {
      order: 0; /* Đưa phần tử đầu tiên lên đầu */
    }
    .gallery:nth-child(4) {
      order: 3; /* Đưa phần tử đầu tiên lên đầu */
    }
    .gallery:nth-child(3) {
      order: 997; /* Đưa phần tử đầu tiên lên đầu */
    }
    .gallery:nth-child(5) {
      order: 998; /* Đưa phần tử đầu tiên lên đầu */
    }
    
    .gallery:nth-child(6) {
      order: 999; /* Đưa phần tử thứ 6 xuống cuối cùng */
    }
}

  .gallery{
    margin: 5px;
    text-align: center;
    float: left;
    width: auto;
    height: auto;
  }
} 
/* whychoseus */
.whychoseus{
  width: 100%;
  height: 300px;
  background-color: #d8e6da;
}

.whychoseus {
  display: flex;
  background: var(--bg2);
  justify-content: left;
  background-position: center;
  background-size: cover;
  align-items: center;
  height: 350px; /* Điều này đảm bảo rằng phần tử có chiều cao 100% của màn hình */
}

.content-why {
  text-align: center;

  padding: 10px; /* Tùy chỉnh padding tùy ý */
  max-width: 200px; /* Đặt kích thước tối đa của nội dung */
  width: 100%;
  font-size: 30px; /* Đặt kích thước chữ */
  font-weight: bold; /* Đặt in đậm */
}

.section-padding {
	padding: 60px 0;
}/* Add this CSS to your existing stylesheet or in a new one */
.brand-carousel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.single-certificate {
  flex: 1;
  margin: 10px; /* Adjust margin as needed for spacing */
  padding-left: 5%;
}

.single-certificate img {
  width: 60%;
  height: auto;
  max-width: 100%; /* Ensure images don't exceed their original size */
}

/* Add animation for smooth transition */
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}


/* Add animation for smooth transition */
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}



h1,
h2,
h3,
h4,
h5,
h6 {}
a,
a:hover,
a:focus,
a:active {
    text-decoration: none;
    outline: none;
}

a,
a:active,
a:focus {
    color: #333;
    text-decoration: none;
    transition-timing-function: ease-in-out;
    -ms-transition-timing-function: ease-in-out;
    -moz-transition-timing-function: ease-in-out;
    -webkit-transition-timing-function: ease-in-out;
    -o-transition-timing-function: ease-in-out;
    transition-duration: .2s;
    -ms-transition-duration: .2s;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
img {
max-width: 100%;
height: auto;
}
span, a, a:hover {
display: inline-block;
text-decoration: none;
color: inherit;
}
.section-head {
margin-bottom: 60px;
}
.section-head h4 {
position: relative;
padding:0;
color:#009900;
line-height: 1;
letter-spacing:0.3px;
font-size: 34px;
font-weight: 700;  
text-align:center;
text-transform:none;
margin-bottom:30px;
}
.section-head h4:before {
content: '';
width: 60px;
height: 3px;
background:#009900;
position: absolute;
left: 0px;
bottom: -10px;
right:0;  
margin:0 auto;
}
.section-head h4 span {
font-weight: 700;
padding-bottom: 5px;
color:#2f2f2f
}
p.service_text{
color:#cccccc !important;
font-size:16px;
line-height:28px;
text-align:center;    
}
.section-head p, p.awesome_line{
color:#818181;
font-size:16px;
line-height:28px;
text-align:center;  
}

.extra-text {
font-size:34px;
font-weight: 700;
color:#2f2f2f;
margin-bottom: 25px;
position:relative;
text-transform: none;
}
.extra-text::before {
content: '';
width: 60px;
height: 3px;
background:#009900;
position: absolute;
left: 0px;
bottom: -10px;
right: 0;
margin: 0 auto;
}
.extra-text span {
font-weight: 700;
color:#009900;
}
.item {
background: #fff;
text-align: center;
padding: 30px 25px;
-webkit-box-shadow:0 0px 25px rgba(0, 0, 0, 0.07);
box-shadow:0 0px 25px rgba(0, 0, 0, 0.07);
border-radius: 20px;
border:5px solid rgba(0, 0, 0, 0.07);
margin-bottom: 30px;
-webkit-transition: all .5s ease 0;
transition: all .5s ease 0;
transition: all 0.5s ease 0s;
}
.item:hover{
background:#009900;
box-shadow:0 8px 20px 0px rgba(0, 0, 0, 0.2);
-webkit-transition: all .5s ease 0;
transition: all .5s ease 0;
transition: all 0.5s ease 0s;
}
.item:hover .item, .item:hover span.icon{
background:#fff;
border-radius:10px;
-webkit-transition: all .5s ease 0;
transition: all .5s ease 0;
transition: all 0.5s ease 0s;
}
.item:hover h4, .item:hover p{
color:#fff;
-webkit-transition: all .5s ease 0;
transition: all .5s ease 0;
transition: all 0.5s ease 0s;
}
.item .icon {
font-size: 40px;
margin-bottom:25px;
color:#009900;   
width: 90px;
height: 90px;
line-height: 96px;
border-radius: 50px;
}
.item .feature_box_col_one{
background:rgba(247, 198, 5, 0.20);
color:#009900
}
.item .feature_box_col_two{
background:rgba(255, 77, 28, 0.15);
color:#009900
}
.item .feature_box_col_three{
background:rgba(0, 147, 38, 0.15);
color:#009900
}
.item .feature_box_col_four{
background:rgba(0, 108, 255, 0.15);
color:#009900
}
.item .feature_box_col_five{
background:rgba(146, 39, 255, 0.15);
color:#009900
}
.item .feature_box_col_six{
background:rgba(23, 39, 246, 0.15);
color:#009900
}
.item p{
font-size:15px;
line-height:26px;
}
.item h6 {
margin-bottom:20px;
color:#2f2f2f;
}
.mission p {
margin-bottom: 10px;
font-size: 15px;
line-height: 28px;
font-weight: 500;
}
.mission i {
display: inline-block;
width: 50px;
height: 50px;
line-height: 50px;
text-align: center;
background: #009900;
border-radius: 50%;
color: #fff;
font-size: 25px;
}
.mission .small-text {
margin-left: 10px;
font-size: 13px;
color: #666;
}
.skills {
padding-top:0px;
}
.skills .prog-item {
margin-bottom: 25px;
}
.skills .prog-item:last-child {
margin-bottom: 0;
}
.skills .prog-item p {
font-weight: 500;
font-size: 15px;
margin-bottom: 10px;
}
.skills .prog-item .skills-progress {
width: 100%;
height: 10px;
background: #e0e0e0;
border-radius:20px;
position: relative;
}
.skills .prog-item .skills-progress span {
position: absolute;
left: 0;
top: 0;
height: 100%;
background: #009900;
width: 10%;
border-radius: 10px;
-webkit-transition: all 1s;
transition: all 1s;
}
.skills .prog-item .skills-progress span:after {
content: attr(data-value);
position: absolute;
top: -5px;
right: 0;
font-size: 10px;
font-weight:600;    
color: #fff;
background:#009900;
padding: 3px 7px;
border-radius: 30px;
}

/* footer */

footer {
  background: -webkit-linear-gradient(59deg, #024b37, #16222A);
  background: linear-gradient(59deg, #3a733e, #16222A);
  color: #fff;
  height: auto;
  padding: 20px 0;
}


.footer-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.logo img {
  max-width: 100px;
  height: auto;
}

.contact-info p {
  margin: 0;
}

.social-media a {
  margin-right: 10px;
}

.social-media img {
  max-width: 30px;
  height: auto;
}
/* Hiệu ứng hover cho các liên kết */
.footer-column {
  color: #ffffff; /* Màu của liên kết khi chưa hover */
  text-decoration: none; /* Loại bỏ gạch chân của liên kết */
  transition: color 0.3s ease; /* Hiệu ứng chuyển động màu trong 0.3 giây */
  margin-top: 3%;
}

.footer-column a:hover {
  color: #ff9900; /* Màu của liên kết khi hover */
}
/* Media queries cho điện thoại di động */
/* Style cho màn hình nhỏ (ví dụ: điện thoại di động) */
@media screen and (max-width: 600px) {
  .footer-content {
    flex-direction: column;
  }

  .footer-column {
    margin-bottom: 20px; /* hoặc bất kỳ khoảng cách nào bạn muốn giữ giữa các cột */
  }
}










