
:root {
  --primary-green: #00843D;
  --primary-darkgreen: #006630;
  --text-gray: #4B5563;
  --dark-gray: #1F2937;
  --light-gray: #F9FAFB;
  --border-gray: #E5E7EB;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark-gray);
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
  padding: 0 1rem;
}

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

.logo-text-green {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

.logo-text-gray {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark-gray);
}

.nav-desktop {
  display: none;
}

.nav-mobile-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-mobile {
  display: none;
  background-color: white;
  border-bottom: 1px solid var(--border-gray);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-mobile.active {
  display: block;
}

.nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
}

.nav-link:hover {
  background-color: var(--light-gray);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: 0.375rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-primary {
  background-color: var(--primary-green);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-darkgreen);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-green);
  color: var(--primary-green);
}

.btn-outline:hover {
  background-color: rgba(0, 132, 61, 0.1);
}

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 132, 61, 0.8); /* Changed from blue to transparent green */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  z-index: 10;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(0, 132, 61, 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.75rem;
}

.feature-text {
  color: var(--text-gray);
  text-align: center;
}

/* Contact Section */
.contact {
  padding: 4rem 0;
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.contact-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(0, 132, 61, 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-label {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-gray);
  margin-bottom: 0.25rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-gray);
  border-radius: 0.375rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary-green);
}

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

/* Resources Section */
.resources {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.resource-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.resource-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(0, 132, 61, 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.resource-title {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.75rem;
}

.resource-text {
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 1.5rem;
}

.text-center {
  text-align: center;
}

/* Products Page */
.product-card {
  border: 1px solid var(--border-gray);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.product-image {
  height: 16rem;
  background-color: #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
}

.product-content {
  padding: 1rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-description {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.product-link {
  color: var(--primary-green);
  font-weight: 500;
  text-decoration: none;
}

.product-link:hover {
  text-decoration: underline;
}

.prose {
  line-height: 1.7;
}

.prose p {
  margin-bottom: 1rem;
}

.prose h4 {
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose ul {
  margin-left: 1.25rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

/* Features Page */
.features-container {
  padding: 4rem 0;
}

.feature-item {
  padding: 1.5rem;
  border: 1px solid var(--border-gray);
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Specifications Page */
.specs-section {
  background-color: var(--light-gray);
  padding: 3rem 0;
}

.specs-card {
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.specs-header {
  padding: 1rem 1.5rem;
  background-color: var(--primary-green);
  color: white;
}

.specs-content {
  padding: 1.5rem;
}

.specs-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.specs-label {
  font-weight: 500;
  color: var(--dark-gray);
}

.specs-value {
  color: var(--text-gray);
}

.specs-list {
  list-style-type: disc;
  margin-left: 1.25rem;
  margin-top: 0.5rem;
  color: var(--text-gray);
}

.specs-list li {
  margin-bottom: 0.5rem;
}

/* Useful Links Page */
.links-section {
  padding: 4rem 0;
  background-color: white;
}

.links-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.links-nav-button {
  padding: 0.5rem 1rem;
  background-color: #E5E7EB;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.links-nav-button:hover {
  background-color: #D1D5DB;
}

.links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.link-card {
  border: 1px solid var(--border-gray);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.link-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.link-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.link-description {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.link-url {
  display: inline-flex;
  align-items: center;
  color: var(--primary-green);
  font-weight: 500;
  text-decoration: none;
}

.link-url:hover {
  text-decoration: underline;
}

.link-category {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  margin-top: 1rem;
}

.category-safety {
  background-color: #FEE2E2;
  color: #B91C1C;
}

.category-standards {
  background-color: #DBEAFE;
  color: #1E40AF;
}

.category-industry {
  background-color: #D1FAE5;
  color: #065F46;
}

.category-education {
  background-color: #EDE9FE;
  color: #5B21B6;
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: white;
  padding: 3rem 0 1.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-text {
  color: #D1D5DB;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: #D1D5DB;
  transition: color 0.2s;
}

.social-link:hover {
  color: white;
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 0.5rem;
}

.footer-link a {
  color: #D1D5DB;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link a:hover {
  color: white;
}

.footer-border {
  border-top: 1px solid #4B5563;
  padding-top: 1.5rem;
}

/* NotFound Page */
.not-found {
  padding: 6rem 1rem;
  text-align: center;
}

.not-found h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.not-found p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.not-found-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 300px;
  margin: 0 auto;
}

/* Responsive styles */
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    gap: 0.25rem;
  }
  
  .nav-mobile-button {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .features-grid,
  .resources-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .not-found-buttons {
    flex-direction: row;
    max-width: none;
  }
  
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero {
    height: 600px;
  }
}
