:root {
  --primary: #556B2F;
  --accent: #C5A54A;
  --dark: #1E1E1E;
  --light: #F5F5F2;
  --text: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

html, body {
  height: 100%;
}

main {
  flex: 1;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  margin-bottom: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 30px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-home-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 30px;
}

.nav-home-icon svg {
  display: block;
}

/* UI-31 – Header right: CTA + language dropdown */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 30px;
}

.lang-dropdown {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  color: var(--dark);
}

.lang-toggle:hover {
  border-color: #8a9c70;
}

.lang-toggle,
.lang-toggle .lang-label {
  color: var(--dark) !important;
}

.lang-toggle .lang-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: max-content;
  min-width: 140px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  padding: 8px 0;
  margin-top: 10px;
  border: 1px solid #eaeaea;
  display: none;
  z-index: 100;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: background 0.2s ease;
}

.lang-item:hover {
  background: #f4f6f2;
}

.lang-item .lang-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
}

.lang-dropdown.active .lang-menu {
  display: block;
}

/* UI-30 – Header CTA button */
.header-cta {
  background: #4a5a3a;
  color: white !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.header-cta:hover {
  background: #38462c;
  color: white !important;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 1080px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: 60px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  margin-top: 0;
  color: rgba(255,255,255,0.95);
}

.hero .hero-content a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero .hero-content a:hover {
  color: #c5e0b0;
}

.hero .hero-content a.btn-primary {
  text-decoration: none;
}

/* UI-17 – enforce white button text globally */
button,
.btn,
.btn-primary {
  color: #ffffff !important;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: var(--accent);
}

.section {
  padding: 80px 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  padding: 40px 30px;
  border: 1px solid #e5e5e5;
  transition: 0.3s ease;
  text-align: center;
  font-weight: 500;
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
}

.card a {
  color: inherit;
  text-decoration: none;
}

.commodity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.commodity-card {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.commodity-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.commodity-card h3 {
  padding: 20px;
  font-size: 18px;
  text-align: center;
  color: #2f4f2f;
}

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

.grid.commodity-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.commodity-category {
  margin-top: 80px;
}

.commodity-category h2 {
  font-size: 26px;
  margin-bottom: 30px;
  color: #2f4f2f;
  text-align: center;
}

.commodity-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 4px;
}

.commodity-card h2 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 10px;
  text-align: left;
}

.commodity-card p {
  font-weight: 400;
  color: var(--text);
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
}

.card-link {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 500;
}

.section-intro {
  text-align: center;
  margin-bottom: 40px;
  color: #666;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.commodity-page-section h2 {
  text-align: left;
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.commodity-page-section ul {
  margin-left: 20px;
  margin-bottom: 25px;
}

.stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
  padding: 60px 0;
  background: white;
}

.stat h3 {
  font-size: 32px;
  color: var(--primary);
}

.stat p {
  margin-top: 10px;
  color: #666;
}

.footer {
  background: #0e0e0e;
  color: #bbb;
  padding: 90px 0 40px 0;
  margin-top: 100px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer h3 {
  color: #ffffff;
  margin-bottom: 25px;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.footer p,
.footer a {
  font-size: 14px;
  color: #aaa;
  text-decoration: none;
  line-height: 1.9;
}

.footer a:hover {
  color: var(--accent);
}

.footer-logo img {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 25px;
}

.footer-divider {
  height: 1px;
  background: #222;
  margin: 50px 0 30px 0;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #777;
}

.footer-bottom span {
  color: #999;
}

/* WhatsApp float: fixed at viewport, outside stacking contexts; guard against flicker on scroll */
.whatsapp-float {
position: fixed !important;
bottom: 22px !important;
right: 22px !important;
z-index: 99999 !important;
background: transparent !important;
padding: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
display: block !important;
visibility: visible !important;
opacity: 1 !important;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 16px !important;
    right: 16px !important;
  }
  .whatsapp-float img {
    width: 56px !important;
    height: 56px !important;
  }
}

/* RFQ form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  margin-top: 40px;
  max-width: 800px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-group label span {
  color: #c00;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #c00;
}

.form-error {
  font-size: 13px;
  color: #c00;
  margin-top: 6px;
  min-height: 18px;
}

/* Old 768px navbar block removed – replaced by responsive-header rules at bottom of file */

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* UI-18/UI-19 – Trade Process enterprise page */
.trade-process {
  max-width: 1150px;
  margin: 0 auto;
  padding: 80px 20px 60px 20px;
  background: none;
}

.trade-process h1 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #4a5a3a;
}

.trade-process .intro {
  font-size: 18px;
  line-height: 1.8;
  max-width: 850px;
  margin-bottom: 60px;
  color: #555;
}

.trade-process .divider {
  height: 1px;
  background: #e6e6e6;
  margin: 60px 0;
}

.process-section {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 80px;
  border: none;
  padding: 0;
}

.process-section:last-child {
  margin-bottom: 0;
}

.process-section-icon {
  flex-shrink: 0;
  min-width: 60px;
}

.process-section-icon svg,
.process-section svg {
  min-width: 60px;
  margin-top: 5px;
  display: block;
}

.process-section-content h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #4a5a3a;
}

.process-section-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

@media (max-width: 768px) {
  .process-section {
    flex-direction: column;
  }

  .process-section-icon svg,
  .process-section svg {
    margin-bottom: 15px;
  }
}

/* UI-20 – About page enterprise layout */
.enterprise-page.about-page {
  max-width: 1150px;
  margin: 0 auto;
  padding: 80px 20px 60px 20px;
}

.about-page h1 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #4a5a3a;
}

.about-page .about-intro {
  font-size: 18px;
  line-height: 1.8;
  max-width: 850px;
  margin-bottom: 0;
  color: #555;
}

.enterprise-divider {
  height: 1px;
  background: #e6e6e6;
  margin: 60px 0;
}

.enterprise-section {
  margin-bottom: 75px;
}

.enterprise-section:last-child {
  margin-bottom: 0;
}

.enterprise-section h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #4a5a3a;
}

.enterprise-section p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 850px;
  color: #555;
}

/* UI-21 – Compliance page enterprise layout */
.enterprise-page.compliance-page {
  max-width: 1150px;
  margin: 0 auto;
  padding: 80px 20px 60px 20px;
}

.compliance-page h1 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #4a5a3a;
}

.compliance-page .intro {
  font-size: 18px;
  line-height: 1.8;
  max-width: 850px;
  margin-bottom: 60px;
  color: #555;
}

.compliance-page .enterprise-section {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 75px;
}

.compliance-page .enterprise-section:last-of-type {
  margin-bottom: 0;
}

.compliance-page .enterprise-section-icon {
  flex-shrink: 0;
  min-width: 60px;
}

.compliance-page .enterprise-section-icon svg {
  width: 60px;
  height: 60px;
  margin-top: 5px;
  display: block;
}

.compliance-page .enterprise-section-content {
  flex: 1;
  min-width: 0;
}

.compliance-page .compliance-closing {
  font-size: 16px;
  line-height: 1.8;
  max-width: 850px;
  color: #555;
  margin-top: 60px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .compliance-page .enterprise-section {
    flex-direction: column;
  }

  .compliance-page .enterprise-section-icon svg {
    margin-bottom: 15px;
  }
}

/* UI-22 – Commodities page institutional layout */
.enterprise-page.commodities-page {
  max-width: 1150px;
  margin: 0 auto;
  padding: 80px 20px 60px 20px;
}

.commodities-page h1 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #4a5a3a;
}

.commodities-page .intro {
  font-size: 18px;
  line-height: 1.8;
  max-width: 850px;
  margin-bottom: 70px;
  color: #555;
}

.commodities-page .portfolio-section {
  margin-bottom: 100px;
}

.commodities-page .portfolio-section:last-of-type {
  margin-bottom: 0;
}

.portfolio-section h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #4a5a3a;
}

.category-description {
  font-size: 16px;
  line-height: 1.7;
  max-width: 800px;
  margin-bottom: 40px;
  color: #666;
}

.commodities-page .commodity-grid {
  gap: 30px;
  margin-bottom: 60px;
  margin-top: 0;
}

.commodities-page .commodity-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  transition: all 0.25s ease;
  box-shadow: none;
}

.commodities-page .commodity-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

.commodities-page .commodity-card img,
.commodities-page .commodity-card .commodity-card-img {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.commodities-page .commodity-card h2,
.commodities-page .commodity-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #4a5a3a;
}

.commodities-page .commodity-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.commodities-page .btn-primary,
.btn-primary {
  background: #4a5a3a;
  color: #ffffff;
  border-radius: 4px;
  padding: 10px 18px;
  font-weight: 500;
}

.commodities-page .btn-primary:hover,
.btn-primary:hover {
  background: #3f4d32;
  color: #ffffff;
}

.commodities-page .portfolio-cta {
  margin-top: 0;
}

.commodities-page .portfolio-cta h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #4a5a3a;
}

.commodities-page .portfolio-cta p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 850px;
  color: #555;
  margin-bottom: 1em;
}

.commodities-page .cta-button-wrap {
  margin-top: 24px;
  margin-bottom: 0;
  text-align: center;
}

/* UI-23 – Industrial & Minerals grid and card alignment */
.commodity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .commodity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .commodity-grid {
    grid-template-columns: 1fr;
  }
}

.commodity-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.commodity-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.commodity-card .card-actions {
  margin-top: auto;
}

.commodity-card img,
.commodity-card .commodity-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.commodities-page .portfolio-section {
  margin-bottom: 100px;
}

/* UI-24 / UI-25 – RFQ page enterprise and modern two-column layout */
.enterprise-page.rfq-page {
  max-width: 1150px;
  margin: 0 auto;
  padding: 80px 20px 100px 20px;
  background: transparent;
}

.rfq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.rfq-qr img {
  width: 110px;
  height: 110px;
}

.rfq-page h1 {
  font-size: 40px;
  font-weight: 600;
  margin: 0 0 20px 0;
  color: #4a5a3a;
}

.rfq-page .intro {
  font-size: 18px;
  line-height: 1.8;
  max-width: 850px;
  margin-bottom: 60px;
  color: #555;
}

.rfq-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.rfq-info h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #4a5a3a;
}

.rfq-info p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #555;
}

.rfq-info ul {
  list-style: none;
  padding: 0;
}

.rfq-info li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
}

.rfq-info li::before {
  content: "— ";
  color: #4a5a3a;
}

.rfq-modern-card {
  background: #ffffff;
  padding: 32px 36px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
}

.rfq-page .form-grid,
.contact-page .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin-bottom: 0;
}

.rfq-page .form-grid > input[type="hidden"] {
  grid-column: 1 / -1;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: none;
}

.full-width {
  grid-column: 1 / -1;
}

.rfq-page .form-group,
.contact-page .form-group {
  margin-bottom: 0;
}

.rfq-page label,
.rfq-modern-card label,
.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
  color: #333;
}

.rfq-modern-card input,
.rfq-modern-card select,
.rfq-modern-card textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #e2e2e2;
  background: #fafafa;
  transition: all 0.2s ease;
  font-size: 15px;
  box-sizing: border-box;
}

.rfq-modern-card input:focus,
.rfq-modern-card select:focus,
.rfq-modern-card textarea:focus {
  background: #ffffff;
  border-color: #4a5a3a;
  box-shadow: 0 0 0 3px rgba(74, 90, 58, 0.08);
  outline: none;
}

.rfq-submit {
  margin-top: 6px;
  width: 100%;
  padding: 12px 16px;
  background: #4a5a3a;
  color: #ffffff;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rfq-submit:hover {
  background: #3f4d32;
  transform: translateY(-2px);
}

.rfq-submit:disabled {
  cursor: not-allowed;
  transform: none;
}

.rfq-submit.is-loading {
  pointer-events: none;
  opacity: 0.9;
}

.rfq-form-wrapper.rfq-form-loading .rfq-modern-card {
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* RFQ success – full-viewport centered confirmation screen */
.enterprise-page.rfq-page.rfq-success-state {
  padding: 0;
  max-width: none;
}

.rfq-success-viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: calc(100vh - 90px);
  padding: 40px 20px 60px;
  box-sizing: border-box;
}

.rfq-success-card {
  width: 100%;
  max-width: 640px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(74, 90, 58, 0.08);
}

.rfq-success-block {
  text-align: center;
  padding: 48px 40px 56px;
  margin: 0 auto;
}

.rfq-success-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}

.rfq-success-icon svg {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.rfq-success-title {
  font-size: 26px;
  font-weight: 600;
  color: #4a5a3a;
  margin: 0 0 24px;
  line-height: 1.3;
}

.rfq-success-message {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

.rfq-success-message p {
  margin: 0 0 16px;
}

.rfq-success-message p:last-child {
  margin-bottom: 0;
}

.rfq-success-message a {
  color: #4a5a3a;
  font-weight: 500;
  text-decoration: underline;
}

.rfq-success-message a:hover {
  color: #3f4d32;
}

/* Loading spinner */
.rfq-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: rfq-spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 10px;
}

@keyframes rfq-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 992px) {
  .rfq-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .rfq-page .form-grid,
  .contact-page .form-grid,
  .rfq-modern-card .form-grid {
    grid-template-columns: 1fr !important;
  }

  .rfq-modern-card {
    padding: 24px 20px;
  }

  .rfq-submit {
    width: 100%;
  }

  .rfq-success-viewport {
    min-height: calc(100vh - 80px);
    padding: 30px 16px 50px;
  }

  .rfq-success-card {
    max-width: 100%;
  }

  .rfq-success-block {
    padding: 36px 24px 44px;
  }

  .rfq-success-icon {
    margin-bottom: 24px;
  }

  .rfq-success-icon svg {
    width: 56px;
    height: 56px;
  }

  .rfq-success-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .rfq-success-message {
    font-size: 15px;
  }
}

/* Contact page – same enterprise container and card style */
.enterprise-page.contact-page {
  max-width: 1150px;
  margin: 0 auto;
  padding: 80px 20px 80px 20px;
}

.contact-page h1 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #4a5a3a;
}

.contact-page .intro {
  font-size: 18px;
  line-height: 1.8;
  max-width: 850px;
  margin-bottom: 60px;
  color: #555;
}

.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.office-card {
  display: flex;
  flex-direction: column;
}

.office-image {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
}

.office-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.office-address p {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.office-contact {
  margin-top: 25px;
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 10px;
}

.office-contact p {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.office-contact p:last-child {
  margin-bottom: 0;
}

.office-contact a {
  color: #4a5a3a;
  text-decoration: none;
  font-weight: 500;
}

.office-contact a:hover {
  text-decoration: underline;
}

.save-contact-section {
  margin: 20px 0 25px 0;
  padding: 15px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 10px;
}

.save-contact-inner {
  display: flex;
  align-items: center;
  gap: 15px;
}

.save-contact-inner img {
  width: 90px;
  height: 90px;
}

.save-contact-text span {
  display: block;
  font-size: 13px;
  opacity: 0.7;
}

.contact-form-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rfq-card {
  margin-top: 25px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  padding: 25px;
  text-align: center;
}

.rfq-card img {
  width: 110px;
  height: 110px;
  margin-top: 15px;
}

.rfq-card p {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.75;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .office-image img {
    height: 200px;
  }
  .rfq-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .rfq-qr {
    margin-top: 15px;
  }
}

.divider {
  height: 1px;
  background: #e5e5e5;
  margin: 15px 0 25px 0;
}

.office-card h3 {
  font-size: 24px;
  margin: 0 0 0 0;
  color: #4a5a3a;
}

.map-section {
  margin-top: 70px;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 450px;
}

.map-action {
  text-align: center;
  margin-top: 20px;
}

.map-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #3f5e2c;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.map-button:hover {
  background-color: #2f4721;
}

.contact-form-response {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 15px;
}

.contact-form-response.contact-error {
  background: #fff5f5;
  color: #c00;
}

.contact-success {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  padding: 20px 0;
}

/* UI-27 / UI-28 / UI-29 – Commodity detail: hero banner flush under header, content */
.enterprise-page.commodity-detail-page {
  padding: 0;
}

.commodity-hero-banner {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  margin-top: 0;
}

.commodity-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.55)
  );
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  color: white;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.8;
  max-width: 650px;
}

.commodity-content.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
}

.commodity-section {
  margin-bottom: 50px;
}

.commodity-section:last-child {
  margin-bottom: 0;
}

.commodity-section h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #4a5a3a;
}

.commodity-section p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.spec-item {
  background: #f8f9f7;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
}

.spec-label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: #4a5a3a;
}

.spec-value {
  color: #555;
  font-size: 15px;
}

.commodity-cta {
  margin-top: 100px;
  background: #4a5a3a;
  color: white;
  padding: 60px 40px;
  border-radius: 0;
  text-align: center;
}

.commodity-cta h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.commodity-cta p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  opacity: 0.9;
}

.commodity-cta .primary-btn {
  display: inline-block;
  background: white;
  color: #4a5a3a;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 25px;
  transition: all 0.2s ease;
}

.commodity-cta .primary-btn:hover {
  background: #f0f0f0;
  color: #4a5a3a;
}

.commodity-cta a:not(.primary-btn) {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.commodity-cta a:not(.primary-btn):hover {
  color: #c5e0b0;
}

/* Remove gap between commodity CTA and footer on commodity detail pages */
main:has(.commodity-cta) + .footer {
  margin-top: 0;
}

@media (max-width: 992px) {
  .commodity-hero-banner {
    height: 400px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }
}
/* ── Contact Form Success State ── */
.contact-success-viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 400px;
  padding: 40px 20px;
  box-sizing: border-box;
}

.contact-success-card {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.contact-success-block {
  text-align: center;
  padding: 48px 40px 56px;
  margin: 0 auto;
}

.contact-success-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}

.contact-success-icon svg {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.contact-success-title {
  font-size: 26px;
  font-weight: 600;
  color: #4a5a3a;
  margin: 0 0 24px;
  line-height: 1.3;
}

.contact-success-message {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

.contact-success-message p {
  margin: 0 0 16px;
}

.contact-success-message p:last-child {
  margin-bottom: 0;
}

.contact-success-message a {
  color: #4a5a3a;
  text-decoration: underline;
}

.contact-form-response.contact-form-success {
  background: #f0faf0;
  color: #2d8a3e;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 15px;
  margin-bottom: 20px;
}/* ══════════════════════════════════════════════
   RESPONSIVE HEADER – Hamburger Menu
   ══════════════════════════════════════════════ */

/* Hamburger button – hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animate to X when active */
.nav-toggle-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Prevent body scroll when menu is open */
body.nav-menu-open {
  overflow: hidden;
}

/* ── Tablet: 992px ── */
@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
  }

  .navbar {
    flex-wrap: nowrap;
    position: relative;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 40px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1005;
    overflow-y: auto;
    gap: 0;
  }

  .nav-links.nav-open {
    right: 0;
  }

  .nav-links a {
    display: block;
    margin: 0;
    padding: 14px 0;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-links a:last-of-type {
    border-bottom: none;
  }

  .nav-links a:hover,
  .nav-links a:active {
    color: #4a5a3a;
  }

  .nav-links .nav-home-icon {
    margin-left: 0;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-links .header-right {
    margin-left: 0;
    margin-top: 16px;
    width: 100%;
  }

  .nav-links .header-cta {
    display: block;
    text-align: center;
    width: 100%;
    padding: 14px 22px;
    margin-left: 0;
    font-size: 15px;
    box-sizing: border-box;
  }

  /* Overlay behind the slide-out menu */
  .nav-links.nav-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
  }
}

/* ── Mobile: 768px ── */
@media (max-width: 768px) {
  .navbar {
    padding: 14px 0;
  }

  .logo img {
    height: 44px;
  }

  .nav-links {
    width: 260px;
    padding: 72px 24px 32px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 15px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-content {
    padding: 0 20px;
  }

  .stats {
    flex-direction: column;
    gap: 24px;
  }

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

  /* Homepage commodity cards – 2-col on mobile (image+title only) */
  .section .commodity-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .section .commodity-card h3 {
    font-size: 13px;
  }

  /* Commodities listing page – single column (cards have descriptions) */
  .commodities-page .commodity-grid,
  .grid.commodity-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
}

/* ── Small mobile: 480px ── */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

  .hero .btn-primary,
  .hero .hero-content a.btn-primary {
    font-size: 14px;
    padding: 12px 24px;
  }

  .section h2,
  .enterprise-page h1 {
    font-size: 26px;
  }

  /* Contact page grid */
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-card.office-card {
    order: 2;
  }

  .contact-form-column {
    order: 1;
  }
}
