:root {

    --color-1: #ffff;

    --color-2: #000;

    --font-family-1: "Roboto", sans-serif;
    --font-family-2: "Yeseva One", serif;
    --box--shadow-1: 0 10px 30px 0 rgba(0, 0, 0, .1);

    --box--shadow-2: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;

}

body {
    font-family: var(--font-family-1);
}

.about-session-2 {
    margin-top: 30px;
}

.call-action-4-images {
    position: relative;
    padding-bottom: 24.39%;
}

.opacity-30 {
    opacity: .3;
}

.call-action-4-image-1,
.call-action-4-image-2 {
    width: 73.17%;
    overflow: hidden;
    border-radius: var(--border-radius-default);
    isolation: isolate;
    transform: translateZ(0);
}

.call-action-4-image-2 {
    position: absolute;
    bottom: -100px;
    right: -160px;

}

.call-action-4-image-1,
.call-action-4-image-2 {
    width: 73.17%;
    overflow: hidden;
    border-radius: var(--border-radius-default);
    isolation: isolate;
    transform: translateZ(0);
}

.call-action-4-image-1 img {
    visibility: visible;
    animation-duration: 1.2s;
    animation-name: scaleOutIn;
}

.call-action-4-image-2 div {
    color: transparent;
    visibility: visible;
    animation-duration: 1.2s;
    animation-name: scaleOutIn;
    opacity: 1;
    transform: scale(1);
}

.about-colum-left div {
    height: 90%;
}

.about-colum-left img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.session-3-column-1,
.session-3-column-1 {
    margin: auto;
}

.team h2 {
    font-size: 25px;
    padding: 0px 18px;
}

.team {
    width: 100px;
    border: thin solid #fff;
    border-radius: 50px;

}

.section-title-strong {
    font-size: 65px;
}

.about-content p {
    margin-top: 30px;
}

.about-session3-name {
    padding-top: 30px;
}

.person-title {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.information col-inner {
    border: 1px solid #4d4d4d;
}

.social-icons .instagram,
.social-icons .twitter,
.social-icons .email {
    display: none;
}

.session4-title h2 {
    font-size: 40px;
}

.service-title h3 {
    font-family: var(--font-family-2);
    font-size: 96px;
    font-weight: 600;
    text-align: center;
}

.section-descr-large p {
    font-size: 30px;
    font-family: var(--font-family-1);

}

.text-x1 p {
    font-size: 20px;
    font-family: var(--font-family-1);
}

.service-box-1,
.service-box-2,
.service-box-3,
.service-box-4,
.service-box-5,
.service-box-6,
.service-box-7,
.service-box-8 {
    border: 1px solid #fff;
    border-radius: 200px;
    margin-top: 20px;
    height: 220px;
    position: relative;
}

.service-box-1,
.service-box-2,
.service-box-3,
.service-box-4,
.service-box-5,
.service-box-6,
.service-box-7,
.service-box-8:hover {
    cursor: pointer;
}

.text-5xl p {
    font-size: 48px;
    font-family: var(--font-family-2);
    font-weight: 600;

}

.text-5xl {
    height: 100px;
    margin-top: 70px;
    margin-left: 25px;
}

.service-box-1,
.service-box-3,
.service-box-5,
.service-box-7 {
    float: left;
    margin-left: 34px;
    margin-bottom: 40px;
}

.service-box-2,
.service-box-4,
.service-box-6,
.service-box-8 {
    float: right;
    margin-right: 34px;
    margin-bottom: 40px;
}

.text-6xl {
    font-family: var(--font-family-2);
    font-weight: 600;
    font-size: 25px;

}

.text-6xl p {
    position: absolute;
    top: -80px;
    right: 590px;
}


.service-img {
    height: 100%;
    width: 70%;
    float: right;
    padding-top: 15px;
    /* transition: transform 2s; */
}

.text-5xl a {
    font-family: var(--font-family-2);
    color: var(--color-1);
}

.text-5xl a:hover {
    font-family: var(--font-family-2);
    color: var(--color-1);
}

.service-img div img {
    border-radius: 200px !important;
    height: 100%;
    object-fit: cover;
}

.about-title span,
.session-3-column-1 h2,
.session-3-column-1 h1 {
    font-family: var(--font-family-2);
}

.service-img:hover {
    /* transform: translateX(-100px); */
}

.btn-about-index:hover {
    opacity: 0.5;
}

@media screen and (max-width: 769px) {
    .section-descr-large p {
        font-size: 27px;
    }

    .text-5xl {
        margin-top: 52px;
    }

    .service-img {
        padding-top: 30px;
    }

    .text-5xl p {
        font-size: 25px;
    }

    .service-box-1,
    .service-box-3,
    .service-box-5,
    .service-box-7 {
        margin-left: 10px;

    }

    .service-box-2,
    .service-box-4,
    .service-box-6,
    .service-box-8 {
        margin-right: 10px;

    }

    .service-box-1,
    .service-box-2,
    .service-box-3,
    .service-box-4,
    .service-box-5,
    .service-box-6,
    .service-box-7,
    .service-box-8 {
        margin-top: 0px;
        width: 80%;
        height: 150px;
    }

    .about-col-1 {
        flex-direction: column;
    }

    .call-action-4-images {
        margin-left: 120px;
        padding-bottom: 17%;
    }

    .image-cover {
        
        width: 350px;
    }

    .about-content-1 {
        width: 500px;
        margin-left: 50px;

        font-weight: 600;
    }

    .medium-4 {
        max-width: 50.333333%;

    }

    .about-colum-left {
        max-width: 80%;
        margin: auto;
    }

    .about-session-3 .section-content div {
        display: flex;

        width: 100%;
        flex-direction: column;
    }
    .team{
        width: 100px !important;
    }
    .session-3-column-1 div div h1{
        font-size: 37px;
    }
    .about-info-1{
        width: 50% !important;
        margin: auto;
    }
    .medium-3{
        max-width: 50%;
    }
    .about-icon {
        margin-top: 10px;
    }
    .about-icon .facebook{
      margin: auto !important;
    }
    .text-center .button:first-of-type{
        margin-left: auto !important;
    }
    .social-icons a{
        width: 50px;
      
    }
   
}

@media screen and (max-width: 549px) {
    .service-box-1, .service-box-2, 
    .service-box-3, .service-box-4,
    .service-box-5, .service-box-6, 
    .service-box-7, .service-box-8 {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .service-box-img {
        bottom: 200px;
    }

    .service-box-img .has-hover {
        width: 40% !important;
    }

    .text-5xl p {
        font-size: 20px;
    }

    .about-info-1 {
        width: 100% !important;
        margin: auto;
    }

    .session-3-column-1 .row-about-ceo {
        margin-top: -33px;
    }
}

.cnb-single.cnb-right {
    bottom: 71px;
    right: 24px;
}

#callnowbutton.cnb-single {
    width: 40px;
    height: 40px;
    background-size: 30px 30px;
}

@media screen and (max-width: 420px) {

    .service-box-1,
    .service-box-2,
    .service-box-3,
    .service-box-4,
    .service-box-5,
    .service-box-6,
    .service-box-7,
    .service-box-8 {
        display: flex;
        margin-left: 0px;
        margin-right: 0px;
        border: none;
        float: left;
        width: 100%;
        height: auto;
    }


    .service-box-1 div {
        width: 100%;
        padding: 0px;
    }

    .text-5xl {
        margin-top: 0px;
        margin-left: 0px;

    }

    .text-5xl p {
        text-align: center;
        font-size: 35px;
    }

    .service-img {
        padding-top: 0px;
        width: 100% !important;
    }

    .service-img div img {
        border-radius: 10px !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .about-title{
        font-size: 80%;
    }
    .call-action-4-images {
        margin-left: 25px;
        padding-bottom: 17%;
    }
    .about-session-2 .medium-6{
        margin-top: 30px;
    }
    .about-session-2 .medium-6 .col-inner{
        padding: 0px 5px !important;
    }
    .about-content-1{
        font-size: 16px !important;
        margin-left: 5px;
        width: 100%;
    }
    .about-info-1 {
        width: 100% !important;
    }
    .medium-3{
        max-width: 100%;
    }
    .about-colum-left{
        max-width: 100%;
    }

    .service-box-img {
        bottom: 50px;
    }

    .service-box-img .has-hover {
        width: 100% !important;
    }

    .service-box-1, .service-box-3, 
    .service-box-5, .service-box-7, 
    .service-box-2, .service-box-4, 
    .service-box-6, .service-box-8 {
        margin-bottom: -20px;
    }

    .about-info-1 {
        width: 100% !important;
        margin: auto;
    }
}




 

/*css from lien he */

  .contact-form-wrapper {
    max-width: 100%;
    
    padding: 30px 20px;
    background-color: #f6f6f6;
    border-radius: 0px 50px 0px 50px;
    font-family: "Arial", sans-serif;
  
  }

  .company-buttons {
  display: flex;
  flex-direction: column;
  gap: 0px !important;
  margin-bottom: 25px;
  align-items: center; 
}

 .company-btn {
  margin: 0 !important;
  padding: 14px 16px;
  border: 1px solid transparent;
  background: white;
  color: #555;
  border-radius: 0px 20px 0px 20px;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
height: 50px;
  font-weight: normal;
  transition: all 0.3s ease;
  box-sizing: border-box;
line-height: 1
}


.company-btn:hover:not(.active) {
  background-color: #0f8c43;
  color: #ccc;
  border-color: #0f8c43;
}

.company-btn.active {
  background-color: #0f8c43;
  color: white;
  font-weight: 600;
  border-color: #0f8c43;
    border-radius: 0px 20px 0px 20px;
}
.company-btn.active {
  background-color: #0f8c43;
  color: white;
  font-weight: 600;
  border-color: #0f8c43;
  border-radius: 0px 20px 0px 20px;
}

/* Kích thước giảm dần */
.btn-1 {
  width: 90%;
}

.btn-2 {
  width: 75%;
}

.btn-3 {
  width: 65%;
}


  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 14px;
     border-radius: 0px 20px 0px 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 18px;
    font-weight: normal;
    color: #333;
    box-sizing: border-box;
    outline: none;
    height: 50px;
  }

  .contact-form textarea {
    resize: vertical;
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: #a0a0a0;
    font-weight: normal;
  }
.intro-text {
  font-size: 16px;        
  text-align: center;     
  color: #333;            
  margin-bottom: 16px;    
  line-height: 1.6;       
}

.intro-text .highlight {
  color: #0f8c43;        
  font-weight: 600;
}
.submit-btn {
  background-color: #d4f1dd; /* xanh nhạt */
  color: #0b6b3c; /* xanh chữ */
  border: none;
  padding: 6px 24px;
  border-radius: 0 20px 0 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
text-transform: none;
}

/* Hover */
.submit-btn:hover {
  background-color: #198754; /* xanh đậm */
  color: white;
}


/*css from san pham
.custom-tab-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Thay vì text-align */
  
/* } */

.custom-tab-title {
  color: #228448;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.custom-tab-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: nowrap;
margin-bottom: 20px;
}

.custom-tab-button {
  text-decoration: none;
  color: #666;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 0 15px 0 15px;
  background-color: #fff;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.custom-tab-button.active {
  background-color: #198754;
  color: #fff;
  border-color: #198754;
}


.custom-tab-button:hover {
  background-color: #198754;
  color: #fff;
  border-color: #198754;
}
/*hover san pham */
.product-small .box {
  position: relative;
  background-color: #fff;
  border-radius: 0px 60px 0px 60px;
  padding: 50px 50px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}


/* SVG bo cong góc dưới trái */
.product-small .box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90px;
  height: 100px;
  background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'><path d='M0,0 A100,100 0 0,0 100,100 A70,70 0 0,1 0,0 Z' fill='%23228448'/></svg>") no-repeat;
  background-size: contain;
  background-position: bottom left;
  z-index: 2;
  pointer-events: none;

  opacity: 0;
  transform: translate(-10px, 10px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
} 




/* Viền mỏng cho top-right */
.product-small .box::before {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  top: 0;
  right: 0;
  background-color: transparent;
  border-top-right-radius: 60px;
 border: 0.1px solid #b9e4d0;
  border-left: none;
  border-bottom: none;
  z-index: 1;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}



.product-small .box::after {
  opacity: 0;
  transform: translate(-10px, 10px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-small .box:hover::after {
  opacity: 1;
   transform: scale(1) translate(0, 0);
}
/* Hover hiển thị */
.product-small .box:hover::after,
.product-small .box:hover::before {
  opacity: 1;
}






/* Ảnh sản phẩm */
.product-small .box img {
  width: 100%;
  height: 250px; /* Hoặc chiều cao bạn muốn cố định */
  object-fit: cover; /* Cắt ảnh để vừa khít */
  /*border-radius: 8px;  Tuỳ chỉnh nếu cần */
}


@media (max-width: 768px) {
  .product-small .box {
    padding: 20px; /* giảm từ 50px còn 20px */
    border-radius: 0px 40px 0px 40px; /* có thể bo nhẹ hơn nếu muốn */
  }

  .product-small .box img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: none;
  }
  .product-small .box h3, 
  .product-small .box .product-title {
    margin: 0;
    padding: 0;
    font-size: 16px; /* hoặc nhỏ hơn nếu cần */
  }
.product-small .box:hover::after,
  .product-small .box:hover::before {
    opacity: 0 !important;
    transform: none !important;
  }

  .product-small .box::after,
  .product-small .box::before {
    opacity: 0 !important;
    transform: none !important;
  }
}





/* Tên sản phẩm */
.product-small .box-text .product-title a {
  font-size: 18px;
  font-weight: 600;
  margin-top: 15px;
  color: #222;
  font-weight: bold; 
}
/* Đổi màu chữ khi hover toàn bộ box */
.product-small .box:hover .box-text .product-title a {
  color: #198754 !important;
}
/* fix css hover trong trang sản phẩm -> sản phẩm */
.slider-nav-reveal .flickity-prev-next-button, .slider-nav-reveal .flickity-prev-next-button:hover {
  background: transparent;
  box-shadow: none;
}


/*css from thành tích */
/* Style tab thường */
.nav-tabs > li > a {
    background-color: #fff;
    color: #3b82f6;
    padding: 12px 24px;
    border: 1px solid #ddd;
    border-radius: 12px 12px 0 0;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
border-bottom: none;
}

/* Khi hover */
.nav-tabs > li > a:hover {
    background-color: #f1f8ff;
    color: #2563eb;
    border-color: #c0ddff;
}

/* Tab đang active */
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    background-color: #fff;
    color: #111827;
    font-weight: 700;
    border: 2px solid #3b82f6;
    border-bottom-color: transparent;
    box-shadow: inset 0 -2px 0 #3b82f6;
    border-radius: 12px 12px 0 0;
    z-index: 2;
}

/* Tùy chỉnh line giữa các tab */
.nav-tabs {
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    gap: 10px;
}


/* màng Laptop */

@media screen and (max-width: 1560px) {
  
}

@media screen and (max-width: 1460px) {
  
}

@media screen and (max-width: 1360px) {
  
}

@media screen and (max-width: 1280px) {
  
}


