@import url('https://fonts.googleapis.com/css2?family=Fasthand&family=Hanuman:wght@100;300;400;700;900&family=Noto+Serif+Khmer:wght@800&family=Poppins:wght@400;600;700;900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
  --grey: rgba(128, 128, 128, 0.442);
  --border-color-grey: rgba(128, 128, 128, 0.442);
  --bg-card: #d4d4d440;
  --bg-sale: #3CB043;
  --bg-hover-card: #bfc1be;
  --bg-header: #F6F9F5;
  --overlay: rgba(0, 0, 0, 0.294);
  --navbar-tab: #FAFBFA;
}

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family:"Poppins", sans-serif  ,  "Fasthand", cursive;
}

.container {
  max-width: 1200px;
  margin: 0px auto;
}
.text-capitalize {
  text-transform: capitalize;
}
.fs-1 {
  font-size: 60px;
}
.fs-3 {
  font-size: 30px;
}
.fs-2 {
  font-size: 40px;
}
.fs-5 {
  font-size: 20px;
}
.fs-6 {
  font-size: 16px;
}
.text-muted {
  color: var(--border-color-grey);
}
.fw-bold {
  font-weight: 900;
}
.text-green {
  color: var(--bg-sale);
}
.text-grey {
  color: grey;
}
.text-white {
  color: white;
}
.pe-2 {
  padding-right: 20px;
}
.ps-4 {
  padding-left: 50px;
}

.ps-2 {
  padding-left: 20px;
}

.px-1 {
  padding: 0px 10px;
}
.pt-1 {
  padding-top: 10px;
}
.c {
  padding-top: 30px;
}
.mt-3 {
  margin-top: 30px;
}
.mt-2 {
  margin-top: 20px;
}
.mb-1 {
  margin-bottom: 10px;
}
.mb-3 {
  margin-bottom: 30px;
}
.mb-2 {
  margin-bottom: 20px;
}
.px-2 {
  padding: 0px 20px;
}
.row {
  display: flex;
  flex-wrap: wrap;
}
.col-12 {
  width: 100%;
}

.col-8 {
  width: 66.66%;
}
.col-3 {
  width: 25%;
}
.col-9 {
  width: 75%;
}
.col-4 {
  width: 33.33%;
}
.col-6 {
  width: 50%;

}

.col-2 {
  width: 20%;
}

.d-flex {
  display: flex;
}
.align-item-center {
  align-items: center;
}
.align-item-end {
  align-items: end;
}

.justify-content-end {
  justify-content: end;
}
.justify-content-center {
  justify-content: center;
}

.navbar-tabs-section {
  padding-top: 30px;
  width: 100%;
  /* background-color: #F0F1F0; */
}

.navbar-tabs-section .container .row .col-12 .navbar-tabs {
  width: 100%;
  display: flex;
  justify-content: center;
  list-style-type: none;
  /* background-color: var(--navbar-tab); */
}

.navbar-tabs-section .container .row .col-12 .navbar-tabs .nav-item .nav-link {
  display: block;
  text-decoration: none;
  padding: 5px 30px;
  font-size: 20px;
  font-weight: 550;
}

.navbar-tabs-section .container .row .col-12 .navbar-tabs .nav-item .line::after {
  content: ''; 
  position: absolute; 
  top: 20px; 
  width: 20px; 
  height: 3px; 
  background-color: var(--border-color-grey); 
  margin-left: 20px;
  cursor: context-menu;
}


.navbar-tabs-section .container .row .col-12 .navbar-tabs .nav-item .nav-link:hover {
  color: var(--bg-sale);
}

.navbar-tabs-section .container .row .col-12 .navbar-tabs .nav-item .nav-link.active {
  color: var(--bg-sale);
}

.navbar-tabs-section .container .row .col-12 .text-title {
  text-align: center;
  padding: 20px 0;
}

 .navbar-tabs .navbar-link {
  text-decoration: none;
  color: black;
  border: 2px solid var(--border-color-grey);
  color: grey;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  cursor: pointer;
  font-size: 18px;
}



.navbar-tabs:hover .navbar-link {
  /* border: 2px solid var(--bg-sale); */
  transition: all 1.2s;
}
.navbar-tabs:hover .fa-angle-down {
  transform: rotate(180deg);
  transition: all 1.2s;
}
.navbar-tabs {
  position: relative;
  width: 260px;
}


.navbar-tabs .dropdown {
  display: block;
  position: absolute;
  top: 48px;
  display: none;
  border: 2px solid var(--border-color-grey);
  list-style-type: none;
  width: 100%;
  background: white;
  z-index: 1200;
}
.navbar-tabs .dropdown .dropdown-item .dropdown-link {
  text-decoration: none;
  display: block;
  padding: 10px;
  cursor: pointer;
  color: black;
}

.navbar-tabs .dropdown .dropdown-item:hover .dropdown-link {
  /* background: var(--grey); */
  background: var(--bg-card);
}
.navbar-tabs:hover .dropdown {
  display: block;
}


/*  start cteare part new  */
.container .link-card-new {
  width: 100%;
  height: 100%;
  z-index: 1000;
}
.container .card-new {
    width : 100%;
    height  : 240px;
    position: relative;
}
.container  .type-new {
    font-size : 14px;
    background: var(--bg-sale);
    padding : 8px 20px;
  position: absolute;
  top : 0px;
  display: flex;
  color : white;
  align-items: center;
  justify-content: center;
  border-bottom-right-radius:  10px;
  border-top-left-radius: 2px;
}
.container .card-new .overlay {
    background: rgba(35, 35, 17, 0.349);
    position: absolute;
    width : 100%;
    height : 100%;
}
.container .card-new .card-img  {
    width : 100%;
    height : 100%;
}
.container .card-new .card-img img{
   width : 100%;
   height : 100%;
   object-fit: cover;
}
.container .card-new .body-text {
        position: absolute;
        width : 100%;
        height : 24px;
        bottom :50px;
        left  : 0px;
        color : white;
        padding-left :20px;
        overflow: hidden;
     
}
.container .card-new .body-text .text-desc {
    font-size : 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.container .card-new:hover .body-text {
     height : 40%;
     transition: all 0.8s;
}
.container .card-new:hover .overlay{
  background: rgba(0, 0, 0, 0.753);
  transition: all 1.2s;
}

.container .card-new .body-text .text-title {
    font-size : 14px;
    color : white;
    text-decoration: none;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom :10px;
}
.container .card-new .date-new{
    font-size: 12px;
    position: absolute;
    bottom: 0;
    height : 20%;
   width : 100%;
   display: flex;
   align-items: center;
   color : white;
   padding-left :20px;
} 
.container .card-new .date-new i {
  margin-right  : 6px;
}



 .swiper {
    width: 100%;
    height: 100%;
    height: 490px;
  }


 .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    height: 100%;
     display: flex;
     justify-content: center;
     align-items: center;
     overflow: hidden;
     padding-bottom: 0px !important;
     width: 100%;
     border-radius: 2px;
     overflow: hidden;

  }
 

.swiper-slide .card-new-slider{
  width : 100%;
  height  : 100%;
  position: relative;
 
  overflow: hidden;
 
}
.swiper-slide  .overlay {

  position: absolute;
  width : 100%;
  height : 100%;
}
.swiper-slide .card-img  {
  width : 100%;
  height : 100%;

 
}
.swiper-slide .card-img img {
 width : 100%;
 display: block;
 height : 100%;
 object-fit: cover;

}
.swiper-slide .card-new-slider .body-text {
  position: absolute;
  width : 100%;
  height :  7%;
  bottom :90px;
  left  : 0px;
  padding-left :80px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
}

.swiper-slide .card-new-slider .body-text .text-title {
  font-size : 20px;
  color : white ;
  text-decoration: none;
  text-align: start;
  font-weight: bold;
 

} 
.swiper-slide .card-new-slider  .body-text .text-detail {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size : 14px;
  padding-right: 40px;
  color: white;
  text-align: start;
}

.container .card-new-slider:hover .body-text  {
  height : 26%;
  transition: all 0.8s;
}
.container .card-new-slider:hover .text-title {
  margin-bottom : 0px;
  margin-bottom : 16px;
}
.container .card-new-slider:hover  .overlay {
  background: rgba(0, 0, 0, 0.753);
  transition: all 1.2s;
}
.swiper-slide .card-new-slider .date-new{
  font-size: 16px;
  position: absolute;
  bottom: 20px;
  height : 20%;
 width : 100%;
 display: flex;
 align-items: center;
 padding-left : 80px;
 color : white;
} 
.container .card-new-slider .date-new i {
  margin-right  : 10px;
}

.swiper-pagination {
 color : white !important;
}
.swiper-button-next{
  
 color: white !important;
  
}
.swiper-button-prev {

  color: white !important;

}




/* ​create navbar-category */
.navbar-category {
 
  border: 1px solid var(--bg-hover-card);
  padding :  20px 0px;
  display: flex;
  justify-content: space-between  ;
  align-items: center;
}
.navbar-category .navbar-brand {
  font-size : 20px;
  font-weight: bold;
  border-left: 6px solid var(--bg-sale) ;
  padding-left : 20px;
}
.navbar-category .navbar-nav {
  list-style-type: none;
  border-right: 6px solid var(--bg-sale) ;
  padding-right : 20px;
  display: flex;
  gap : 20px;
}
.navbar-category .navbar-nav .navbar-item .navbar-link {
   text-decoration: none;
   color  : black;
   font-weight: bold;
}
.navbar-category .navbar-nav .navbar-item .navbar-link.active {
 color : var(--bg-sale);
 text-decoration: none;
}


/*  */
.card-content-new {
  width : 100%;
  height: 450px;
  position: relative;
  
}
.card-content-new .type-new {
  font-size : 14px;
  background: var(--bg-sale);
  padding : 8px 20px;
position: absolute;
top : 0px;
display: flex;
color : white;
align-items: center;
justify-content: center;
border-bottom-right-radius:  10px;
}
.card-content-new .overlay {
  background: rgba(35, 35, 17, 0.22);
  position: absolute;
  width : 100%;
 height: 100%;
}
.card-content-new .card-img  {
  width : 100%;
  height : 50%;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.card-content-new .card-img img{
 width : 100%;
 height : 100%;
 object-fit: cover;
}
.card-content-new .body-text {
   padding-top: 30px;
   padding-left : 10px;
   height: 50%;
   display: flex;
   flex-direction: column;
   
  
   
}
/* .card-content-new .body-text .text-desc {
  font-size : 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-content-new:hover .body-text {
  padding-top : 10px;
  background-color: yellow;
} */

.card-content-new .body-text .text-title {
  font-size : 14px;
  color : white;
  text-decoration: none;
  margin-bottom : 20px;
  color: black;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-content-new .body-text  .text-desc {
  margin-bottom: 20px;
  color: black;
  font-size : 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-content-new  .date-new{
  font-size: 12px;
 display: flex;
 align-items: center; 
 color: black;
} 
.card-content-new .date-new i {
margin-right  : 6px;
color: black;
}
/*  end of create part new  */
/*  footer  */

footer {
  background: white;
  border-top: 1px solid var(--border-color-grey);
  margin-top : 60px;
}
.logo-footer {
  width : 150px;
}
.logo-footer img {
  width : 100%;
  height : 100%;
  object-fit: cover;
}
.desc-footer {
  font-size : 14px;
  color : rgb(0, 0, 0);
}

footer .title-footer {
  color : rgb(0, 0, 0);
  font-size : 16px;
  font-weight: bold;
  padding-top : 10px;
}

footer .navbar-nav {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap : 10px;
}
footer .navbar-nav .navbar-link  {
  color : rgb(0, 0, 0);
  font-size : 14px;
  text-decoration: none;
  padding : 0px;
}
/* footer .navbar-nav .navbar-link i {
  
} */
footer .navbar-nav .navbar-item i {
  font-size : 16px;
  margin-right : 8px;
}
footer .navbar-nav .navbar-item .fa-circle{
  font-size: 8px;
}
footer .navbar-nav .navbar-item {
  position: unset;
  cursor: pointer;
}
footer .navbar-nav .navbar-item .dropdown{
  position: unset;
  list-style-type: none;
  background-color: transparent ;
  box-shadow: none;
  padding : 10px;
  padding-left : 18px;
  display: none;
}


footer .navbar-nav .navbar-item .dropdown .dropdown-item .dropdown-link {
        padding : none;
        font-size : 16px;
        padding : 0px;
        background-color: transparent;
        text-decoration: none;
        display: block;
        padding : 10px 0px;
        color : black;
}
footer .navbar-nav .navbar-item:hover .navbar-link{
    color : var(--bg-sale);
}
footer .navbar-nav .navbar-item:hover{
  color : var(--bg-sale);
}
.rotate {
  transform: rotate(90deg);
}

footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap : 20px;
}
footer .footer-contact .contact {
  display: flex;
  color : rgb(0, 0, 0);
  gap : 10px;
}


footer .footer-contact .contact i {
  color : var(--bg-sale);
  font-size : 16px;

}


footer .footer-contact .contact p a {
  text-decoration: none;
  color : rgb(0, 0, 0);
  width: 100%;
  font-size : 14px;
}
footer .footer-contact .contact p:hover a {
  color : var(--bg-sale);
}
.social-group-footer {
  color : rgb(0, 0, 0);
  display: flex;
  gap :20px;
}
.social-group-footer  i {
 font-size : 20px;
  color : var(--bg-sale);
}
.social-group-footer  i:hover {
 transform: scale(120%);
 transition: all 0.8s;
 cursor: pointer;
}



.group-footer .form-inline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.group-footer .form-inline .comment-message {
  width: 100%;
  resize: none;
  width: 100%;
  outline: none;
  /* border: 1px solid var(--bg-sale); */
  border-radius: 2px;
  padding: 10px;
  font-family: var(--font-hanuman);
  color: var(--bg-sale);
}

.group-footer .form-inline .comment-message::placeholder {
  /* color: var(--bg-sale); */
  font-size: 14px;
}
.group-footer .form-inline .btn-send {
  width: 120px;
  height: 40px;
  border: none;
  font-size: 14px;
  cursor: pointer;
 border: 1.5px solid var(--bg-sale);
  color: white;
  text-decoration: none;
  background: transparent;
}
.group-footer .form-inline .btn-send {
   background: var(--bg-sale);
}
.group-footer .form-inline  .group-btn .btn-send {
  border:1.5px solid var(--bg-sale);
  width: 120px;
  height: 40px;
  border-radius: 2px;
  background-color: transparent;
  color: white;
  color: black;
  font-size : 16px;
}
.group-footer .form-inline  .group-btn .btn-send:hover {
  background-color: var(--bg-sale);
  border: none;
  color: white;
}

footer .footer-copyright {
  width : 100%;
  height: 80px;
  border-top : 1px solid var(--border-color-grey);
  display: flex;
  align-items: center;
}

footer .footer-copyright .container .row {
  display: flex;
  align-items: center;
} 

footer .footer-copyright  .text-copyright {
       font-size : 16px;
       display: flex;
       justify-content: start;
       align-items: center;
}
footer .footer-copyright .company-payment {
  display: flex;
  justify-content: end;
  align-items: center;
  padding-top : 10px;
  flex-wrap: wrap;
}
footer .footer-copyright .company-payment img {
  width : 60px;
  height :40px;
}