.it-header-logo,
.it-header-logo-3 {
  padding: 10px 0;
}

.it-header-area {
  background: url("https://kotinochi.nineplus.com.vn/wp-content/themes/nineplus/assets/img/shape/funfact-3-bg.jpg");
}

.it-header-logo img,
.it-header-logo-3 img {
  height: 60px;
}

.it-funfact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.it-funfact-item {
  width: calc((100% - 30px) / 4);
}

.it-eco-wrap {
  display: flex;
  justify-content: center;
  align-content: center;
  margin-right: 0 !important;
}

.it-eco-wrap>span {
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

.it-eco-wrap .it-eco-item {
  width: calc((100% - 200px) / 5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 15px;
  padding: 20px 10px;
  background-color: var(--it-gray-3);
  border-radius: 20px 0 20px 0;
  font-size: 16px;
  font-weight: 500;
  color: #000;
}

.it-eco-wrap .it-eco-item .it-eco-img {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.it-value-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.it-value-item {
  display: flex;
  align-items: center;
  gap: 20px;
  width: calc((100% - 30px) / 2);
  padding: 15px;
  background: var(--it-gray-3);

  /* Hiệu ứng làm mờ phần nền phía sau */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* Đổ bóng mềm mại */
  box-shadow: 0 2px 10.3px rgba(0, 0, 0, .07);

  /* Bo góc */
  border-radius: 10px;

  /* Viền nhẹ (tùy chọn) */
  border: 1px solid rgba(255, 255, 255, 0.18);

  /* Padding cho nội dung */
  padding: 20px;
}

.it-value-img {
  width: 150px;
}

.it-value-inner {
  width: calc(100% - 170px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.it-value-title {
  font-size: 20px;
  font-weight: 500;
  color: #000;
}

.it-about-area {
  background: url("../img/bg_about.png") no-repeat bottom center;
  background-size: 100% auto;
  position: relative;
}

.it-about-area:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, .6);
}

.it-about-area .container {
  position: relative;
}

.it-about-area .it-section-text {
  color: #000;
}

.it-about-area .it-step-wrap {
  margin: 0;
}

.it-about-area .it-role-title {
  font-size: 43px;
  font-weight: 500;
  margin-bottom: 30px;
  color: #000;
}

.it-about-area .it-step-item {
  align-items: center;
}

.it-about-area .it-step-title {
  margin-bottom: 0;
}

.it-investment-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  margin-top: 20px;
}

.list-industry {
  max-width: 1180px;
  margin: 0 auto;
}

.list-industry a {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 20px;
  text-align: center;
  min-height: 350px;
  box-shadow: 0 2px 10.3px rgba(0, 0, 0, .07);
}

.list-industry a:before {
  content: '';
  background-color: transparent;
  --background-overlay: '';
  background-image: linear-gradient(180deg, #FFFFFF 45%, #F2295B00 80%);
  transition: background 0.3s, border-radius .3s, opacity .3s;
  display: block;
  position: absolute;
  mix-blend-mode: initial;
  opacity: 1;
  border-radius: 20px;
  border-style: initial;
  border-color: initial;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.list-industry a:hover:before {
  background-color: transparent;
  --background-overlay: '';
  background-image: linear-gradient(180deg, #1B6A46 45%, #F2295B00 80%);
}

.list-industry .agriculture {
  background: url("../img/bg_agriculture.jpg") no-repeat bottom center;
  background-size: 100% auto;
}

.list-industry .rhino {
  background: url("../img/bg_rhino.jpg") no-repeat bottom center;
  background-size: 100% auto;
}

.list-industry .logistics {
  background: url("../img/bg_logistics.jpg") no-repeat bottom center;
  background-size: 100% auto;
}

.list-industry .corn {
  background: url("../img/bg_corn.jpg") no-repeat bottom center;
  background-size: 100% auto;
}

.list-industry .fert {
  background: url("../img/bg_fert.jpg") no-repeat bottom center;
  background-size: 100% auto;
}

.list-industry .chassis {
  background: url("../img/bg_rhino.jpg") no-repeat bottom center;
  background-size: auto 100%;
}

.list-industry .welcom-logo img {
  position: relative;
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 0.7rem;
  z-index: 2;
}

.list-industry .big-title {
  position: relative;
  font-size: 24px;
  line-height: calc(32/24);
  font-weight: bold;
  text-transform: uppercase;
  color: #1B6A46;
  z-index: 2;
  margin-bottom: 0.7rem;
  transition: color .3s;
}

.list-industry a:hover .big-title {
  color: #fff;
}

.list-industry .small-title {
  position: relative;
  font-size: 20px;
  font-weight: 300;
  color: #2A2A2A;
  line-height: calc(24/20);
  z-index: 2;
  transition: color .3s;
}

.list-industry a:hover .small-title {
  color: #fff;
}

.it-about-3-list-box p {
  font-size: 16px;
}

.video-block {
  position: relative;
  border-radius: 50px;
  overflow: hidden;
}

.video-bg {
  width: 100%;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 100, 120, 0.4);
}

.video-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.video-content h2 {
  position: absolute;
  color: #fff;
  bottom: 55px;
  left: 55px;
  text-align: left;
  margin: 0;
}

.play-btn {
  width: 80px;
  height: 80px;
  background: #9acd32;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  cursor: pointer;
  margin-bottom: 20px;
}

/* Popup */
.video-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-inner {
  position: relative;
  width: 80%;
  max-width: 900px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.popup-inner iframe {
  width: 100%;
  height: 500px;
}

.close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .it-funfact-item {
    width: calc((100% - 10px) / 2);
  }

  .it-about-area .it-section-text {
    padding-right: 0;
  }

  .it-about-3-thumb {
    margin-bottom: 30px;
  }

  .it-about-3-right {
    margin-top: 10px;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
}

/* LEFT GRID */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
}

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  background: #e5f2ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.feature-item p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* RIGHT IMAGE */
.about-image img {
  width: 100%;
  max-width: 450px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .about-image {
    text-align: center;
  }
}

.global {
  padding: 120px 0 0;
  background: #f5f7f6;
}

.container {
  width: 1200px;
  margin: auto;
}

.postbox-area .container {
  width: 1350px;
}

.global-wrap {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* LEFT */
.global-left {
  width: 30%;
}

.global-left h2 {
  color: #1c7c5c;
  margin-bottom: 20px;
}

.global-left ul {
  list-style: none;
  padding: 0;
}

.global-left li {
  margin-bottom: 10px;
  font-size: 18px;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  border: 2px solid #8dc63f;
  border-radius: 30px;
  color: #8dc63f;
  text-decoration: none;
}

/* RIGHT */
.global {
  background: #fff;
}

.global-map {
  position: relative;
  width: 70%;
}

.map-bg {
  width: 100%;
  opacity: 1;
}

.about-slider {
  margin-top: 50px;
  display: flex;
  overflow: hidden;
  width: 100%;
}

.about-slider-item {
  display: flex;
  gap: 0px;
}

.about-slider-item-inner {
  display: flex;
  gap: 10px;
  padding-right: 10px;
  flex-shrink: 0;
  animation: slider-scroll-left 45s linear infinite;
}

.about-slider-item-inner img {
  width: 350px;
  height: auto;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
}

.home-slider {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.home-slider-item {
  display: flex;
  gap: 0px;
}

.home-slider-item-inner {
  display: flex;
  gap: 10px;
  padding-right: 10px;
  flex-shrink: 0;
  animation: slider-scroll-left 30s linear infinite;
}

.home-slider-item-inner img {
  width: 180px;
  height: auto;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
}

@keyframes slider-scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100%));
  }
}

.it-breadcrumb-overlay {
	 position: relative;
	 padding-top: 85px;
	 padding-bottom: 85px;
	 background-repeat: no-repeat;
	 background-size: cover;
	 background-position: center;
}
 .it-breadcrumb-overlay::after {
	 position: absolute;
	 content: '';
	 top: 0;
	 left: 0;
	 height: 100%;
	 width: 100%;
	 z-index: -1;
	 background: rgba(9, 18, 22, 0.85);
}
 .it-breadcrumb-experience {
	 padding: 30px;
	 line-height: 0;
	 display: inline-block;
}
 .it-breadcrumb-experience i {
	 display: inline-block;
	 height: 118px;
	 width: 118px;
	 line-height: 118px;
	 text-align: center;
	 border-radius: 50%;
	 background-color: var(--it-theme-1);
}
 .it-breadcrumb-experience-text {
	 position: absolute;
	 top: 50%;
	 left: 0;
	 right: 0;
	 text-align: center;
	 transform: translateY(-50%);
}
 .it-breadcrumb-experience-text img {
	 animation: animationglob 6s cubic-bezier(1, 0.99, 0.03, 0.01) infinite;
}
 .it-breadcrumb-title {
	 font-weight: 600;
	 font-size: 34px;
	 line-height: 1.29;
	 text-transform: capitalize;
	 color: var(--it-common-white);
	 margin-bottom: 26px;
}
 .it-breadcrumb-list {
	 display: inline-block;
}
 .it-breadcrumb-list span {
	 color: var(--it-common-white);
}
 .it-breadcrumb-list span.dvdr {
	 margin: 0 10px;
	 color: var(--it-common-white);
}
 .it-breadcrumb-list i {
	 color: #fff;
	 font-style: normal;
}

.postbox-details-wrapper .it-sv-details-list h4 {
    font-size: 25px;
}

.it-footer-widget-text > p {
  display: flex;
  gap: 5px;
}

.about-text h5 {
  font-size: 20px !important;
  font-weight: bold;
  color: var(--it-common-green);
  display: block;
  margin-top: 15px !important;
}

/*----------------------------------------*/
/*  TABLET & LAPTOP NHỎ ( <= 1199px )
/*  Container đang bị cố định 1200px -> tràn ngang.
/*  Cho co giãn theo màn hình, desktop >=1200px giữ nguyên.
/*----------------------------------------*/
@media (max-width: 1199px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .postbox-area .container {
    width: 100%;
    max-width: 100%;
  }
}

/*----------------------------------------*/
/*  MOBILE ( <= 640px )
/*----------------------------------------*/
@media (max-width: 640px) {

  /* ---- Container: bỏ width cố định 1200px, cho co giãn ---- */
  .container,
  .postbox-area .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* ---- Chặn tràn ngang toàn trang ---- */
  body {
    overflow-x: hidden;
  }

  /* ---- Giảm padding dọc lớn của các section ---- */
  .it-about-area.pt-120 { padding-top: 60px; }
  .it-about-area.pb-120 { padding-bottom: 60px; }
  .it-about-3-area.pt-130 { padding-top: 60px; }
  .it-about-3-area.pb-120 { padding-bottom: 60px; }
  .it-features-area.pt-130 { padding-top: 60px; }
  .it-features-area.pb-60 { padding-bottom: 40px; }
  #album.pt-125 { padding-top: 60px; }
  #section5.pt-120 { padding-top: 60px; }
  #section6.pt-125 { padding-top: 60px; }
  #section6.pb-100 { padding-bottom: 60px; }

  /* ---- HERO ---- */
  .it-hero-area {
    padding-top: 90px;
    padding-bottom: 50px;
  }

  .it-hero-title.style-2 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 20px;
    text-align: center;
  }

  .it-hero-title.mb-120 {
    margin-bottom: 20px;
  }

  .it-hero-text p {
    font-size: 14px;
    line-height: 1.75;
    text-align: center;
  }

  .it-hero-thumb {
    margin-top: 30px;
    padding: 0;
  }

  /* ---- FUNFACT: 2 cột gọn ---- */
  .it-funfact-3-area {
    padding: 35px 0;
  }

  .it-funfact-inner {
    gap: 20px 10px;
  }

  .it-funfact-item {
    width: calc((100% - 10px) / 2);
    margin-bottom: 0;
  }

  .it-funfact-3-item {
    margin-bottom: 0;
  }

  .it-funfact-3-item span {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .it-funfact-3-number {
    font-size: 28px;
  }

  /* ---- ABOUT (section1) ---- */
  .it-about-area .col-lg-3 {
    margin-top: 25px;
  }

  .about-text h5 {
    margin-top: 12px !important;
  }

  .about-slider {
    margin-top: 30px;
  }

  .about-slider-item-inner {
    gap: 8px;
    padding-right: 8px;
  }

  .about-slider-item-inner img {
    width: 200px;
  }

  /* ---- THÀNH VIÊN (section2 / it-about-3) ---- */
  .it-about-3-area .shape-1 {
    display: none;
  }

  .it-about-3-thumb {
    margin-bottom: 20px;
  }

  .it-about-3-area .d-inline-flex {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
  }

  .it-about-3-area .d-inline-flex h2 {
    font-size: 20px;
    line-height: 1.3;
    margin: 0;
  }

  .it-about-3-area .it-step-number {
    flex-shrink: 0;
  }

  .it-about-3-list-box p {
    font-size: 15px;
    line-height: 1.7;
  }

  .it-about-3-area .row.mb-50 {
    margin-bottom: 30px;
  }

  /* Ảnh luôn nằm trên phần chữ ở các block đảo thứ tự */
  .it-about-3-area .row {
    flex-direction: column;
  }

  .it-about-3-area .row .it-about-3-thumb {
    order: -1;
  }

  /* ---- VIDEO ---- */
  .video-block {
    border-radius: 18px;
  }

  .play-btn {
    width: 60px;
    height: 60px;
    font-size: 22px;
    margin-bottom: 0;
  }

  .video-content h2 {
    font-size: 18px;
    bottom: 20px;
    left: 20px;
  }

  .popup-inner {
    width: 92%;
  }

  .popup-inner iframe {
    height: 240px;
  }

  /* ---- ĐẶC TRƯNG / FEATURES (section3) ---- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-image {
    text-align: center;
    order: -1;
  }

  .about-image img {
    max-width: 100%;
  }

  /* ---- ALBUM / TIN TỨC (blog) ---- */
  .it-blog-item {
    margin-bottom: 24px;
  }

  /* ---- TOÀN CẦU (section4 / global) ---- */
  .global {
    padding-top: 60px;
  }

  .global-wrap {
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
  }

  .global-left,
  .global-map {
    width: 100%;
  }

  .global-left {
    text-align: center;
  }

  .global-left ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
  }

  .global-left li {
    margin-bottom: 0;
    font-size: 16px;
  }

  /* ---- KHÁCH HÀNG & ĐỐI TÁC (section5 / home-slider) ---- */
  .home-slider-item-inner img {
    width: 130px;
  }

  /* ---- Tiêu đề section: canh giữa cho cân đối ---- */
  .it-about-3-section-title-box .it-section-title,
  .it-about-section-title-box {
    text-align: center;
  }

  /* ========== HEADER MOBILE ========== */

  /* Thanh top: gọn lại, chỉ còn email canh giữa */
  .it-header-top-area {
    padding: 8px 0;
  }

  .it-header-top-ptb {
    padding: 6px 0;
  }

  .it-header-top-contact a {
    font-size: 13px;
    word-break: break-word;
  }

  .it-header-top-contact span svg {
    width: 15px;
    height: 15px;
  }

  /* Header chính: dùng full width thay cho container-1650 cố định */
  .it-header-top-area .container-1650,
  .it-header-area .container-1650 {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .it-header-ptb {
    padding: 12px 0;
  }

  /* Logo nhỏ lại chút cho cân với hamburger */
  .it-header-logo img,
  .it-header-logo-3 img {
    height: 46px;
  }

  /* Nút hamburger: bỏ margin-left thừa, kích thước gọn */
  .it-header-bar button span {
    margin-left: 0;
    height: 44px;
    width: 44px;
    line-height: 42px;
  }

  /* Offcanvas: vừa màn hình nhỏ, không quá rộng */
  .itoffcanvas {
    width: 85%;
    max-width: 320px;
    padding: 30px 24px;
  }

  .itoffcanvas__logo {
    margin-bottom: 30px;
  }

  .itoffcanvas__logo img {
    width: 130px;
  }

  .itoffcanvas__text p {
    font-size: 14px;
    line-height: 1.6;
  }

  .itoffcanvas__close-btn button {
    right: 24px;
    top: 24px;
    font-size: 28px;
  }

  /* Khối "Get In Touch" trong offcanvas */
  .itoffcanvas__info .offcanva-title {
    font-size: 18px;
  }

  .itoffcanvas__info-address a {
    font-size: 14px;
    word-break: break-word;
  }

  /* ========== FOOTER MOBILE ========== */

  /* Giảm padding lớn của footer */
  .it-footer-wrap.pb-70 {
    padding-bottom: 30px;
  }

  .it-footer-area.pt-100 {
    padding-top: 50px;
  }

  .it-footer-area.pb-50 {
    padding-bottom: 20px;
  }

  /* Các cột footer stack đều, cách nhau gọn */
  .it-footer-area .row > [class*="col-"] {
    margin-bottom: 30px;
  }

  /* Logo footer nhỏ lại (thẻ có width="300") */
  .it-footer-widget-logo img {
    width: 200px;
    height: auto;
  }

  /* Dòng địa chỉ: icon không co lại, chữ xuống dòng gọn */
  .it-footer-widget-text > p {
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.6;
  }

  .it-footer-widget-text > p > span:first-child {
    flex-shrink: 0;
    line-height: 1.6;
  }

  .it-footer-widget-text > p > span:last-child {
    word-break: break-word;
  }

  .it-footer-widget-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .it-footer-widget-menu ul li:not(:last-child) {
    margin-bottom: 12px;
  }

  /* Copyright: xếp dọc, canh giữa (2 cột này thiếu class col-sm) */
  .it-copyright-wrap .row > [class*="col-"] {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  .it-copyright-left {
    margin-bottom: 12px;
  }

  .it-copyright-social {
    text-align: center;
  }

  .it-copyright-wrap {
    padding: 15px 18px;
  }

  /* ========== SINGLE POST MOBILE ========== */

  .postbox-item.pt-50 {
    padding-top: 30px;
  }

  .postbox-main-thumb.mb-40 {
    margin-bottom: 24px;
  }

  .postbox-main-thumb img {
    border-radius: 10px;
  }

  .postbox-content-box.mb-50 {
    margin-bottom: 30px;
  }

  /* Nội dung bài viết dễ đọc + chống tràn ngang */
  .postbox-content-box p,
  .postbox-content-box li {
    font-size: 15px;
    line-height: 1.75;
  }

  .postbox-content-box h1 { font-size: 24px; }
  .postbox-content-box h2 { font-size: 22px; }
  .postbox-content-box h3 { font-size: 20px; }
  .postbox-content-box h4 { font-size: 18px; }
  .postbox-content-box h5 { font-size: 16px; }

  /* Link/chữ dài không đẩy vỡ layout */
  .postbox-content-box a {
    word-break: break-word;
  }

  /* Ảnh trong bài luôn co vừa khung */
  .postbox-content-box img {
    height: auto;
    border-radius: 8px;
  }

  /* Video nhúng (YouTube...) responsive */
  .postbox-content-box iframe,
  .postbox-content-box video,
  .postbox-content-box embed,
  .postbox-content-box object {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 8px;
  }

  /* Bảng dài cuộn ngang trong khung riêng, không kéo vỡ trang */
  .postbox-content-box table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Khối code cuộn ngang thay vì tràn */
  .postbox-content-box pre {
    overflow-x: auto;
  }

  /* Trích dẫn gọn lại */
  .postbox-content-box blockquote {
    padding: 15px 20px;
    margin: 20px 0;
  }
}
