@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --primary-color: #6B8E23; /* Olive Green */
  --primary-dark: #55721c;
  --secondary-color: #A4C639; /* Herbal Green */
  --accent-color: #D4A373; /* Earthy Gold */
  --bg-color: #F8FAF5; /* Natural Cream / Off-white */
  --white: #ffffff;
  --dark-text: #1E2A1E;
  --light-text: #6E7A6E;
  --border-color: #e2e8df;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions & Shadows */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 6px rgba(107, 142, 35, 0.05);
  --shadow-md: 0 10px 30px rgba(107, 142, 35, 0.08);
  --shadow-lg: 0 20px 40px rgba(107, 142, 35, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--light-text);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-text);
  line-height: 1.2;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-bg {
  background-color: var(--white);
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark-text);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--light-text);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn-accent:hover {
  background-color: #c09160;
  color: var(--white);
  transform: translateY(-2px);
}

/* Header & Nav */
.header.modern-header {
  position: relative;
  background: var(--white);
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
}

.header-top {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  background: var(--white);
}

.header-top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.logo img {
  height: 80px;
  width: auto;
}

.slogan-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(164, 198, 57, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: 1px dashed var(--secondary-color);
}

.slogan-banner i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.slogan-text {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 0.85rem;
  color: var(--dark-text);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  line-height: 1.4;
}

.header-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.header-actions-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  background: linear-gradient(to bottom, #ffe066, #ffb000);
  color: #333;
  border: 1px solid #d49a00;
}
.btn-sm:hover {
  background: linear-gradient(to bottom, #ffb000, #ffe066);
  color: #333;
  transform: none;
}

.search-box {
  display: flex;
  border: 2px solid var(--secondary-color);
  border-radius: 5px;
  overflow: hidden;
  height: 38px;
}

.search-box input {
  border: none;
  padding: 0 0.75rem;
  font-size: 0.9rem;
  outline: none;
  width: 250px;
}

.search-box button {
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  padding: 0 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

.search-box button:hover {
  background: var(--primary-color);
}

.header-actions-bottom {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.header-actions-bottom a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header-bottom {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}

.header-bottom.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-text);
  position: relative;
  padding: 1rem 0;
  display: block;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--dark-text);
  cursor: pointer;
  background: none;
  border: none;
}

@media (max-width: 1200px) {
  .slogan-banner {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-actions {
    display: none;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-md);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .mobile-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  padding-top: 2rem;
  background: linear-gradient(135deg, var(--bg-color) 0%, #eef3e8 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164,198,57,0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-text);
}

.hero-content h1 span {
  color: var(--primary-color);
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--light-text);
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Floating Elements */
.floating-badge {
  position: absolute;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--dark-text);
  z-index: 2;
}

.badge-1 {
  bottom: 10%;
  left: -10%;
  animation: float 5s ease-in-out infinite 1s;
}

.badge-2 {
  top: 10%;
  right: -5%;
  animation: float 7s ease-in-out infinite 0.5s;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.category-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.category-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--bg-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.category-card:hover .category-icon {
  background: var(--primary-color);
  color: var(--white);
}

.category-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.category-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.category-link {
  font-family: var(--font-heading);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: rgba(164, 198, 57, 0.15);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary-color);
}

.feature-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-content p {
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 30px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 4rem 2rem;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 0 A50 50 0 0 1 100 50 A50 50 0 0 1 50 100 A50 50 0 0 1 0 50 A50 50 0 0 1 50 0" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background-color: var(--dark-text);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-col p {
  color: #a0aba0;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #a0aba0;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0aba0;
  font-size: 0.875rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  animation: pulse-green 2s infinite;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: white;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    margin: 0 auto 2rem;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .floating-badge {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
    gap: 1.5rem;
  }
  
  .nav-menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-actions .btn {
    display: none;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .cta-section {
    padding: 3rem 2rem;
    margin: 2rem 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
