/* RF Exports Landing Page Styles */
:root {
  --primary: #2e7d32; /* Fresh green */
  --secondary: #ff8f00; /* Warm orange */
  --accent: #d32f2f; /* Vibrant red */
  --light: #f5f5f5;
  --dark: #212121;
  --shadow: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px var(--shadow);
}

.btn:hover {
  background-color: #1b5e20;
  transform: translateY(-3px);
  box-shadow: 0 6px 8px var(--shadow);
}

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

.btn-secondary:hover {
  background-color: #f57c00;
}

.section {
  padding: 8rem 0;
}

.section-title {
  font-size: 3.6rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  color: var(--primary);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 0.4rem;
  background-color: var(--secondary);
  border-radius: 5px;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px var(--shadow);
  transition: var(--transition);
}

.header.scrolled {
  padding: 1rem 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
}

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

.logo img {
  height: 5rem;
  width: 5rem;
  margin-right: 1rem;
  object-fit: contain;
}

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

.logo-text span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 3rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 2.4rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1542838132-92c53300491e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
}

.hero-content {
  max-width: 60rem;
  z-index: 1;
}

.hero-title {
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 2.4rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 0.3s;
  animation-fill-mode: both;
}

.hero-btns {
  display: flex;
  gap: 2rem;
  animation: fadeInUp 1s ease 0.6s;
  animation-fill-mode: both;
}

/* Products Section */
.products {
  background-color: white;
}

.product-categories {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.category-btn {
  padding: 1rem 2rem;
  background-color: var(--light);
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.category-btn:hover, .category-btn.active {
  background-color: var(--primary);
  color: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
  gap: 3rem;
}

.product-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow);
}

.product-img {
  height: 20rem;
  width: 100%;
  object-fit: cover;
}

.product-info {
  padding: 2rem;
}

.product-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.product-desc {
  margin-bottom: 1.5rem;
  color: #666;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-origin {
  font-weight: 500;
  color: var(--secondary);
}

.product-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.product-link:hover {
  color: var(--secondary);
}

.product-link i {
  margin-left: 0.5rem;
}

/* About Section */
.about {
  background-color: #f9f9f9;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px var(--shadow);
}

.about-text h3 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.about-text p {
  margin-bottom: 2rem;
}

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

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

.feature i {
  font-size: 2.4rem;
  color: var(--secondary);
  margin-right: 1.5rem;
}

/* Stats Section */
.stats {
  background: linear-gradient(rgba(46, 125, 50, 0.9), rgba(46, 125, 50, 0.9)), url('https://images.unsplash.com/photo-1471193945509-9ad0617afabf?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 6rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 4.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.stat-item p {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Testimonials */
.testimonials {
  background-color: white;
}

.testimonials-slider {
  max-width: 80rem;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  background-color: #f9f9f9;
  padding: 4rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
  text-align: center;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 8rem;
  color: rgba(46, 125, 50, 0.1);
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.8rem;
  font-style: italic;
  margin-bottom: 3rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-img {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 2rem;
}

.testimonial-info h4 {
  font-size: 1.8rem;
  color: var(--primary);
}

.testimonial-info p {
  color: #666;
}

/* Contact Section */
.contact {
  background-color: #f9f9f9;
}

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

.contact-info h3 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.contact-details {
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  margin-bottom: 2rem;
}

.contact-item i {
  font-size: 2.4rem;
  color: var(--secondary);
  margin-right: 1.5rem;
}

.contact-item div h4 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-form {
  background-color: white;
  padding: 4rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
}

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

.form-control {
  width: 100%;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1.6rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.form-control::placeholder {
  color: #999;
}

textarea.form-control {
  resize: vertical;
  min-height: 15rem;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 5rem;
  height: 2px;
  background-color: var(--secondary);
}

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

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  html {
    font-size: 55%;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .about-img {
    order: -1;
    max-width: 50rem;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -30rem;
    width: 30rem;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: -5px 0 15px var(--shadow);
    z-index: 1001;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    margin: 2rem 0;
  }
  
  .mobile-menu {
    display: block;
    z-index: 1002;
  }
  
  .hero-title {
    font-size: 4.2rem;
  }
  
  .hero-subtitle {
    font-size: 2rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  html {
    font-size: 50%;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .testimonial {
    padding: 3rem 2rem;
  }
}