/*

TemplateMo 591 villa agency

https://templatemo.com/tm-591-villa-agency

*/

/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer

--------------------------------------------- */
/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: 'SVN-Poppins';
  src: url('../fonts/svn-poppins/SVN-Poppins-Medium.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('../fonts/svn-gilroy/SVN-Gilroy-Bold.otf');
  font-weight: normal;
  font-style: normal;
}

/* 
---------------------------------------------
reset
--------------------------------------------- 
*/

:root {
  --primary: #2E3192;
  --secondary: #FFEE00;
  --dark: #242A2E;
}

html,
body {
  font-family: 'SVN-Poppins', sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 14px;
  line-height: 24px;
  color: var(--dark);
}

img {
  max-width: 100%;
  height: auto;
}

.gap-21 {
  gap: 21px;
}

@media (min-width: 1200px) {
  .col-20 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.back-to-top {
  background: var(--primary);
  border-color: var(--primary);
  position: fixed;
  display: none;
  right: 20px;
  bottom: 45px;
  z-index: 99;
}

.back-to-top:hover {
  border-color: var(--secondary);
  background: var(--secondary);
  color: var(--dark);
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/* 
---------------------------------------------
Global Styles
--------------------------------------------- 
*/

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  color: var(--primary);
  font-size: 26px;
  line-height: 40px;
  text-transform: capitalize;
  letter-spacing: .32px;
}

.section-heading h6 {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 4px;
}

.section-heading h5 {
  background: linear-gradient(90deg, rgba(255, 238, 0, 0) 0%, #FFEE00 16.83%, #FFEE00 70.19%, rgba(255, 238, 0, 0) 100%);
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  text-transform: uppercase;
  letter-spacing: 2.56px;
  display: inline-block;
  padding: 0 36px;
}

.section-heading p {
  margin: 0;
}

.floating-sidebar-buttons {
  position: fixed;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 100;
}

.floating-right {
  right: 20px;
}

/* 
---------------------------------------------
Header Style
--------------------------------------------- 
*/

@media (min-width: 992px) and (max-width: 1199px) {

  .sub-header {
    display: none;
  }
}

.sub-header {
  background: url('../img/bg-topbar.svg') center no-repeat;
  background-size: cover;
  padding: 10px 0px;
}

.sub-header ul.info {
  padding-left: 0;
}

.sub-header ul li {
  display: inline-block;
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.language-menu {
  position: relative;
  border-right: 1px solid #5B5B5B;
  padding-right: 16px;
  margin-right: 25px;
}

.language-menu>a {
  display: block;
  color: white;
}

.language-menu ul.dropdown {
  position: absolute;
  list-style: none;
  right: 0;
  top: 35px;
  width: 120px;
  background: white;
  z-index: 1021;
  text-align: left;
  padding: 13px 13px 20px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.language-menu:hover ul.dropdown {
  opacity: 1;
  visibility: visible;
}

.language-menu ul.dropdown a {
  color: var(--dark);
  font-weight: 600;
  text-transform: uppercase;
}

.language-menu ul.dropdown img {
  width: 24px;
}

.sub-header .language-menu li {
  display: block;
}

.language-menu li:not(:last-child) {
  margin-bottom: 8px;
}

.sub-header ul.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 0;
}

.sub-header ul.social-links li a {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  color: var(--dark);
  font-size: 14px;
  transition: all .3s;
}

.sub-header ul.social-links li a:hover {
  background: var(--secondary);
}
.social-links{
  gap: 24px;
}
.sub-header ul.info li {
  font-weight: 600;
  font-size: 13px;
  line-height: 22px;
  color: var(--dark);
  border-right: 1px solid var(--dark);
  margin-right: 25px;
  padding-right: 25px;
}

.sub-header ul.info li:last-child {
  margin-right: 0px;
  padding-right: 0px;
  border-right: none;
}

.header-area {
  padding: 15px 0;
  background: white;
  box-shadow: 0px 4px 22.1px 0px #0000000D;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.navbar-light .navbar-nav {
  align-items: center;
  gap: 18px;
}

.navbar .navbar-toggler:focus {
  box-shadow: none;
}

.navbar-light .navbar-nav .nav-item {
  position: relative;
  display: block;
}

@media (min-width: 992px) {

  .navbar-light .navbar-nav .submenu {
    position: absolute;
    transition: all 0.3s ease-in-out;
    margin-top: 30px;
    background: white;
    border: none;
    visibility: hidden;
  }

  .navbar-light .navbar-nav .nav-item:hover .submenu {
    visibility: visible;
    margin-top: 0;
  }
}

.navbar-light .navbar-nav .submenu {
  min-width: 260px;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.navbar-light .navbar-nav .submenu li a {
  color: black;
  display: block;
  padding: 6px 10px;
}

.navbar-light .navbar-nav .submenu li a:hover {
  color: var(--primary);
}

.navbar-light .navbar-nav .nav-link {
  font-family: 'SVN-Gilroy';
  text-transform: uppercase;
  color: var(--dark);
  line-height: 24px;
  padding: 0;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover {
  color: var(--primary);
}

.box-search a {
  display: inline-block;
  color: var(--dark);
  background: #F7F7F7;
  padding: 10px;
  border-radius: 23px;
  width: 44px;
  text-align: center;
}

.content-form {
  background-color: transparent;
  border: none;
}

.searchform {
  position: relative;
}

.searchform-wrapper form {
  margin-bottom: 0;
}

.flex-row {
  -js-display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
}

.flex-row {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.flex-grow {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -ms-flex-negative: 1;
  -ms-flex-preferred-size: auto;
}

.flex-row .flex-col {
  padding-right: 4px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.searchform-wrapper input[type=search] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, .09);
  padding: 0 0.75em;
  height: 67px;
  font-size: .97em;
  border-radius: 0;
  max-width: 100%;
  width: 100%;
  vertical-align: middle;
  background-color: rgba(255, 255, 255, .2);
  color: #ffffff;
  -webkit-box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
  -webkit-transition: color .3s, border .3s, background .3s, opacity .3s;
  -o-transition: color .3s, border .3s, background .3s, opacity .3s;
  transition: color .3s, border .3s, background .3s, opacity .3s;
  border-radius: 99px;
  padding: 0 20px;
}

.searchform input[type=search] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.searchform input[type=search]::placeholder {
  color: #ffffff;
  font-size: 20px;
}

.searchform input[type=search]:focus,
.searchform input[type=search]:focus-visible {
  outline: none;
}

.searchform-wrapper .flex-col:last-of-type {
  margin-left: -2.9em;
}

.searchform .icon {
  color: currentColor;
  border-color: transparent;
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.searchform .icon i {
  color: white;
}

.btn-custom {
  background: var(--secondary);
  padding: 12px 25px;
  border-radius: 0;
  color: var(--dark);
  font-weight: 600;
  text-transform: uppercase;
}

.btn-custom:hover {
  background: var(--primary);
  color: white;
}

.content-bottom__offcanvas {
  margin: 12px 0 0;
  padding: 16px;
  background: white;
}

.content-bottom__offcanvas h3 {
  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: black;
}

.content-bottom__offcanvas ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.m-menu-item {
  display: none;
  margin-top: 10px;
}

@media (min-width: 992px) and (max-width: 1399px) {

  .gap-21,
  .navbar-light .navbar-nav {
    gap: 12px;
  }

  .navbar-light .navbar-nav .nav-link,
  .topper a {
    font-size: 14px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {

  .topper a {
    padding-left: 16px;
    padding-right: 16px;
  }

}

@media (max-width: 991px) {

  .navbar .offcanvas {
    border: 0;
    background: #ececec;
    max-width: 80%;
    z-index: 1200;
  }

  .offcanvas-header {
    padding: 5px;
    background: white;
    align-items: center;
  }

  .offcanvas-header .btn-close {
    opacity: 1;
    padding: 10px 20px;
  }

  .m-menu-item {
    display: block;
  }

  .m-menu-customer a {
    width: 100%;
  }

  .search-project-frm {
    padding: 1px 10px;
    margin: 10px 0;
    width: 100%;
  }

  .search-project-frm input[type="text"] {
    border: 0;
  }

  .navbar .offcanvas-body {
    padding: 0;
  }

  .navbar .navbar-nav {
    gap: 12px;
    padding: 16px;
    background: white;
    border-top: 1px solid #EEEEEE;
  }

  .navbar-light .navbar-nav .nav-item {
    width: 100%;
  }
}

/* 
---------------------------------------------
Banner Style
--------------------------------------------- 
*/

.banner-item .hs-item {
  height: 100%;
  min-height: 800px;
}

.set-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

.header-text {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.header-text h3 {
  color: var(--secondary);
  text-transform: uppercase;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 80px;
  line-height: 50px;
}

.header-text h3:not(:last-child) {
  margin-bottom: 40px;
}

.header-text h3:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 30px;
  color: transparent;
  -webkit-text-stroke: 1px white;
}

.main-banner .header-text img {
  width: auto;
  display: inline-block;
}

@media (max-width: 991px) {

  .banner-item .hs-item {
    min-height: 470px;
  }

  .main-banner .header-text img {
    width: 50px;
  }

  .header-text h3:nth-child(2) {
    gap: 16px;
  }

}

@media (max-width: 767px) {

  .header-text h3 {
    font-size: 50px;
  }

  .header-text h3:not(:last-child) {
    margin-bottom: 16px;
  }
}

/* 
---------------------------------------------
Featured Style
--------------------------------------------- 
*/

.featured .left-image {
  position: relative;
  padding-left: 30px;
  padding-top: 30px;
}

.featured .left-image::after,
.counter h2::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background: var(--secondary);
  width: 40%;
  height: 20%;
  z-index: -1;
}

.counter h2 {
  line-height: 60px;
  font-size: 60px;
  color: var(--primary);
  position: relative;
}

.counter h2::after {
  top: inherit;
  bottom: 0;
  left: 0;
  background: var(--secondary);
  width: 81px;
  height: 15px;
}

.counter h6 {
  margin-top: 16px;
  text-transform: capitalize;
}

@media (max-width: 767px) {

  .counter h2 {
    font-size: 42px;
    line-height: 48px;
  }
}

/* 
---------------------------------------------
Properties Style
--------------------------------------------- 
*/

.products {
  background: url('../img/bg-product.jpg') center no-repeat;
  background-size: cover;
}

.products .section-heading h6,
.partner .section-heading h6 {
  color: var(--secondary);
  font-weight: 400;
}

.products .section-heading h2,
.partner .section-heading h2 {
  color: white;
}

.products .right-content p,
.partner .right-content p {
  margin-bottom: 0;
  color: white;
}

.products .item a {
  display: block;
  color: white;
}


.images-box {
  position: relative;
  overflow: hidden;
}

.images-box::before {
  content: '';
  display: block;
  padding-top: 85%;
}

.images-box a,
.images-box .img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.images-box img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.products .content,
.product-related .content {
  padding: 21px 20px;
  text-align: center;
  text-transform: uppercase;
}

.products a:hover .content,
.product-related a:hover .content {
  background: var(--secondary);
  color: var(--dark);
}

/* 
---------------------------------------------
Why Choose Style
--------------------------------------------- 
*/

.why-choose {
  background: url('../img/bg-whychoose.jpg') center no-repeat;
  background-size: cover;
  padding-bottom: 120px;
  overflow: hidden;
}

.why-choose .section-heading h2 {
  color: var(--dark);
  margin: 8px 0;
}

.why-choose--item {
  border-left: 4px solid var(--secondary);
  padding-left: 16px;
}

.icon-box.left {
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  width: 100%;
}

.icon-box-text {
  flex: 1 1 0px;
}

.icon-box .icon-box-img+.icon-box-text {
  padding-left: 16px;
}

.icon-box-text h6 {
  line-height: 24px;
  color: var(--primary);
}

.why-choose--item p {
  margin: 0;
}

/* 
---------------------------------------------
Partner Style
--------------------------------------------- 
*/

.partner {
  background-image: url('../img/bg-partner.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 100px 0px 250px 0px;
  position: relative;
  cursor: pointer;
}

.partner-grid {
  background: white;
  padding: 43px 32px;
  border-radius: 46px;
  box-shadow: 0px 4px 40.5px 0px #00000014;
}

.partner-item {
  text-align: center;
}

.partner-item img {
  width: 120px;
  height: 80px;
  object-fit: contain;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}



.partner-item img:hover {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}

.partner-item a {
  text-transform: capitalize;
  padding: 0 6px 4px;
  border-bottom: 1px solid var(--dark);
  border-radius: 0;
}

@media (min-width: 1200px) {

  .partner-item {
    border-right: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
  }

  .border-bottom-lg-0 {
    border-bottom: 0;

  }

  .border-end-lg-0 {
    border-right: 0;
  }
}

@media (min-width: 768px) {

  .partner-grid {
    margin-bottom: -220px;
  }
}

@media (max-width: 767px) {

  .partner-item {
    border: 0;
  }
}

/* 
---------------------------------------------
News Style
--------------------------------------------- 
*/

.news {
  padding: 250px 0 48px;
}

.box-img--date {
  position: relative;
}

.date-wrapper {
  display: inline-block;
  text-align: center;
  position: absolute;
  top: 0;
  right: 0;
  background: #FFEE00DE;
  padding: 10px 5px;
  font-weight: 500;
}

.date-wrapper span {
  display: block;
  font-size: 20px;
  line-height: 18px;
}

.date-wrapper span:nth-child(2) {
  font-size: 14px;
  margin-top: 2px;
}

.new-large .content {
  background: var(--dark);
  padding: 26px 30px;
}

.new-large a {
  color: white;
  display: block;
}

.new-large a:hover {
  color: var(--secondary);
}

.new-large h6 {
  text-transform: uppercase;
  line-height: 24px;
  margin-bottom: 8px;
}

.news .content p {
  margin-bottom: 0;
  color: white;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.news-item .box-img--date {
  margin-bottom: 12px;
}

.news-item h6 {
  font-size: 14px;
  line-height: 22px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.news-item h6 a {
  color: var(--dark);
  display: block;
}

.news-item h6 a:hover {
  color: var(--primary);
}

.news .news-item p {
  color: #7E7E7E;
  -webkit-line-clamp: 2;
}

.news-item .date-wrapper {
  padding: 7px 4px;
}

.news-item .date-wrapper span {
  font-size: 14px;
}

.news-item .date-wrapper span:nth-child(2) {
  font-size: 10px;
}

@media (max-width: 767px) {

  .news {
    padding-top: 48px;
  }

  .news-item h6 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

/* 
---------------------------------------------
Video Style
--------------------------------------------- 
*/

.video-large {
  margin-bottom: 9px;
}

.video-large a {
  display: block;
  position: relative;
  overflow: hidden;
}

.video-large .images-box::before {
  padding-top: 40%;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-item a>img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.video-item a:hover>img {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}

.video-item .video-play {
  top: inherit;
  left: 0;
  bottom: 0;
  transform: inherit;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-item a:hover .video-play {
  height: 100%;
}

.video-slider .swiper-button-next,
.video-slider .swiper-button-prev {
  color: white;
  width: 36px;
  height: 36px;
  border: 2px solid white;
  border-radius: 50%;
  padding: 10px;
}

.video-slider .swiper-button-next::after,
.video-slider .swiper-button-prev::after {
  font-size: 16px;
}

/* 
---------------------------------------------
Contact Style
--------------------------------------------- 
*/

.contact {
  background-image: url('../img/bg-contact.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.contact .section-heading h2 {
  color: var(--dark);
  margin: 12px 0;
}

.contact-form {
  border: 1px solid black;
  border-radius: 12px;
  padding: 34px 50px;
  position: relative;
}

.contact-form .title {
  font-weight: 700;
  line-height: 24px;
  background: #fff108;
  padding: 0 24px;
  position: absolute;
  top: -12px;
  left: 40px;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid black;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: none;
  background-color: transparent;
  border-color: black;
}

.contact .contact-form input:focus~label::after,
.contact .contact-form textarea:focus~label::after {
  background-color: transparent;
}

.send-button button {
  background: var(--dark);
  color: var(--secondary);
  padding: 12px 41px 12px 28px;
  border-top-right-radius: 24px;
}
@media (max-width: 767px){
  .contact-form .title{
    font-size: 12px;
    left: 17px;
    padding: 0 20px;
  }
}
/* 
---------------------------------------------
Footer Style
--------------------------------------------- 
*/

.footer-main {
  background: var(--dark);
  padding: 55px 0 65px;
}

.footer-item h3 {
  color: var(--secondary);
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  margin-bottom: 21px;
}

.footer-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-item li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.footer-item li:not(:last-child) {
  margin-bottom: 16px;
}

.footer-item p {
  color: white;
  font-size: 15px;
  margin-bottom: 0;
}

.social-icon {
  margin-top: 24px;
}

.social-icon a {
  color: #939393;
  font-size: 23px;
  margin-right: 27px;
}

.social-icon a:last-child {
  margin-right: 0;
}

.footer-item-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 16px;
}

.footer-item-nav li {
  max-width: 50%;
  flex: 0 0 50%;
}

.footer-item-nav a {
  display: block;
  color: white;
  text-transform: capitalize;
  font-size: 14px;
}

.footer-item-nav a:hover {
  color: var(--secondary);
}

.footer-item-nav li:not(:last-child) {
  margin: 0;
}

.footer-bottom {
  background: var(--dark);
  padding: 12px 0 19px;
  border-top: 1px solid #FFFFFF17;
}

.footer-bottom p {
  color: white;
  margin-bottom: 0;
}

/* 
---------------------------------------------
Page Header Style
--------------------------------------------- 
*/
.page-heading {
  width: 100%;
  min-height: 420px;
  overflow: hidden;
}

.page-heading .banner-img {
  width: 100%;
  height: 450px;          /* hoặc auto nếu muốn giữ tỉ lệ */
  /* object-fit: cover;      fill kín banner, có thể crop */
  display: block;
}


/* .page-heading h3 {
  font-size: 36px;
  line-height: 40px;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: .32px;
  margin-bottom: 16px;
}

.page-heading p {
  margin-bottom: 0;
  color: white;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .32px;
} */

/* 
---------------------------------------------
Products Style
--------------------------------------------- 
*/

.category {
  position: relative;
  overflow: hidden;
}
.category {
    border-radius: 6px;       /* bo nhẹ góc nếu muốn */
    background: #fff;         /* có nền thì bóng mới rõ */
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); /* x, y, blur, màu */
    padding: 12px;            /* tạo khoảng trống trong khung */
    margin-bottom: 16px;      /* tách các khung */
}

.category::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%; /* vùng gradient vàng cao hơn */
  pointer-events: none;
  background: linear-gradient(
    0deg,
    rgba(255, 238, 0, 0.75) 0%,    /* vàng đậm ở đáy */
    rgba(255, 238, 0, 0.45) 40%,   /* vàng nhạt hơn ở giữa */
    rgba(46, 49, 146, 0.15) 80%,   /* chút ánh xanh tím nhẹ để tạo chiều sâu */
    rgba(255, 255, 255, 0) 100% 
  );
  opacity: 0.9;
  transition: opacity .35s ease, transform .35s ease;
}

.category-large .images-box::before {
  padding-top: 100%;
}

.category .content {
  position: absolute;
  bottom: 30px;
  left: 16px;
  z-index: 1;
}

.category h2 {
  font-size: 32px;
  line-height: 50px;
  color: var(--primary);
}

.category h2:last-child {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--primary);
}

.product-item {
  border-radius: 0;
  text-align: center;
}

.product-item .images-box::before {
  padding-top: 90%;
}

.product-item h5 {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 28px;
  color: var(--dark);
  text-transform: uppercase;
}

.product-item a:hover .card-body {
  background: var(--secondary);
}

@media (max-width: 991px) {

  .rw-product-middle {
    flex-direction: column-reverse;
  }
}

.category-item::after {
  background: linear-gradient(53.2deg, rgba(36, 42, 46, 0) 34.5%, rgba(36, 42, 46, 0.81) 69.28%);
}

.category-item h2 {
  color: var(--secondary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* đổ bóng tối */
}

.category-item h2:last-child {
  -webkit-text-stroke: 1px var(--secondary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* đổ bóng tối */
}

.category-item a:hover h2 {
  color: var(--secondary);
}

.category-item a:hover h2:last-child {
  color: transparent;
  -webkit-text-stroke: 1px var(--secondary);
}
.category-caption{
  padding: 10px;
}
.category-caption:hover{
    background: var(--secondary);
}
.category-caption h2{
  color: #2E3192;
}
/* .caption-desc h2{
  color: transparent;
  -webkit-text-stroke: 1px #2E3192;
  opacity: 0.6;
} */
.category-card {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
/* 
---------------------------------------------
Single Page Style
--------------------------------------------- 
*/

.product-single--thumb-img .swiper-slide {
  border: 1px solid #E4E4E4;
}

.product-single--thumb-img .swiper-slide-thumb-active {
  border-color: var(--secondary);
}

.breadcrumbs-single {
  margin-bottom: 20px;
}

.breadcrumbs-single a,
.breadcrumbs-single li {
  font-size: 14px;
  font-weight: 600;
  line-height: 28px;
  text-transform: capitalize;
  letter-spacing: .32px;
  color: #8B8B8B;
}

.breadcrumbs-single li.active {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumbs-single .breadcrumb-item+.breadcrumb-item::before {
  content: '>';
}

.single-product--info h1 {
  color: var(--primary);
  font-size: 32px;
  line-height: 40px;
  letter-spacing: .32px;
  margin-bottom: 20px;
}

.product-short-description {
  margin-bottom: 40px;
}

.product-short-description p {
  margin-bottom: 0;
}

.product-button--group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-button--group a:last-child {
  background: var(--primary);
  color: white;
}

.product-button--group a:hover:last-child {
  background: var(--dark);
}

.tabs-content {
  margin-top: 48px;
}

.nav-wrapper {
  margin-bottom: 50px;
}

.nav-wrapper .nav-tabs {
  justify-content: center;
}

.nav-wrapper .nav-tabs .nav-link {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 24px;
  line-height: 40px;
  color: var(--primary);
}

.table-product--detail thead th {
  background: var(--secondary);
  text-transform: uppercase;
  text-align: center;
}

.table-product--detail tbody td {
  font-size: 14px;
  line-height: 24px;
  padding-left: 34px;
  padding-right: 34px;
}

.product-related h6 {
  color: var(--dark);
}

@media (max-width: 991px) {

  .nav-wrapper .nav-tabs .nav-link {
    font-size: 18px;
  }
}

@media (max-width: 767px) {

  .product-button--group {
    flex-direction: column;
  }

  .product-button--group a {
    width: 100%;
  }

  .table-product--detail tbody td {
    padding-left: 12px;
    padding-right: 12px;
  }

  .nav-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    white-space: nowrap;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }

  .nav-wrapper .nav-tabs {
    flex-wrap: nowrap;
  }
}

/* 
---------------------------------------------
Responsive Style
--------------------------------------------- 
*/

@media (max-width: 767px) {
  .header-area .main-nav .logo h1 {
    line-height: 80px !important;
  }

  .header-area .main-nav .nav li:last-child {
    display: none;
  }
}

@media (max-width: 992px) {
  .sub-header {
    display: none;
  }

  .header-area .main-nav .logo h1 {
    line-height: 100px;
  }

  .background-header .main-nav .logo h1 {
    line-height: 80px;
  }

  .header-area .main-nav .nav li a {
    padding-left: 3px;
    padding-right: 3px;
  }

  .header-area .main-nav .nav li:last-child a {
    padding-right: 15px;
  }
}

/* === News page === */
.page-gallery {
  background: var(--news-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.gallery-item img {
  width: 100%;
}

.page-gallery h3 {
  color: white;
  text-align: center;
  text-transform: uppercase;
  font-family: "Baloo-Bhai";
  font-weight: 400;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: .48px;
  margin-bottom: 28px;
}


/* list news  */
.thumb-news {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 9px;
}

.thumb-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  transition: transform 0.4s ease;
}

.thumb-news:hover img {
  transform: scale(1.1);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 135%;
  -webkit-line-clamp: 2;
  overflow: hidden;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

.card-title a {
  color: #007069;
}

.card-title a:hover {
  color: #012321;
}

.section-title h3 {
  font-size: 30px;
  line-height: 42px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}


/*============ Start Contact Page Styles  =============*/

.media {
  padding: 40px;
  border-radius: 10px;
  color: #fff;
  background: var(--secondary);
}

.media-header {
  display: flex;
  align-items: center;
}

.media-header i {
  color: #f0b810;
}

.media-body a {
  color: #fff;
}

.media-body h3 {
  font-weight: 700;
  font-size: 19px;
  line-height: 21px;
  color: var(--primary);
  margin-bottom: 10px;
}

.media-body img {
  /* to black */
  filter: invert(1);
  /* or to blue */
  filter: invert(1.5) sepia(1) saturate(5) hue-rotate(175deg);
}

.box-contact h2 {
  text-transform: uppercase;
  font-size: 43px;
  font-weight: 700;
  line-height: 45px;
  margin-bottom: 10px;
}

.box-contact p:nth-child(2) {
  margin-bottom: 10px;
  color: #8f8f8f;
}

.contact_form label {
  font-size: 18px;
  color: #8f8f8f;
  font-weight: 700;
  word-wrap: break-word;
}

.contact_form label span.red {
  color: #f00;
}

.contact_form input,
.contact_form textarea {
  border-radius: 0;
}

.contact_form input {
  min-height: 40px;
}

.contact_form input:focus,
.contact_form textarea:focus {
  box-shadow: none;
}

.button-contactForm {
  background: var(--secondary);
  color: var(--dark);
  text-transform: uppercase;
  padding: 10px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  font-size: 20px;
}

.contact-section .media-body li {
  margin-bottom: 10px;
}

/*============ End Contact Page Styles  =============*/







/* faq  */

.wrapper .container {
	background-color: white;
	color: black;
	border-radius: 20px;
	box-shadow: 0 5px 10px 0 rgb(0, 0, 0, 0.25);
	margin: 20px 0;
}

.question {
	font-size: 1.2rem;
	font-weight: 500;
	padding: 20px 80px 20px 20px;
	position: relative;
	display: flex;
	align-items: center;
	cursor: pointer;
}

.question::after {
	content: "\002B";
	font-size: 2.2rem;
	position: absolute;
	right: 20px;
	transition: 0.2s;
}

.question.active::after {
	transform: rotate(45deg);
}

.answercont {
	max-height: 0;
	overflow: hidden;
	transition: 0.3s;
}

.answer {
	padding: 0 20px 20px;
	line-height: 1.5rem;
}

.question.active+.answercont {}

@media screen and (max-width: 790px) {
	html {
		font-size: 14px;
	}

	.wrapper {
		width: 80%;
	}
}



/* page header  */


/* news  */
.post-header {
	background: url('../img/bg-news.png') center center no-repeat;
	background-size: cover;
	padding: 20px;
	border-radius: 14px;
}

.post-header h1 {
	font-family: 'Playfair Display';
	font-weight: 700;
	font-size: 45px;
	line-height: 40px;
	text-align: center;
}


.post-left,
.post-right {
	height: 100%;
}

.thumbnail-post-left,
.thumbnail-post-right {
	border-radius: 5px;
	overflow: hidden;
}

.thumbnail-post-left {
	width: 100%;
	max-height: 280px;
}

.thumbnail-post-left img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.thumbnail-post-right {
	width: 120px;
	height: 120px;
}

.thumbnail-post-right img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-title {
	font-weight: 600;
	font-size: 16px;
	color: #333;
	text-decoration: none;
}

.post-title:hover {
	color: #007bff;
	text-decoration: underline;
}
.post-horizontal{
  display: flex;
  align-items: start;
}
@media (max-width: 767.98px) {
	.post-horizontal {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.thumbnail-post-right {
		width: 100%;
		height: auto;
	}
}

/* detail  */
.blog_single_details h2{
    color: #1a252f;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
}

.info-cate {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}
.category-name,
.published,
.hits {
  font-size: 12px;
  color: #909090;
}

/*social*/
.share-box>a {
    display: inline-block;
    padding: 0 10px;
    border: 1px solid #ccc;
    margin-right: 5px;
    border-radius: 3px;
    line-height: 30px;
    font-size: 14px;
    color: #000
}

.share-box .share-box-social {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 50%;
    bottom: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #000;
    padding: 3px;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    border-radius: 3px;
    -webkit-transform: translate(-50%,0);
    transform: translate(-50%,0)
}

/* sidebar news  */
.blog_right_sidebar {
    padding-left: 20px;
}

.single_sidebar_widget {
    margin-bottom: 30px;
}

.single_sidebar_widget h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #007bff;
    display: inline-block;
    padding-bottom: 5px;
}

/* Khối tin từng bài */
.newslist_page {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 12px;
}

/* Hình ảnh bên trái */
.newslist_img {
    width: 100px;
    height: 100px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 6px;
}
.newslist_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

/* Nội dung tin */
.newslist_content h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
    /* display 4 line  */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.newslist_content h2 a {
    color: #333;
    text-decoration: none;
}
.newslist_content h2 a:hover {
    color: #007bff;
}

/* Responsive */
@media (max-width: 768px) {
    .blog_right_sidebar {
        padding-left: 0;
        margin-top: 30px;
    }

    .newslist_page {
        flex-direction: column;
        gap: 10px;
    }

    .newslist_img {
        width: 100%;
        height: auto;
    }

    .newslist_img img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}


.card-news {
	/* border: none; */
	padding: 13px;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	margin-bottom: 30px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .card-news:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
} */

.card-img-top {
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
	height: 180px;
	object-fit: cover;
}

.card-news-body {
	padding: 0;
	/* text-align: center; */
}

.card-text {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	/* display: block; */
	font-size: 18px;
	font-weight: 500;
	color: var(--base-color);
	text-decoration: none;
	transition: color 0.2s ease;
}

.card-text:hover {
	color: #0056b3;
	text-decoration: underline;
}

@media (max-width: 768px) {
	.news-item {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media (max-width: 576px) {
	.news-item {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.related-blog__wrapper {
	position: relative;
}

.related-prev,
.related-next {
	/* width: 36px;
    height: 36px; */
	border-radius: 50%;
	background-color: white;
	border: none;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	font-size: 22px;
	z-index: 10;
	top: 50%;
	transform: translateY(-50%);
	position: absolute;
	opacity: 0.85;
	transition: 0.3s;
}

.related-prev:hover,
.related-next:hover {
	opacity: 1;
}

.related-prev {
	top: 45%;
	left: -20px;
	/* Ã‚m ra ngoÃ i trÃ¡i */
}

.related-next {
	top: 45%;
	right: -20px;
	/* Ã‚m ra ngoÃ i pháº£i */
}


/* =========  FLOATING ========= */
.floating-sidebar-buttons {
	position: fixed;
	bottom: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 9999;
}

.floating-left {
	left: 20px;
}

.floating-right {
	right: 20px;
}

.floating-btn {
	width: 50px;
	height: 50px;
	background-color: #25D366;
	color: white;
	border-radius: 50%;
	text-align: center;
	line-height: 50px;
	font-size: 22px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.floating-right .floating-btn {
	border-radius: 10px;
	background: none;
}

.floating-btn:hover {
	transform: scale(1.1);
	opacity: 0.9;
}

.floating-btn.youtube {
	background-color: #FF0000;
}

.floating-btn.facebook {
	background-color: #1877F2;
}
/*  is valid  */
.is-invalid {
    border-color: red;
}
.is-valid {
    border-color: green;
}
label.error {
    color: red;
    font-size: 0.875em;
    margin-top: 5px;
}
.footer-logo img{
  width: 190px;
  height: 70px;
  object-fit: cover;
}
/* page header  */
.page-title {
  font-size: 32px;
  line-height: 1.4;
  font-weight: 700;
  color: #1a1a1a;
  font-family: 'Segoe UI';
  margin-bottom: 16px;
}
.page-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #007bff;
  margin: 8px auto 0;
  border-radius: 2px;
}
/* extra  */
.product-detail--description table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
}

.product-detail--description table th,
.product-detail--description table td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: left;
}
