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

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #14213d;
  background: #ffffff;
  box-sizing: border-box;
}

/* Navigation */
.nav-wrapper {
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 8px #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* Hamburger – hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  z-index: 1001;
}

.nav-toggle:hover {
  background: #f5f5f5;
  border-color: #14213d;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #14213d;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-logo {
  width: 120px;
  display: block;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #14213d;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  cursor: pointer;
}

.nav-links a:hover {
  color: #fca311;
}

.nav-overlay {
  display: none;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 85vw);
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    list-style: none;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  body.nav-open .nav-overlay {
    display: block;
    opacity: 1;
  }
}

/* Hero Section */
/* .hero {
  width: 100%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(3, 9, 124, 1.3)),
    url("assets/mexosh.png");
  color: #ffffff;
  padding: 6rem 2rem;
  text-align: center;
} */

.hero {
  width: 100%;
  background: linear-gradient(135deg, #0f3d2e 60%, #c9a227);
  color: #ffffff;
  padding: 6rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.cta-button {
  background: #fca311;
  color: #14213d;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  opacity: 1 !important;
  transform: translateY(0) !important;
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px;
}

/* Page Container */
.page-container {
  width: 100%;
  min-height: 50%;
}

.page {
  display: none;
  width: 100%;
}

.page.active {
  display: block;
}

.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-size: 2.5rem;
  color: #14213d;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.8rem;
  color: #14213d;
  margin: 2.5rem 0 1.5rem;
  font-weight: 600;
}

/* Grid Layouts */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #14213d;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px #938484;
  border-left: 4px solid #fca311;
}

.card h3 {
  color: #14213d;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.card p {
  color: #000;
  line-height: 1.7;
}

/* Service Icons */
.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

/* Product Showcase */
.product-highlight {
  background: linear-gradient(135deg, #e5e5e5 100%, #e5e5e5 100%);
  padding: 3rem;
  border-radius: 16px;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 24px 8px 24px #e5e5e5;
}

.product-highlight h3 {
  color: #14213d;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
}

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: start;
  gap: 1rem;
}

.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

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

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

.form-group label {
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #14213d;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-button {
  background: #fca311;
  color: #14213d;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-button:hover {
  background: #fca311;
  box-shadow: 0 8px 20px;
  transform: rotate(360);
}

.submit-button:disabled {
  background: #cccccc;
  cursor: not-allowed;
}

/* Footer */
footer {
  width: 100%;
  background: linear-gradient(135deg, #0f3d2e, #1b5e20, #2e7d32);

  color: #fff;
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-content p {
  opacity: 0.8;
  margin-bottom: 1rem;
}

/* Success Message */
.success-message {
  display: none;
  background: #1b5e20;
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.success-message.show {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

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

/* Page fade effect */
.page {
  transition: opacity 0.3s ease-in-out;
}

/* Hero section and staggered content */
.hero {
  transition: opacity 0.5s ease-in-out;
}

#hero-title,
#hero-tagline,
.cta-button {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

/* CTA button hover effect (optional) */
.cta-button {
  transition:
    transform 0.2s ease,
    background 0.2s ease;
  cursor: pointer;
}

.cta-button:hover {
  transform: scale(1.05);
}

.services-section {
  padding: 5rem 2rem;
  background: #f8f9fa;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  color: #1b5e20; /* brand green */
}

.card h3 {
  margin-bottom: 1rem;
  color: #14213d;
}

.card p,
.card ul {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.card ul li {
  margin-bottom: 0.5rem;
}

.cta-wrapper {
  margin-top: 3rem;
}

.cta-button {
  background: #1b5e20;
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.cta-button:hover {
  background: #0f3d2e;
}

/* Why Choose Us list */
.why-choose-us .why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-choose-us .why-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #333;
  line-height: 1.6;
}

.why-choose-us .why-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1b5e20;
  font-weight: 700;
}

/* ========== Products Page ========== */
.products-page {
  padding-bottom: 4rem;
}

.section-lead {
  text-align: center;
  color: #555;
  font-size: 1.15rem;
  max-width: 560px;
  margin: -0.5rem auto 2.5rem;
  line-height: 1.6;
}

/* Featured product */
.product-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(145deg, #f8faf8 0%, #e8f0e8 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 61, 46, 0.08);
  margin-bottom: 3.5rem;
  border: 1px solid rgba(27, 94, 32, 0.1);
}

.product-featured-image {
  min-height: 320px;
  background: linear-gradient(135deg, #0f3d2e 0%, #1b5e20 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-featured-content {
  padding: 2.5rem 3rem;
}

.product-badge {
  display: inline-block;
  background: linear-gradient(135deg, #c9a227 0%, #b8860b 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.product-featured-title {
  font-size: 2rem;
  color: #14213d;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.product-featured-desc {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.product-features li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1b5e20;
  font-weight: 700;
  font-size: 1rem;
}

.cta-product {
  background: linear-gradient(135deg, #1b5e20 0%, #0f3d2e 100%);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 94, 32, 0.35);
}

.products-grid-title {
  margin-bottom: 1.5rem;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

@media (min-width: 900px) {
  .products-grid-four {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15, 61, 46, 0.12);
  border-color: rgba(27, 94, 32, 0.2);
}

.product-card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.product-placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-img-contract {
  background: linear-gradient(145deg, #1b5e20 0%, #0f3d2e 100%);
}

.product-img-import {
  background: linear-gradient(145deg, #0f3d2e 0%, #1b5e20 100%);
}

.product-img-freight {
  background: linear-gradient(145deg, #2e7d32 0%, #1b5e20 100%);
}

.product-img-agro {
  background: linear-gradient(145deg, #c9a227 0%, #b8860b 100%);
}

.product-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-size: 1.25rem;
  color: #14213d;
  margin-bottom: 0.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.product-card-body p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.product-card-cta {
  align-self: flex-start;
  background: transparent;
  color: #1b5e20;
  border: 2px solid #1b5e20;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.product-card-cta:hover {
  background: #1b5e20;
  color: #fff;
}

@media (max-width: 768px) {
  .product-featured {
    grid-template-columns: 1fr;
  }

  .product-featured-image {
    min-height: 260px;
  }

  .product-featured-content {
    padding: 2rem 1.5rem;
  }

  .product-featured-title {
    font-size: 1.65rem;
  }

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