/* ============================================
   Future Vantage LLC — Design System
   Brand: Plastic Recycling | est. 1996
   Colors: Deep Blue #1F4E79 / Light Blue #2E75B6
           Brown #8B5A2B / Recycle Green #0F6E56
   ============================================ */

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "Segoe UI", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #2C2C2A;
  background: #F5F7FA;
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* === CSS Variables === */
:root {
  --c-primary: #1F4E79;
  --c-primary-light: #2E75B6;
  --c-brown: #8B5A2B;
  --c-green: #0F6E56;
  --c-green-light: #5DCAA5;
  --c-green-bg: #E1F5EE;
  --c-desc-blue: #0070C0;
  --c-alt-row: #EFF3F9;
  --c-text: #2C2C2A;
  --c-text-muted: #5F5E5A;
  --c-text-light: #888780;
  --c-bg: #F5F7FA;
  --c-white: #FFFFFF;
  --c-border: #E0E0E0;
  --c-dark: #1a1a1a;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --max-width: 1200px;
  --nav-height: 64px;
}

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-primary);
  text-align: center;
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  text-align: center;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-title .accent { color: var(--c-green); }

/* === Top Bar === */
.topbar {
  background: var(--c-primary);
  color: #fff;
  font-size: 0.8rem;
  padding: 6px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-info { display: flex; gap: 20px; }
.topbar-info span { display: flex; align-items: center; gap: 6px; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { opacity: 0.8; }
.topbar-social a:hover { opacity: 1; }

/* === Navigation === */
.navbar {
  background: #fff;
  height: var(--nav-height);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img { height: 42px; width: auto; }
.nav-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-primary);
  font-family: "Courier New", monospace;
  font-style: italic;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text);
  border-radius: var(--radius-sm);
  gap: 4px;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active {
  color: var(--c-primary);
  background: var(--c-green-bg);
}
.nav-menu .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  min-width: 180px;
  padding: 8px 0;
  z-index: 100;
}
.nav-menu > li:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--c-text);
}
.dropdown-menu li a:hover { background: var(--c-green-bg); color: var(--c-primary); }
.nav-cta {
  background: var(--c-green);
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav-cta:hover { background: #085041; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--c-primary);
  transition: 0.3s;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--c-green);
  color: #fff;
}
.btn-primary:hover { background: #085041; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
}
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--c-primary);
}
.btn-white:hover { background: var(--c-green-bg); }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* === Hero === */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1F4E79 0%, #0F6E56 100%);
  color: #fff;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(93,202,165,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 .highlight { color: var(--c-green-light); }
.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stat .num { font-size: 2.2rem; font-weight: 800; }
.hero-stat .label { font-size: 0.85rem; opacity: 0.8; }

/* === Cards Grid === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid var(--c-border);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-icon {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--c-green-bg);
}
.card-body { padding: 20px 24px 24px; }
.card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 8px;
}
.card-body p { font-size: 0.9rem; color: var(--c-text-muted); margin-bottom: 12px; }
.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-link:hover { color: #085041; }

/* === Product Cards === */
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid var(--c-border);
  text-align: center;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--c-green-light); }
.product-card .product-icon {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-primary);
  background: linear-gradient(135deg, var(--c-green-bg) 0%, #E6F1FB 100%);
}
.product-card .product-body { padding: 16px 20px 24px; }
.product-card .product-body h3 { font-size: 1.1rem; color: var(--c-brown); margin-bottom: 6px; }
.product-card .product-body p { font-size: 0.85rem; color: var(--c-text-muted); }

/* === Feature Split === */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-text h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 16px;
}
.feature-text p { font-size: 1rem; color: var(--c-text-muted); margin-bottom: 16px; }
.feature-text ul { margin-bottom: 24px; }
.feature-text ul li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 0.95rem;
  color: var(--c-text);
}
.feature-text ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 16px; height: 16px;
  background: var(--c-green);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 11.5L2.5 8l1-1L6 9.5l6.5-6.5 1 1z' fill='white'/%3E%3C/svg%3E") center/12px no-repeat var(--c-green);
}
.feature-visual {
  background: var(--c-green-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Awards Wall === */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.award-badge {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}
.award-badge:hover { box-shadow: var(--shadow-md); border-color: var(--c-green-light); }
.award-year { font-size: 1.4rem; font-weight: 800; color: var(--c-green); }
.award-title { font-size: 0.95rem; font-weight: 600; color: var(--c-primary); margin-top: 8px; }
.award-desc { font-size: 0.82rem; color: var(--c-text-muted); margin-top: 6px; }

/* === Timeline === */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: var(--c-border);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  margin-bottom: 32px;
  align-items: center;
}
.timeline-content {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
.timeline-content h4 { font-size: 1rem; color: var(--c-primary); margin-bottom: 4px; }
.timeline-content p { font-size: 0.88rem; color: var(--c-text-muted); }
.timeline-year {
  width: 56px; height: 56px;
  background: var(--c-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  z-index: 2;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--c-green-bg);
}
.timeline-item:nth-child(odd) .timeline-content:first-child { visibility: hidden; }
.timeline-item:nth-child(even) .timeline-content:last-child { visibility: hidden; }

/* === Table === */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.data-table th {
  background: var(--c-primary-light);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.data-table .section-header {
  background: var(--c-primary);
  color: #fff;
  font-weight: 600;
}
.data-table .section-header td { padding: 8px 14px; }
.data-table td { padding: 8px 14px; border-bottom: 1px solid var(--c-border); }
.data-table tr:nth-child(even) td { background: var(--c-alt-row); }
.data-table tr:hover td { background: var(--c-green-bg); }

/* === Contact Form === */
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
}
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 6px;
}
.form-group label .req { color: #E24B4A; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  transition: border 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(15,110,86,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* === Offices === */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.office-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.office-card .office-flag { font-size: 1.8rem; margin-bottom: 12px; }
.office-card h3 { font-size: 1.05rem; color: var(--c-primary); margin-bottom: 4px; }
.office-card .office-type { font-size: 0.82rem; color: var(--c-green); font-weight: 600; margin-bottom: 14px; }
.office-card p { font-size: 0.88rem; color: var(--c-text-muted); margin-bottom: 4px; }
.office-card .office-contact { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--c-border); }
.office-card .office-contact a { color: var(--c-primary-light); font-size: 0.88rem; }
.office-card .office-contact a:hover { color: var(--c-primary); text-decoration: underline; }

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-green) 100%);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-section p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 28px; }

/* === Footer === */
.footer {
  background: var(--c-dark);
  color: #aaa;
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand img { height: 48px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; color: #888; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; font-weight: 600; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.88rem; color: #888; }
.footer-col ul li a:hover { color: var(--c-green-light); }
.footer-bottom {
  border-top: 1px solid #333;
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: #666;
}
.footer-bottom p { margin-bottom: 4px; }

/* === Page Hero (sub-pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--c-primary) 0%, #0C447C 100%);
  color: #fff;
  padding: 48px 0 40px;
  text-align: center;
}
.page-hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 8px; }
.page-hero p { font-size: 1.05rem; opacity: 0.85; max-width: 700px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  margin-top: 16px;
  opacity: 0.7;
}
.breadcrumb a:hover { color: var(--c-green-light); }

/* === Sustainability === */
.sus-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.sus-stat {
  background: var(--c-green-bg);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--c-green-light);
}
.sus-stat .num { font-size: 2.4rem; font-weight: 800; color: var(--c-green); }
.sus-stat .unit { font-size: 0.9rem; color: var(--c-green); }
.sus-stat .label { font-size: 0.85rem; color: var(--c-text-muted); margin-top: 6px; }

/* === Service Cards === */
.service-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--c-green-light); }
.service-card .svc-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: var(--c-green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.service-card h3 { font-size: 1rem; color: var(--c-primary); margin-bottom: 8px; }
.service-card p { font-size: 0.85rem; color: var(--c-text-muted); }

/* === Application Cards === */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.app-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.app-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.app-card .app-visual {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.app-card .app-body { padding: 16px 20px 20px; }
.app-card .app-body h3 { font-size: 1rem; color: var(--c-primary); margin-bottom: 4px; }
.app-card .app-body p { font-size: 0.82rem; color: var(--c-text-muted); }
.app-card .app-materials { font-size: 0.78rem; color: var(--c-green); margin-top: 8px; font-weight: 600; }

/* === TDS Download Box === */
.tds-box {
  background: var(--c-alt-row);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 24px 0;
}
.tds-box .tds-info { display: flex; align-items: center; gap: 16px; }
.tds-box .tds-icon {
  width: 48px; height: 48px;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* === Responsive === */
@media (max-width: 900px) {
  .feature-split { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .timeline::before { left: 28px; }
  .timeline-item { grid-template-columns: auto 1fr; }
  .timeline-item:nth-child(odd) .timeline-content:first-child { display: none; }
  .timeline-item:nth-child(even) .timeline-content:last-child { display: none; }
  .timeline-item:nth-child(odd) .timeline-content:last-child { visibility: visible; }
  .timeline-item:nth-child(even) .timeline-content:first-child { visibility: visible; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #fff;
    box-shadow: var(--shadow-md);
    padding: 12px;
    gap: 0;
  }
  .nav-menu.mobile-open > li > a { padding: 12px 16px; border-radius: 0; }
  .dropdown-menu { position: static; box-shadow: none; min-width: auto; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.5rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .topbar-info { flex-direction: column; gap: 4px; }
}

/* === Utility === */
.text-center { text-align: center; }
.text-green { color: var(--c-green); }
.text-primary { color: var(--c-primary); }
.text-brown { color: var(--c-brown); }
.bg-green { background: var(--c-green-bg); }
.bg-alt { background: var(--c-alt-row); }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; }
.gap-2 { gap: 16px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
