* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f9f8f3;
  color: #333;
  line-height: 1.7;
}

header {
  background: #2d5a27;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 5%;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 1rem;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

nav a:hover, nav a.active {
  background: #1b3818;
  color: #d4e157;
}

.lang-dropdown {
  padding: 0.38rem 0.6rem;
  border-radius: 4px;
  border: 1px solid #d4e157;
  background-color: #1b3818;
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin-left: 1rem;
}

.lang-dropdown option {
  background-color: #2d5a27;
  color: white;
}

/* Hero Section with Local Banner Image (Supports both hero-banner.jpg.jpeg and hero-banner.jpg) */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero-banner.jpg.jpeg'), url('hero-banner.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 5rem 1rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.container {
  max-width: 1050px;
  margin: 2rem auto;
  padding: 0 1rem;
}

h2 {
  color: #2d5a27;
  margin-bottom: 1.2rem;
  text-align: center;
}

h3 {
  color: #2d5a27;
  margin: 0 0 0.8rem 0;
}

h4 {
  color: #444;
  margin: 1.2rem 0 0.5rem 0;
}

.subtitle {
  text-align: center;
  margin-bottom: 2rem;
  color: #666;
}

.article-container {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.article-content p {
  margin-bottom: 1.1rem;
  text-align: justify;
}

.article-list {
  margin-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.article-list li {
  margin-bottom: 0.6rem;
}

.table-responsive {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.data-table th, .data-table td {
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  text-align: left;
}

.data-table th {
  background-color: #2d5a27;
  color: white;
}

.data-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.highlight-row {
  background-color: #e8f5e9 !important;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card, .order-box {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Single Product Showcase Grid */
.product-showcase-container {
  max-width: 900px;
  margin: 0 auto;
}

.product-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
}

@media (max-width: 768px) {
  .product-card-grid {
    grid-template-columns: 1fr;
  }
}

.product-image-box {
  text-align: center;
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
}

.product-image-box img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 6px;
}

.product-description {
  color: #555;
  margin-bottom: 1rem;
}

.pricing-list {
  list-style: none;
  margin: 1.2rem 0;
  padding: 0;
}

.pricing-list li {
  font-size: 1.15rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #ddd;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: #2d5a27;
  color: white;
}

.btn-primary:hover {
  background: #1b3818;
}

.btn-secondary {
  background: #880e4f;
  color: white;
  width: 100%;
}

.btn-secondary:hover {
  background: #560027;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.total-display {
  font-size: 1.2rem;
  background: #e8f5e9;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid #eee;
}

/* Gallery Styles */
.gallery-section {
  margin-top: 3rem;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.gallery-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

.gallery-card:hover {
  transform: translateY(-4px);
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.img-caption {
  padding: 0.8rem;
  font-weight: 600;
  color: #2d5a27;
  font-size: 0.95rem;
}

/* Payment Modal */
.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1rem;
}

.payment-card {
  background: white;
  padding: 1.8rem;
  border-radius: 8px;
  max-width: 450px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.bank-details-box {
  background: #f1f8e9;
  border: 1px solid #c8e6c9;
  border-radius: 6px;
  padding: 1rem;
  margin: 1rem 0;
  text-align: left;
  font-size: 0.9rem;
}

.bank-details-box h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #2d5a27;
  font-size: 1rem;
}

.bank-details-box p {
  margin-bottom: 0.3rem;
}

.copyable {
  font-weight: bold;
  color: #1b3818;
  background: #e8f5e9;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
}

.qr-container {
  margin: 0.8rem auto;
  background: #f8f9fa;
  padding: 0.8rem;
  border-radius: 8px;
  display: inline-block;
}

.qr-container img {
  width: 160px;
  height: 160px;
  display: block;
  margin: 0 auto;
}

.qr-instruction {
  font-size: 0.82rem;
  color: #666;
  margin-top: 0.4rem;
}

.mobile-pay-links {
  margin: 0.8rem 0;
}

.payment-confirm-action {
  margin-top: 1rem;
}

/* Tracking Page Timeline */
.tracking-search-box {
  max-width: 600px;
  margin: 0 auto;
}

.track-result-box {
  max-width: 700px;
  margin: 2rem auto;
}

.status-badge {
  background: #2d5a27;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: bold;
}

.timeline {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  position: relative;
}

.step {
  text-align: center;
  flex: 1;
  opacity: 0.4;
}

.step.active {
  opacity: 1;
}

.step .circle {
  width: 35px;
  height: 35px;
  background: #ccc;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem auto;
  font-weight: bold;
}

.step.active .circle {
  background: #2d5a27;
}

.step p {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Social & Contact Buttons */
.social-links, .direct-call-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-btn {
  display: block;
  padding: 0.75rem;
  text-decoration: none;
  color: white;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
  transition: opacity 0.2s;
}

.social-btn:hover {
  opacity: 0.9;
}

.wa { background: #25d366; }
.insta { background: #e1306c; }
.fb { background: #1877f2; }
.x-twitter { background: #000000; }
.yt { background: #ff0000; }
.social-btn.call { background: #2d5a27; }

footer {
  text-align: center;
  padding: 1.5rem;
  background: #111;
  color: #aaa;
  margin-top: 3rem;
}