/* styles.css */
:root {
  --primary-color: #4CAF50;
  --secondary-color: #FFC107;
  --dark-color: #333;
  --light-color: #f4f4f4;
  --accent-color: #388E3C;
  --text-color: #555;
  --white: #fff;
  --black: #000;
  --gray: #e0e0e0;
}

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

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

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

/* Navigation */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

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

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

.nav-links li {
  margin-left: 30px;
}

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

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

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

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

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://cdn.pixabay.com/photo/2023/06/22/04/19/rye-8080482_1280.jpg') no-repeat center center/cover;
  color: var(--white);
  text-align: center;
  padding: 180px 20px 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-content {
  max-width: 800px;
  margin-bottom: 50px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Stats Container */
.stats-container {
  display: flex;
  justify-content: space-around;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 900px;
  margin-top: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-item {
  text-align: center;
  padding: 0 20px;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--dark-color);
}

/* Buttons */
.cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.cta-button.primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.cta-button.primary:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-button.secondary:hover {
  background-color: var(--white);
  color: var(--dark-color);
}

/* Section Styling */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-color);
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
  text-align: left;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-image {
  flex: 1;
}

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

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.feature {
  background: var(--light-color);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-10px);
}

.feature i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.feature h4 {
  font-size: 1.2rem;
  color: var(--dark-color);
}

/* Products Section */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

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

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-details {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-details h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.product-details p {
  margin-bottom: 15px;
  flex: 1;
}

.product-specs {
  list-style: none;
  margin-bottom: 20px;
}

.product-specs li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.product-specs i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 0.9rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

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

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.service-card p {
  color: var(--text-color);
}

/* Testimonials */
.testimonial-slider {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
}

.testimonial {
  min-width: 350px;
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  scroll-snap-align: start;
}

.testimonial-content {
  position: relative;
  margin-bottom: 20px;
  padding-left: 20px;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.3;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-color);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.testimonial-author h4 {
  color: var(--dark-color);
  margin-bottom: 5px;
}

.testimonial-author p {
  color: var(--text-color);
  font-size: 0.9rem;
}

/* Procurement Section */
.procurement {
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://cdn.pixabay.com/photo/2017/06/06/22/37/agriculture-2378728_1280.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  padding: 100px 0;
}

.procurement-content {
  display: flex;
  align-items: center;
  gap: 50px;
  background: var(--white);
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.procurement-text {
  flex: 1;
}

.procurement-text h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.procurement-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.procurement-features {
  list-style: none;
  margin-bottom: 30px;
}

.procurement-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.procurement-features i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.procurement-image {
  flex: 1;
}

.procurement-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.contact-info {
  background: var(--light-color);
  padding: 30px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 0px;
  margin-top: 3px;
}

.contact-item strong {
  display: block;
  color: var(--dark-color);
  margin-bottom: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--dark-color);
  color: var(--primary-color);
  border-radius: 50%;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--white);
  transform: translateY(-5px);
}

.contact-form {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.map-container {
  grid-column: 1 / -1;
  margin-top: 30px;
}

#map {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Newsletter */
.newsletter {
  background: var(--primary-color);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.newsletter p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 50px 0 0 50px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 15px 30px;
  border: none;
  background: var(--secondary-color);
  color: var(--dark-color);
  font-weight: 600;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: var(--white);
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-col p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a {
  color: var(--white);
  opacity: 0.8;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--secondary-color);
  padding-left: 5px;
}

.contact-info {
  color: var(--dark-color);
  font-weight: 600;
}

.contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 10px;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--white);
  opacity: 0.7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s;
}

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

/* Floating Call Button */
.floating-call-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #4CAF50; /* Green color */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-call-button:hover {
  background-color: #388E3C; /* Darker green on hover */
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Animation for attention */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.floating-call-button {
  animation: pulse 2s infinite;
}

@media (max-width: 992px) {
  /* General tablet/mobile adjustments */
  .about-content,
  .procurement-content {
    flex-direction: column;
  }
  
  .about-image,
  .procurement-image {
    margin-top: 30px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  /* Product cards stack on smaller screens */
  .product-list {
    grid-template-columns: 1fr 1fr;
  }
  
  /* Services grid adjustment */
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Mobile navigation */
  .navbar .container {
    padding: 15px;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    transition: left 0.3s;
    z-index: 999;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .hamburger {
    display: block;
  }
  
  /* Hero section adjustments */
  .hero {
    padding: 120px 20px 60px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .stats-container {
    flex-direction: column;
    gap: 25px;
    padding: 20px;
  }
  
  /* Section headers */
  .section-header h2 {
    font-size: 2rem;
  }
  
  /* About section */
  .about-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  /* Products */
  .product-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  /* Testimonials */
  .testimonial {
    min-width: 85%;
  }
  
  /* Contact info */
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .contact-item i {
    margin-bottom: 5px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  /* Floating call button */
  .floating-call-button {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  /* Extra small devices */
  .hero {
    padding: 100px 15px 50px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Stats */
  .stat-number {
    font-size: 2rem;
  }
  
  /* Procurement section */
  .procurement-content {
    padding: 30px 20px;
  }
  
  .procurement-features li {
    font-size: 0.9rem;
  }
  
  /* Map */
  #map {
    height: 300px;
  }
  
  /* Footer columns */
  .footer-col {
    margin-bottom: 20px;
  }
  
  .footer-col:last-child {
    margin-bottom: 0;
  }
}

/* Special cases for very small screens */
@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .hero-buttons .cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  .product-card h3 {
    font-size: 1.3rem;
  }
  
  .product-specs li {
    font-size: 0.9rem;
  }
}