:root {
  --default-font: "Aptos", "Segoe UI", Arial, sans-serif;
  --heading-font: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --nav-font: "Aptos", "Segoe UI", Arial, sans-serif;
  --background-color: #f7f3eb;
  --default-color: #43544f;
  --heading-color: #193c35;
  --accent-color: #d85b3c;
  --surface-color: #fffdf8;
  --contrast-color: #fffdf8;
  --cf-forest: #193c35;
  --cf-moss: #527965;
  --cf-paprika: #d85b3c;
  --cf-saffron: #e4a33e;
  --cf-paper: #f7f3eb;
  --cf-cream: #fffdf8;
  --cf-ink: #1a2c28;
  --cf-line: rgba(25, 60, 53, 0.16);
}

body {
  background: var(--cf-paper);
  color: var(--default-color);
  letter-spacing: 0.01em;
}

body a {
  color: var(--cf-paprika);
}

body a:hover {
  color: var(--cf-forest);
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  color: var(--cf-forest);
  letter-spacing: -0.035em;
}

.header,
.header2 {
  --background-color: rgba(255, 253, 248, 0.93);
  --default-color: var(--cf-ink);
  --heading-color: var(--cf-forest);
  --nav-color: var(--cf-ink);
  --nav-hover-color: var(--cf-paprika);
  position: fixed;
  top: 14px;
  left: 20px;
  right: 20px;
  width: auto;
  padding: 10px 0;
  color: var(--cf-ink);
  background: var(--background-color);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(25, 60, 53, 0.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header .container-fluid,
.header2 .container-fluid {
  max-width: 1320px;
}

.header .logo img,
.header2 .logo img,
.scrolled .header .logo img,
.scrolled .header2 .logo img {
  max-height: 44px;
  margin-right: 12px;
  filter: none;
}

.header .navmenu > ul,
.header2 .navmenu > ul {
  gap: 5px;
}

.header .navmenu a,
.header2 .navmenu a {
  color: var(--cf-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header .navmenu a:hover,
.header .navmenu .active,
.header2 .navmenu a:hover,
.header2 .navmenu .active {
  color: var(--cf-paprika);
}

.header .navmenu ul li,
.header2 .navmenu ul li {
  white-space: nowrap;
}

.header .header-social-links,
.header2 .header-social-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header .header-social-links a,
.header2 .header-social-links a {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cf-forest) !important;
  background: #eee7d9;
  border: 1px solid rgba(25, 60, 53, 0.08);
  border-radius: 50%;
  font-size: 16px;
}

.header .header-social-links a:hover,
.header2 .header-social-links a:hover {
  color: var(--cf-cream) !important;
  background: var(--cf-paprika);
  transform: translateY(-2px);
}

.header .mobile-nav-toggle,
.header2 .mobile-nav-toggle {
  color: var(--cf-forest);
}

.scrolled .header,
.scrolled .header2 {
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 12px 30px rgba(25, 60, 53, 0.14);
}

.index-page .hero {
  min-height: min(900px, 94vh);
  background: var(--cf-forest);
}

.index-page .hero .video-background video {
  filter: saturate(0.78) contrast(1.08) brightness(0.82);
}

.index-page .hero .video-overlay {
  background: linear-gradient(90deg, rgba(13, 38, 32, 0.9) 0%, rgba(13, 38, 32, 0.64) 42%, rgba(13, 38, 32, 0.12) 100%);
}

.index-page .hero .hero-content {
  text-align: left;
}

.index-page .hero .hero-content .container::before {
  content: "CHANGFENGAGRO  /  SOURCE WITH CONFIDENCE";
  display: block;
  margin-bottom: 22px;
  color: #f6c56e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.index-page .hero .hero-content .row {
  justify-content: flex-start !important;
  text-align: left !important;
}

.index-page .hero h1 {
  max-width: 820px;
  margin-bottom: 24px;
  color: var(--cf-cream);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.index-page .hero p {
  max-width: 580px;
  margin-bottom: 34px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 18px;
  line-height: 1.7;
}

.index-page .hero .hero-buttons {
  justify-content: flex-start;
  gap: 12px;
}

.index-page .hero .hero-buttons .btn,
.contact .btn-primary,
.comment-form .btn-primary {
  min-width: 142px;
  padding: 14px 24px;
  border: 1px solid var(--cf-paprika);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.index-page .hero .hero-buttons .btn-primary,
.contact .btn-primary,
.comment-form .btn-primary {
  background: var(--cf-paprika);
}

.index-page .hero .hero-buttons .btn-primary:hover,
.contact .btn-primary:hover,
.comment-form .btn-primary:hover {
  background: #b9442c;
  border-color: #b9442c;
  transform: translateY(-2px);
}

.index-page .hero .hero-buttons .btn-outline {
  color: var(--cf-cream);
  border-color: rgba(255, 253, 248, 0.62);
}

.index-page .hero .hero-buttons .btn-outline:hover {
  color: var(--cf-forest);
  background: var(--cf-cream);
  border-color: var(--cf-cream);
}

.cf-proof-strip {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding: 0 0 28px;
}

.cf-proof-strip .container {
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) 2fr;
  gap: 28px;
  align-items: center;
  padding: 28px 34px;
  background: var(--cf-cream);
  border: 1px solid rgba(25, 60, 53, 0.1);
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(25, 60, 53, 0.12);
}

.cf-proof-intro {
  padding-right: 24px;
  border-right: 1px solid var(--cf-line);
}

.cf-proof-intro .eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--cf-paprika);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.cf-proof-intro strong {
  display: block;
  color: var(--cf-forest);
  font-size: 19px;
  line-height: 1.25;
}

.cf-proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cf-proof-stats strong,
.cf-proof-stats span {
  display: block;
}

.cf-proof-stats strong {
  color: var(--cf-forest);
  font-size: 28px;
  line-height: 1;
}

.cf-proof-stats span {
  margin-top: 7px;
  color: #718078;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 100px 0;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 44px;
}

.section-title h2 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1;
}

.section-title h2::before,
.section-title h2::after {
  display: none !important;
}

.section-title p {
  color: #6d7d75;
  font-size: 16px;
  line-height: 1.8;
}

.hotsale {
  background-color: var(--cf-paper) !important;
  background-image: none !important;
}

.hotsale .section-title {
  margin-left: max(12px, calc((100% - 1140px) / 2));
  margin-right: max(12px, calc((100% - 1140px) / 2));
  text-align: left;
}

.hotcard-flex {
  height: 460px;
  gap: 14px;
}

.hotcard {
  min-width: 0;
  border-radius: 22px;
  box-shadow: 0 16px 30px rgba(25, 60, 53, 0.13);
  filter: saturate(0.86);
}

.hotcard:hover,
.hotcard.active {
  filter: saturate(1.08);
}

.hotcard-title-overlay {
  min-height: 52%;
  padding: 24px;
  background: linear-gradient(to top, rgba(15, 40, 33, 0.94), transparent);
  text-align: left;
}

.hotcard-t {
  color: var(--cf-cream);
  font-size: 25px;
  letter-spacing: -0.04em;
}

.hotcard-t:hover {
  color: #f6c56e;
}

.hotcard-links {
  justify-content: flex-start;
  gap: 8px;
}

.hotcard-i {
  padding: 5px 9px;
  color: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(255, 253, 248, 0.34);
  border-radius: 999px;
  font-size: 11px;
}

.hotcard-i:hover {
  color: var(--cf-forest);
  background: var(--cf-cream);
}

.services-3,
.clients,
.recent-blog-posts,
.contact,
.products-list-2,
.blog-posts,
.blog-details,
.services-10 {
  background: var(--cf-cream);
}

.services-3 .services-showcase {
  margin-bottom: 5rem;
}

.services-3 .services-showcase .row {
  gap: 24px;
}

.services-3 .services-showcase .col-lg-6 {
  flex: 1 1 calc(50% - 12px);
  width: auto;
}

.services-3 .featured-service {
  height: 580px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(25, 60, 53, 0.16);
}

.services-3 .featured-service .service-image img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.services-3 .featured-service .service-overlay {
  background: linear-gradient(0deg, rgba(15, 40, 33, 0.94), rgba(15, 40, 33, 0.03) 74%);
}

.services-3 .overlay-content h3 {
  font-size: 34px;
}

.services-3 .services-list {
  height: 100%;
  padding: 20px 0 20px 28px;
}

.services-3 .service-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--cf-line);
}

.services-3 .service-item:first-child {
  padding-top: 0;
}

.services-3 .service-icon {
  width: 48px;
  height: 48px;
  color: var(--cf-paprika);
  background: #f8e2d7;
  border-radius: 15px;
}

.services-3 .service-content h4 {
  margin-bottom: 8px;
  font-size: 21px;
}

.services-3 .service-content p {
  color: #718078;
  line-height: 1.75;
}

.services-3 .service-card,
.team-3 .member,
.recent-blog-posts .post-item,
.products-list-2 .product-box,
.blog-posts article {
  overflow: hidden;
  background: var(--cf-cream);
  border: 1px solid rgba(25, 60, 53, 0.11);
  border-radius: 22px;
  box-shadow: none;
}

.services-3 .service-card .card-image img,
.recent-blog-posts .post-item .post-img img,
.blog-posts article .post-img img {
  transition: transform 0.5s ease;
}

.services-3 .service-card:hover .card-image img,
.recent-blog-posts .post-item:hover .post-img img,
.blog-posts article:hover .post-img img {
  transform: scale(1.05);
}

.services-3 .service-card .card-body {
  padding: 25px;
}

.services-3 .service-card .card-body h5 {
  font-size: 21px;
}

.services-3 .service-card .card-body p {
  color: #718078;
  line-height: 1.75;
}

.clients {
  border-top: 1px solid var(--cf-line);
  border-bottom: 1px solid var(--cf-line);
}

.clients .client-logo {
  min-height: 100px;
  padding: 22px;
  filter: grayscale(1);
  opacity: 0.56;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.clients .client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.recent-blog-posts .post-item,
.blog-posts article {
  height: 100%;
}

.recent-blog-posts .post-item .post-img img,
.blog-posts article .post-img img {
  width: 100%;
  object-fit: cover;
}

.recent-blog-posts .post-item .post-date,
.blog-posts article .post-date {
  top: 18px;
  left: 18px;
  right: auto;
  padding: 7px 11px;
  color: var(--cf-cream);
  background: var(--cf-paprika);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.recent-blog-posts .post-item .post-content,
.blog-posts article .post-content {
  padding: 24px;
}

.recent-blog-posts .post-item .post-title,
.blog-posts article .post-title {
  font-size: 21px;
  line-height: 1.25;
}

.recent-blog-posts .post-item .readmore,
.blog-posts article .readmore {
  color: var(--cf-paprika);
  font-weight: 800;
}

.page-title {
  min-height: 400px;
  padding-top: 170px;
  background-position: center;
}

.page-title::before {
  background: linear-gradient(90deg, rgba(15, 40, 33, 0.86), rgba(15, 40, 33, 0.2));
}

.page-title h1 {
  max-width: 800px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.07em;
}

.page-title .breadcrumbs ol li,
.page-title .breadcrumbs ol li a {
  color: rgba(255, 253, 248, 0.8);
}

.page-title .breadcrumbs ol li+li::before {
  color: #f6c56e;
}

.contact .info-item,
.contact .php-email-form,
.comment-form form,
.blog-author .author-container {
  background: var(--cf-paper);
  border: 1px solid var(--cf-line);
  border-radius: 22px;
}

.contact .info-item {
  padding: 28px;
}

.contact .info-item i {
  color: var(--cf-paprika);
  background: #f8e2d7;
  border-radius: 14px;
}

.contact .php-email-form input,
.contact .php-email-form textarea,
.comment-form form input,
.comment-form form textarea {
  background: var(--cf-cream);
  border: 1px solid var(--cf-line);
  border-radius: 12px;
}

.footer {
  background: var(--cf-forest);
}

.footer::before {
  background: linear-gradient(90deg, rgba(25, 60, 53, 0.95), rgba(25, 60, 53, 0.8));
}

.footer .footer-about .logo span,
.footer h4,
.footer h2,
.footer .footer-contact p,
.footer .copyright p {
  color: var(--cf-cream);
}

.footer .footer-links a,
.footer .footer-contact strong {
  color: rgba(255, 253, 248, 0.72);
}

.footer .footer-links a:hover {
  color: #f6c56e;
}

.footer .social-links a {
  color: var(--cf-forest);
  background: var(--cf-cream);
}

.footer .social-links a:hover {
  color: var(--cf-cream);
  background: var(--cf-paprika);
}

@media (max-width: 1199px) {
  .header,
  .header2 {
    left: 12px;
    right: 12px;
  }

  .header .navmenu,
  .header2 .navmenu {
    background: var(--cf-cream);
    border-radius: 18px;
  }

  .header .navmenu a,
  .header2 .navmenu a {
    color: var(--cf-forest);
  }

  .header .navmenu ul,
  .header2 .navmenu ul {
    padding: 18px;
  }
}

@media (max-width: 991px) {
  .index-page .hero .hero-content .container::before {
    margin-bottom: 16px;
    font-size: 9px;
    letter-spacing: 0.15em;
  }

  .index-page .hero h1 {
    max-width: 700px;
    font-size: clamp(2.8rem, 9vw, 5rem);
  }

  .index-page .hero p {
    font-size: 16px;
  }

  .cf-proof-strip {
    margin-top: -28px;
  }

  .cf-proof-strip .container {
    grid-template-columns: 1fr;
  }

  .cf-proof-intro {
    padding-right: 0;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--cf-line);
  }

  .services-3 .services-showcase .col-lg-6 {
    flex-basis: 100%;
  }

  .services-3 .services-list {
    padding: 12px 0 0;
  }
}

@media (max-width: 575px) {
  .header,
  .header2 {
    top: 8px;
    left: 8px;
    right: 8px;
    border-radius: 15px;
  }

  .header .logo img,
  .header2 .logo img,
  .scrolled .header .logo img,
  .scrolled .header2 .logo img {
    max-width: 190px;
    max-height: 36px;
  }

  .header .header-social-links,
  .header2 .header-social-links {
    display: none;
  }

  .index-page .hero {
    min-height: 760px;
  }

  .index-page .hero .video-overlay {
    background: linear-gradient(180deg, rgba(13, 38, 32, 0.68), rgba(13, 38, 32, 0.84));
  }

  .index-page .hero .hero-content,
  .index-page .hero .hero-content .row {
    text-align: center !important;
  }

  .index-page .hero .hero-content .row {
    justify-content: center !important;
  }

  .index-page .hero .hero-buttons {
    justify-content: center;
  }

  .index-page .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .index-page .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .cf-proof-strip .container {
    padding: 24px 20px;
  }

  .cf-proof-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
  }

  .section {
    padding: 72px 0;
  }

  .hotsale .section-title {
    margin-left: 12px;
    margin-right: 12px;
  }

  .hotcard-flex {
    height: 390px;
    gap: 8px;
  }

  .hotcard-title-overlay {
    padding: 16px;
  }

  .hotcard-t {
    font-size: 18px;
  }

  .services-3 .featured-service {
    height: 440px;
  }

  .services-3 .overlay-content h3 {
    font-size: 27px;
  }

  .page-title {
    min-height: 330px;
    padding-top: 135px;
  }
}
