/* style.css - Modern Website for Maugo Farmlife LTD */
:root {
  --primary: #2b6e3c;
  --primary-dark: #1e4a2f;
  --primary-light: #4a9b5c;
  --secondary: #f5a623;
  --dark: #1a2a1f;
  --light: #fefcf5;
  --gray: #6b7280;
  --white: #ffffff;
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(245, 166, 35, 0.6);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes typeWriter {
  0% {
    width: 0;
  }
  99% {
    width: 100%;
  }
  100% {
    width: 100%;
  }
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  animation: fadeInDown 0.6s ease-out;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.logo i {
  font-size: 1.8rem;
  animation: pulse 2.5s infinite;
}
.logo img {
  width: auto;
  max-height: 80px;
  object-fit: contain;
  display: block;
}
.logo span {
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  padding: 4px 0;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::before {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  transition: var(--transition);
}

.menu-toggle:hover {
  transform: rotate(90deg);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(30, 74, 47, 0.88), rgba(20, 55, 35, 0.8));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  color: white;
  text-align: center;
  padding: 120px 20px 0;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 10%, rgba(0,0,0,0.2), rgba(0,0,0,0.55));
  z-index: 2;
}

.hero-content {
  z-index: 3;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero-stats {
  z-index: 3;
  position: relative;
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  padding: 2rem 3rem;
  border-radius: 80px;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  animation: slideInUp 1s ease-out 0.5s backwards;
}

.hero::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

.hero-content {
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.highlight {
  color: var(--secondary);
  position: relative;
  display: inline;
  animation: typeWriter 3s steps(20, end) 0.5s forwards;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: baseline;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 1.2s ease-out;
  letter-spacing: 0.3px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.4s ease-out;
}

.btn-primary, .btn-outline {
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-slow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), #e09412);
  color: var(--dark);
  box-shadow: 0 10px 30px rgba(245, 166, 35, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(245, 166, 35, 0.5);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-outline {
  border: 2.5px solid white;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: white;
  color: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
  border-color: white;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  z-index: 2;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  padding: 2rem 3rem;
  border-radius: 80px;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  animation: slideInUp 1s ease-out 0.5s backwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat {
  text-align: center;
  animation: scaleIn 0.8s ease-out;
}

.stat h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.stat p {
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 500;
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(43, 110, 60, 0.08), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(43, 110, 60, 0.15), rgba(245, 166, 35, 0.1));
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  animation: slideInLeft 0.8s ease-out;
}

.about-text {
  animation: slideInLeft 1s ease-out;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.about-text p {
  color: #2d3a2d;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-weight: 400;
}

.about-features {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.about-features div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  padding: 10px 16px;
  background: rgba(43, 110, 60, 0.05);
  border-radius: 40px;
  transition: var(--transition);
  animation: scaleIn 0.8s ease-out;
}

.about-features div:hover {
  background: rgba(43, 110, 60, 0.12);
  transform: translateY(-3px);
}

.about-features i {
  color: var(--secondary);
  font-size: 1.3rem;
}

.legacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(43, 110, 60, 0.08), rgba(245, 166, 35, 0.08));
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 1rem;
  border-left: 4px solid var(--secondary);
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.1);
  transition: var(--transition);
  animation: slideInLeft 1.2s ease-out;
}

.legacy-badge:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.2);
}

.legacy-badge i {
  color: var(--secondary);
  font-size: 1.3rem;
}

.about-image {
  position: relative;
  animation: slideInRight 1s ease-out;
}

.about-image img {
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow-xl);
  transition: var(--transition-slow);
}

.about-image img:hover {
  transform: scale(1.03) rotateY(2deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  padding: 14px 24px;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--primary);
  animation: float 3s ease-in-out infinite;
  border: 2px solid rgba(245, 166, 35, 0.2);
}

.floating-card i {
  color: var(--secondary);
  font-size: 1.3rem;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8faf4, #ffffff);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.08), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 28px;
  text-align: center;
  transition: var(--transition-slow);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(43, 110, 60, 0.05);
  animation: fadeInUp 0.8s ease-out backwards;
  position: relative;
  overflow: hidden;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(43, 110, 60, 0.08), transparent);
  transition: left 0.6s;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary);
}

.service-icon {
  background: linear-gradient(135deg, rgba(43, 110, 60, 0.12), rgba(245, 166, 35, 0.08));
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(43, 110, 60, 0.1);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(43, 110, 60, 0.2), rgba(245, 166, 35, 0.15));
  transform: rotateY(360deg) scale(1.1);
  animation: pulse 0.6s ease-out;
}

.service-icon i {
  font-size: 2.2rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon i {
  color: var(--secondary);
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  letter-spacing: -0.3px;
}

.service-card p {
  color: var(--gray);
  line-height: 1.7;
}

/* Products Section */
.products {
  padding: 100px 0;
  background: #fefcf5;
  position: relative;
  overflow: hidden;
}

.products::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(43, 110, 60, 0.08), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.products-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.product-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition-slow);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(43, 110, 60, 0.05);
  animation: scaleIn 0.7s ease-out backwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

.product-card:hover {
  transform: translateY(-12px) rotateX(5deg);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary);
}

.product-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.product-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(43, 110, 60, 0), rgba(43, 110, 60, 0.2));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-card:hover .product-img::after {
  opacity: 1;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img img {
  transform: scale(1.12) rotate(2deg);
}

.product-card h3 {
  padding: 1.2rem 1.2rem 0.3rem;
  font-size: 1.3rem;
  letter-spacing: -0.3px;
}

.product-card p {
  padding: 0 1.2rem;
  color: var(--gray);
  font-size: 0.95rem;
}

.price {
  display: block;
  padding: 0.8rem 1.2rem 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  font-size: 1rem;
}

/* Specialties Section */
.specialties {
  padding: 80px 0;
  background: linear-gradient(120deg, #ffffff, #fef9ef);
  position: relative;
  overflow: hidden;
}

.specialties::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.1), transparent);
  border-radius: 50%;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.specialty-card {
  background: white;
  padding: 2.5rem;
  border-radius: 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
  border: 2px solid transparent;
  border-bottom: 4px solid var(--primary);
  animation: slideInUp 0.8s ease-out backwards;
  position: relative;
  overflow: hidden;
}

.specialty-card:nth-child(1) { animation-delay: 0.2s; }
.specialty-card:nth-child(2) { animation-delay: 0.4s; }

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.specialty-card:hover::before {
  transform: scaleX(1);
}

.specialty-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 166, 35, 0.3);
}

.specialty-card i {
  font-size: 3.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: var(--transition);
  display: inline-block;
}

.specialty-card:hover i {
  color: var(--secondary);
  animation: bounce 0.6s ease-out;
}

.specialty-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.specialty-card p {
  color: var(--gray);
  line-height: 1.8;
}

/* CTA Section */
.cta {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary), var(--primary-light));
  padding: 100px 20px;
  text-align: center;
  position: relative;
  color: white;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 2px, transparent 2px, transparent 10px);
  animation: shimmer 4s infinite;
}

.cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
  border-radius: 50%;
  transform: translateX(-50%);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.cta h2 {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.cta p {
  margin-bottom: 2rem;
  opacity: 0.95;
  font-size: 1.15rem;
  line-height: 1.7;
}

.cta-btn {
  background: white;
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.cta-btn:hover {
  background: var(--secondary);
  color: var(--dark);
  box-shadow: 0 15px 40px rgba(245, 166, 35, 0.5);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(43, 110, 60, 0.08), transparent);
  border-radius: 50%;
}

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

.contact-info {
  animation: slideInLeft 0.8s ease-out;
}

.contact-info h2 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.info-detail {
  display: flex;
  gap: 15px;
  margin: 1.8rem 0;
  align-items: flex-start;
  transition: var(--transition);
  animation: slideInLeft 0.8s ease-out backwards;
}

.info-detail:nth-child(2) { animation-delay: 0.2s; }
.info-detail:nth-child(3) { animation-delay: 0.3s; }
.info-detail:nth-child(4) { animation-delay: 0.4s; }

.info-detail:hover {
  transform: translateX(8px);
}

.info-detail i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(43, 110, 60, 0.12), rgba(245, 166, 35, 0.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(43, 110, 60, 0.1);
}

.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 2rem;
  animation: slideInLeft 1s ease-out;
}

.social-links a {
  background: linear-gradient(135deg, #eef2e8, #f0f4eb);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(43, 110, 60, 0.1);
  position: relative;
}

.social-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social-links a:hover {
  color: white;
  transform: translateY(-6px) rotate(10deg);
}

.social-links a:hover::before {
  opacity: 1;
}

.contact-form {
  background: linear-gradient(135deg, #f9fbf7, #fafbf8);
  padding: 2.5rem;
  border-radius: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(43, 110, 60, 0.05);
  animation: slideInRight 0.8s ease-out;
}

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

.form-group input, .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e2e8e2;
  border-radius: 16px;
  font-family: inherit;
  transition: var(--transition);
  background: white;
  font-size: 1rem;
}

.form-group input::placeholder, .form-group textarea::placeholder {
  color: #bbb;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(43, 110, 60, 0.15);
  background: #fefcf5;
}

.submit-btn {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(43, 110, 60, 0.2);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(43, 110, 60, 0.35);
}

.submit-btn:hover::before {
  left: 100%;
}

/* Map section */
.map-section {
  padding: 100px 0 60px;
  background: #f5f8f3;
}

.map-wrapper {
  margin-top: 2.5rem;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(43, 110, 60, 0.08);
}

.map-iframe {
  width: 100%;
  min-height: 440px;
  border: 0;
  display: block;
}

.map-note {
  padding: 1.25rem 1.5rem;
  color: var(--gray);
  font-size: 0.95rem;
  background: white;
  text-align: center;
}


.submit-btn:active {
  transform: translateY(0);
}

.feedback-msg {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  animation: fadeInUp 0.5s ease-out;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0f2818, #0d1f14);
  color: #d1e0d4;
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 6px);
  pointer-events: none;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-brand {
  animation: fadeInUp 0.8s ease-out;
}

.footer-brand i {
  font-size: 2.4rem;
  color: var(--secondary);
  margin-bottom: 0.8rem;
  display: inline-block;
  animation: pulse 2.5s infinite;
}

.footer-brand span {
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.6;
}

.footer-brand .tagline {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 0.5rem;
}

.footer-links {
  animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.footer-links h4, .footer-newsletter h4 {
  color: white;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  letter-spacing: -0.2px;
}

.footer-links a {
  display: block;
  color: #bcd0b5;
  text-decoration: none;
  margin-bottom: 0.8rem;
  transition: var(--transition);
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(8px);
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-newsletter {
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.news-group {
  display: flex;
  gap: 8px;
  margin-top: 1.2rem;
  position: relative;
}

.news-group input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(42, 68, 51, 0.5);
  color: white;
  transition: var(--transition);
  font-size: 0.9rem;
}

.news-group input::placeholder {
  color: #8fa088;
}

.news-group input:focus {
  outline: none;
  background: rgba(42, 68, 51, 0.8);
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.news-group button {
  background: linear-gradient(135deg, var(--secondary), #e09412);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.news-group button:hover {
  background: linear-gradient(135deg, #e09412, var(--secondary));
  transform: scale(1.08) rotate(15deg);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5);
}

.copyright {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

.developed-by {
  text-align: center;
  padding: 1rem 0;
  font-size: 0.8rem;
  opacity: 0.7;
}

.developed-by a {
  color: var(--secondary);
  text-decoration: none;
}

.developed-by a:hover {
  text-decoration: underline;
}

.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
  transition: var(--transition);
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.scroll-top-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.4s ease;
    gap: 2rem;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    gap: 1.5rem;
    padding: 1.2rem;
    flex-direction: column;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  
  .about-text h2 {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-primary, .btn-outline {
    width: 100%;
    justify-content: center;
  }
  
  .services-grid, .products-slider {
    grid-template-columns: 1fr;
  }
  
  .hero {
    min-height: auto;
    padding: 140px 20px 60px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp Chat Button */
.whatsapp-chat {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.whatsapp-btn {
  background-color: #25D366;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  text-decoration: none;
  color: white;
  font-size: 2.4rem;
}
.whatsapp-btn:hover {
  transform: scale(1.07);
  background-color: #20b859;
}
.whatsapp-tooltip {
  background: rgba(30,30,20,0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 0.85rem;
}
@media (max-width: 560px) {
  .whatsapp-btn { width: 54px; height: 54px; font-size: 2rem; }
}

.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  /* rest of your styles */
}

.whatsapp-chat {
  position: fixed;
  bottom: 100px;  /* 28px (scroll button) + 64px (whatsapp height) + gap */
  right: 28px;
}