/* Color Palette & Font Variables */
:root {
  --bg-main: #f4f7f5;
  --bg-white: #ffffff;
  --bg-dark: #111815;
  --bg-dark-card: #19221e;
  --text-dark: #121c17;
  --text-muted: #5a6b63;
  --text-light-muted: #8b9c94;
  --teal-accent: #0f3d32;
  --orange-accent: #d96226;
  --mint-bg: #e5eee9;
  --border-light: #dbe3df;
  --border-dark: #27332d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Announcement Top Bar */
.top-announcement {
  background: var(--teal-accent);
  color: #fff;
  text-align: center;
  padding: 8px 15px;
  font-size: 0.72rem;
  letter-spacing: 2px;
  font-weight: 700;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 6%;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--teal-accent);
  letter-spacing: 1px;
}

.nav-links a {
  margin: 0 16px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--orange-accent);
}

/* Buttons */
.btn {
  padding: 10px 22px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 3px;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.btn-outline {
  border: 1px solid var(--teal-accent);
  color: var(--teal-accent);
  background: transparent;
}

.btn-dark {
  background: var(--text-dark);
  color: #fff;
}

.btn-orange {
  background: var(--orange-accent);
  color: #fff;
}

.btn-dark-teal {
  background: var(--teal-accent);
  color: #fff;
  width: 100%;
  padding: 14px;
}

.btn-text {
  color: var(--teal-accent);
  text-decoration: none;
  font-weight: 700;
  margin-left: 20px;
}

.btn-outline-white {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
  margin-top: 15px;
}

/* Common Typography Tags */
.sub-tag {
  color: var(--teal-accent);
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  font-weight: 800;
}

.tag-orange {
  color: var(--orange-accent);
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  font-weight: 800;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 80px 6%;
  gap: 50px;
  align-items: center;
  background: var(--bg-main);
}

.hero-left h1 {
  font-size: 3.2rem;
  line-height: 1.1;
  margin: 15px 0 20px;
  color: var(--text-dark);
}

.highlight-orange {
  color: var(--orange-accent);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 35px;
  max-width: 500px;
}

.hero-right img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Philosophy Section */
.philosophy-section {
  padding: 90px 6%;
  background: var(--bg-white);
}

.section-badge {
  color: var(--orange-accent);
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 12px;
}

.philosophy-title {
  font-size: 2.3rem;
  max-width: 850px;
  margin-bottom: 60px;
  line-height: 1.25;
}

.philosophy-list {
  display: flex;
  flex-direction: column;
}

.philosophy-item {
  display: flex;
  gap: 40px;
  padding: 30px 0;
  border-top: 1px solid var(--border-light);
}

.item-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-light-muted);
}

.item-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.item-content p {
  color: var(--text-muted);
  max-width: 750px;
  font-size: 1rem;
}

/* Portfolio Section (Dark Grid) */
.portfolio-section {
  background: var(--bg-dark);
  color: #fff;
  padding: 90px 6%;
}

.portfolio-header h2 {
  font-size: 2.5rem;
  margin-top: 10px;
  margin-bottom: 50px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--bg-dark-card);
  padding: 24px;
  border-radius: 6px;
  border: 1px solid var(--border-dark);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  margin-bottom: 15px;
}

.card-link {
  font-size: 0.85rem;
  color: var(--orange-accent);
  font-weight: 700;
  cursor: pointer;
}

/* Formulations Section */
.formulations-section {
  background: #0d1210;
  color: #fff;
  padding: 90px 6%;
  border-top: 1px solid var(--border-dark);
}

.formulations-top h2 {
  font-size: 2.3rem;
  margin: 10px 0 8px;
}

.formulations-top p {
  color: var(--text-light-muted);
  margin-bottom: 30px;
}

.search-box {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  /* max-width: 800px; */
}

.search-box input {
  flex: 1;
  padding: 14px 18px;
  background: #17211c;
  border: 1px solid var(--border-dark);
  color: #fff;
  border-radius: 4px;
  outline: none;
}

.formulation-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.table-row {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  background: #141c18;
  border-radius: 4px;
  border: 1px solid #1f2b25;
}

.col-num {
  color: var(--orange-accent);
  font-weight: 800;
  width: 50px;
}

.col-title {
  flex: 1;
  font-size: 0.95rem;
}

.col-tag {
  font-size: 0.75rem;
  background: #1e2c26;
  color: #a8b8b0;
  padding: 5px 12px;
  border-radius: 4px;
}

.view-more-container {
  text-align: center;
}

/* Facility Section */
.facility-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 90px 6%;
  gap: 60px;
  align-items: center;
  background: var(--bg-white);
}

.facility-left img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.facility-right h2 {
  font-size: 2.4rem;
  margin: 10px 0 15px;
}

.facility-right p {
  color: var(--text-muted);
  margin-bottom: 35px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.stat-card h3 {
  font-size: 2.2rem;
  color: var(--teal-accent);
  font-weight: 800;
}

.stat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact-section {
  background: var(--mint-bg);
  padding: 90px 6%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-left h2 {
  font-size: 2.4rem;
  margin: 10px 0 15px;
}

.contact-left p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.contact-right {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row input, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  outline: none;
  font-size: 0.9rem;
}

textarea {
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 70px 6% 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.logo-white {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.footer-brand p {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  margin-top: 10px;
}

.footer-cols {
  display: flex;
  gap: 80px;
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--orange-accent);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: var(--text-light-muted);
  text-decoration: none;
  font-size: 0.88rem;
  display: block;
  margin-bottom: 10px;
}

.footer-copyright {
  text-align: center;
  border-top: 1px solid var(--border-dark);
  padding-top: 25px;
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

/* Responsive View */
@media (max-width: 900px) {
  .hero-section, .facility-section, .contact-section {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
  .form-row { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 40px; }
}