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

:root {
  --primary: #005534;
  --primary-light: #33775D;
  --secondary: #669985;
  --tertiary: #99BBAE;
  --light: #CCDDD6;
  --dark: #1a1a1a;
  --white: #ffffff;
  --grey: #f5f5f5;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

/* ============ HEADER & NAVIGATION ============ */
header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 85, 52, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo svg {
  width: 35px;
  height: 35px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--light);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============ FOOTER ============ */
footer {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.footer-section p,
.footer-section a,
.footer-section li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.footer-section a {
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ============ MAIN CONTENT ============ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 4rem 0;
}

/* ============ HERO SECTION ============ */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.8;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: var(--light);
  color: var(--primary);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--light);
  cursor: pointer;
  font-size: 0.95rem;
}

.btn:hover {
  background-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 85, 52, 0.2);
}

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

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

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

/* ============ TEXT SECTIONS ============ */
.text-section {
  padding: 3rem 0;
}

.text-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

.text-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 1.2rem;
  text-align: justify;
}

/* ============ GRID SECTIONS ============ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* ============ CARDS ============ */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--light);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 85, 52, 0.15);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--grey);
  display: block;
}

.card-body {
  padding: 1.5rem;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.card p {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-footer {
  display: flex;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light);
}

/* Product Card Variations */
.card-minimal {
  border: none;
  background: var(--grey);
  padding: 2rem 1.5rem;
  text-align: center;
}

.card-minimal h3 {
  margin-bottom: 1rem;
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
}

/* Feature Card */
.feature-card {
  background: linear-gradient(135deg, rgba(0, 85, 52, 0.05) 0%, rgba(102, 153, 133, 0.05) 100%);
  padding: 2rem;
  border-left: 4px solid var(--primary);
}

.feature-card h3 {
  margin-bottom: 0.8rem;
}

.feature-card p {
  margin-bottom: 0;
}

/* ============ CONTACT FORM ============ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin: 3rem 0;
}

.form-section {
  background: var(--grey);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--light);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--light);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 85, 52, 0.1);
}

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

.form-submit {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.form-submit:hover {
  background-color: var(--primary-light);
}

.form-message {
  padding: 1rem;
  margin-top: 1rem;
  border-radius: var(--border-radius);
  display: none;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.intro-section {
  padding: 2rem;
  background: white;
}

.intro-section h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.intro-section p {
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--primary-light);
    padding: 1rem;
    gap: 0;
    border-top: 2px solid var(--light);
  }

  nav ul.active {
    display: flex;
  }

  nav a {
    padding: 0.8rem;
    display: block;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 4rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  section {
    padding: 2.5rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero::before,
  .hero::after {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.8rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  nav ul {
    gap: 0;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  section {
    padding: 2rem 0;
  }

  .form-section {
    padding: 1.5rem;
  }
}

/* ============ UTILITY CLASSES ============ */
.mt {
  margin-top: 2rem;
}

.mb {
  margin-bottom: 2rem;
}

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

.text-primary {
  color: var(--primary);
}

.bg-light {
  background-color: var(--grey);
}

.shadow {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Arrow Icon */
.arrow-icon {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

a:hover .arrow-icon {
  transform: translateX(5px);
}
