/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html,body { height: 100%; }

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo img { height: 48px; width: auto; display:block; }

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  margin-left: 12px;
}
.hamburger:focus { outline: 2px solid rgba(34,197,94,0.25); border-radius: 6px; }
.hamburger .hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  margin: 4px 0;
  border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease;
}

/* when nav open, animate hamburger to X */
html.nav-open .hamburger .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
html.nav-open .hamburger .hamburger-line:nth-child(2) {
  opacity: 0;
}
html.nav-open .hamburger .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* nav normal */
nav { display:flex; gap: 26px; align-items:center; }
nav a { color:#333; text-decoration:none; font-weight:500; padding:6px 0; }
nav a.active { color:#22c55e; }
nav a:hover { color:#16a34a; }

/* HERO */
.hero {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 70px 48px;
  background: linear-gradient(135deg, #f9fdf9, #ecfdf5);
}

/* Left text column */
.hero-text {
  width: 48%;
}
.hero-text h1 { font-size: 2.6rem; margin-bottom: 16px; color: #22c55e; }
.hero-text p { font-size: 1.03rem; color:#444; margin-bottom: 12px; line-height:1.6; }
.hero-text ul { margin: 16px 0 22px; list-style:none; padding-left:0; }
.hero-text ul li { margin:8px 0; font-weight:500; }
.hero-text ul li::before { content:"✔ "; color:#22c55e; font-weight:700; }

.buttons { display:flex; gap:14px; margin-top:6px; }
.btn { text-decoration:none; padding:12px 22px; border-radius:8px; font-weight:700; transition:all .18s ease; display:inline-block; }
.btn.primary { background:#22c55e; color:#fff; }
.btn.primary:hover { background:#179548; }
.btn.secondary { background:#fff; border:2px solid #22c55e; color:#22c55e; }
.btn.secondary:hover { background:#22c55e; color:#fff; }

/* HERO CHIP (SVG container) */
.hero-chip {
  width: 52%;
  max-width: 680px;
  height: 420px;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(10,20,10,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  padding: 8px;
}

/* SVG styling via classes */
.chip {
  fill: #0d0d0d;
  stroke: #22c55e;
  stroke-width: 3;
  rx: 6;
  filter: drop-shadow(0 0 12px rgba(34,197,94,0.35));
}

.center-chip { stroke-width: 4; filter: drop-shadow(0 0 18px rgba(34,197,94,0.45)); }
.small-chip { width:120px; height:60px; }

.chip-icon-body, .chip-icon-body-large {
  fill: transparent;
  stroke: #bff5d0;
  stroke-width: 2;
}
.chip-icon-body-large { stroke-width: 2.5; }
.chip-icon-pin, .chip-icon-pin-large {
  fill: #bff5d0;
  stroke: none;
}
.chip-icon { pointer-events: none; }

.trace { fill:none; stroke:#22c55e; stroke-width:3; stroke-linejoin: round; stroke-linecap:round; opacity:0.95; }

.pad { fill:#ffd54a; stroke:#b78200; stroke-width:1; filter: drop-shadow(0 0 6px rgba(255,213,74,0.25)); }
.via { fill:#ffd54a; opacity:0.95; }

.signal { fill:#22c55e; stroke:none; filter: drop-shadow(0 0 10px rgba(34,197,94,0.65)); }
.signal.small { filter: drop-shadow(0 0 6px rgba(34,197,94,0.5)); }
.signal.tiny { filter: drop-shadow(0 0 4px rgba(34,197,94,0.5)); }

/* Products Section */
.products { padding: 70px 48px; background:#f9f9f9; text-align:center; }
.products-container h2 { font-size:2rem; color:#22c55e; margin-bottom:8px; }
.subtitle { color:#555; margin-bottom:30px; }
.products-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:24px; }
.card { background:#fff; border-radius:12px; padding:26px 18px; box-shadow: 0 6px 20px rgba(0,0,0,0.06); transition: transform .25s ease, box-shadow .25s ease; }
.card img { width:64px; margin-bottom:12px; }
.card h3 { color:#22c55e; margin-bottom:8px; }
.card p { color:#444; font-size:.95rem; }
.card:hover { transform: translateY(-8px); box-shadow: 0 10px 26px rgba(0,0,0,0.12); }

/* Why Choose Us */
.why-choose { padding:70px 48px; background:#fff; text-align:center; }
.choose-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:24px; margin-top:20px; }
.choose-card { background:#f9f9f9; border-radius:12px; padding:26px 18px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); transition: transform .25s ease;}
.choose-card img { width:64px; margin-bottom:12px; }
.choose-card h3 { color:#22c55e; margin-bottom:8px; }

/* Footer */
footer { background:#22c55e; color:#fff; padding:34px 48px 20px; margin-top:20px; }
.footer-container { display:flex; gap:30px; justify-content:space-between; flex-wrap:wrap; align-items:flex-start; }
.footer-col h3, .footer-col h4 { margin-bottom:8px; }
.footer-col p, .footer-col a, .footer-col li { color:#fff; text-decoration:none; font-size:.95rem; }
.footer-col ul { list-style:none; padding-left:0; }
.footer-bottom { text-align:center; border-top:1px solid rgba(255,255,255,0.18); padding-top:10px; margin-top:16px; font-size:.9rem; }

/* About Section */
.about-hero {
  background: url('https://via.placeholder.com/1200x400') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.about-hero p {
  font-size: 1.2rem;
}

/* About Sections */
.about-section {
  padding: 60px 20px;
  text-align: center;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.light-bg {
  background: #f7f7f7;
}

/* Team Grid */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.team-member {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 220px;
  text-align: center;
}

.team-member img {
  border-radius: 50%;
  margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .hero { flex-direction: column; padding:36px 20px; gap:20px; }
  .hero-text, .hero-chip { width: 100%; }
  .hero-chip { height: 360px; }
  header { padding:12px 20px; }
  /* show hamburger on mobile */
  .hamburger { display: inline-block; }
  /* hide regular nav on mobile (unless nav-open) */
  nav { display: none; position: fixed; top: 72px; right: 18px; left: 18px; background: rgba(255,255,255,0.98); padding: 18px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,0.12); flex-direction: column; gap: 12px; z-index: 1400; }
  html.nav-open nav { display: flex; }
  nav a { padding: 10px 8px; border-radius: 8px; }
  nav a.active { color:#22c55e; }
  nav a:hover { background: rgba(34,197,94,0.06); }
  nav { gap:14px; font-size:.95rem; }
  .products, .why-choose { padding:46px 20px; }
  footer { padding:30px 20px; }
}

/* accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hamburger .hamburger-line { transition: none; }
  .chip, .signal { filter: none; }
}
/* About Page Hero */
.about-hero {
  background: linear-gradient(135deg, #f9fdf9, #ecfdf5);
  text-align: center;
  padding: 100px 20px;
  min-height: 300px; /* ensures visible height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 12px;
  color: #22c55e;
}

.about-hero p {
  font-size: 1.2rem;
  color: #444;
  max-width: 800px;
  margin: 0 auto;
}
/* About Page Sections */
.about-block {
  padding: 60px 48px;
  text-align: center;
}

.about-block.alt {
  background: #f9f9f9;
}

.about-block h2 {
  font-size: 2rem;
  color: #22c55e;
  margin-bottom: 20px;
}

.about-block p {
  max-width: 800px;
  margin: 0 auto 15px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
}

/* Vision & Values */
.values-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
  max-width: 1100px;   /* keeps them centered */
  margin-left: auto;
  margin-right: auto;
}

.value-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex: 1 1 420px;     /* each card around 420px wide */
  max-width: 480px;    /* prevents them from stretching too much */
  min-height: 160px;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Team Section */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 20px auto 0 auto;
}

.team-member {
  background: #fff;
  padding: 25px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex: 1 1 280px;     /* each team card ~280px */
  max-width: 320px;
  min-height: 140px;
}

.team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.team-member h3 {
  color: #22c55e;   /* green text */
  margin-bottom: 6px;
  font-size: 1.1rem;
  font-weight: 600;
}
.value-card h3 {
  color: #22c55e;   /* green text */
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Section Divider */
.about-block {
  padding: 60px 48px;
  text-align: center;
  position: relative;
}

.about-block:not(:last-of-type)::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #22c55e;
  margin: 40px auto 0;
  border-radius: 2px;
}
/* ----- Contact page: fixes & responsive layout ----- */
/* Put this near the end of style.css to override earlier rules */

.contact {
  background: transparent; /* keep same background as rest of site */
  padding: 28px 20px 60px;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6px 18px;
}

/* Headings */
.contact h2 {
  font-size: 28px;
  margin: 8px 0 6px;
  color: #1f2937; /* dark heading color */
}

.contact .subtitle {
  color: #555;
  margin-bottom: 20px;
  font-size: 15px;
}

/* Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Reuse .card style but make sure it's padded & not full width */
.card1 {
  background: #fff;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(16,24,40,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  overflow: visible;
}
.card {
  background: #fff;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(16,24,40,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  overflow: visible;
}
/* Contact info (left column) */
/* Contact Us spacing adjustments */
.contact-info.card {
  padding: 40px 30px; /* increase inner space */
  margin-top: 20px;   /* small gap from heading/subtitle */
}

.contact-info.card h3 {
  margin-bottom: 20px; /* add more space below heading */
}

.contact-info.card p {
  margin-bottom: 15px; /* consistent spacing between lines */
  line-height: 1.6;
}


.contact-info a {
  color: #0b7a4a;
  text-decoration: underline;
}

/* Contact form (right column) */
.contact-form form {
  display: block;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  font-size: 14px;
}

/* Two-field row (Name + Email) */
.contact-form .field-row {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}

.contact-form .field-row input {
  flex: 1 1 0;
  min-width: 0; /* important to prevent overflow */
}

/* Single full-width fields */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(16,24,40,0.08);
  background: #fff;
  color: #111827;
  font-size: 14px;
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Button */
.btn.primary,
.contact-form button[type="submit"] {
  display: inline-block;
  background: #22c55e; /* green used across site */
  color: #fff;
  border: 0;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0,0,0,0.06);
  transition: transform .08s ease, filter .12s ease;
}

.btn.primary:hover,
.contact-form button[type="submit"]:hover {
  transform: translateY(-1px);
  filter: brightness(.95);
}

/* Small screens: stack & full width */
@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-form .field-row {
    flex-direction: column;
  }

  .contact-container {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Extra: prevent footer jump if content is short */
footer {
  margin-top: 18px;
}

/* Defensive: ensure inputs don't get tiny from other rules */
input[type="text"],
input[type="email"],
textarea {
  min-height: 38px;
  line-height: 1.2;
}
/* ----- Product Cards Spacing Improvements ----- */
.products-grid {
  gap: 30px; /* increase space between cards */
}

.products-grid .card {
  padding: 28px 22px;   /* more inner padding */
  margin: 5px;          /* small outer spacing */
  border-radius: 12px;  /* slightly softer corners */
}

/* Headings inside cards */
.products-grid .card h3 {
  margin-top: 15px;
  margin-bottom: 12px;
}

/* Paragraph inside cards */
.products-grid .card p {
  margin-bottom: 8px;
  line-height: 1.6;
}
.products-grid .card .btn {
  margin-top: 18px;   /* add gap between text and button */
  display: inline-block;
}
/* Product title link */
.product-link {
  color: #22c55e;            /* green accent */
  text-decoration: none;     /* remove underline */
  transition: color 0.2s ease;
}

.product-link:hover {
  color: #16a34a;            /* darker green on hover */
  text-decoration: underline;
}