/* General Styles */
:root {
  --primary-color: #4a6741;
  --secondary-color: #8b4513;
  --accent-color: #f0c14b;
  --text-color: #333;
  --light-text: #fff;
  --dark-bg: #222;
  --light-bg: #f9f9f9;
  --border-color: #ddd;
  --success-color: #28a745;
  --error-color: #dc3545;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  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: #fff;
}

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

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 0.5rem auto;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #666;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--light-text);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}
.logo img {
  width: 100px; /* Set the desired width */
  height: auto; /* Maintain aspect ratio */
  max-width: 100%; /* Ensure it doesn't exceed the container width */
  display: block; /* Remove any inline spacing */
  margin: 0 auto; /* Center the logo if needed */
}
.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

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

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
  background-color: rgba(74, 103, 65, 0.1);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("images/test.jpg");
  background-size: cover;
  background-position: center;
  height: 80vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center; 
  color: var(--light-text);
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}



.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

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

/* Features Section */
.features {
  padding: 5rem 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.feature-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Livestock Showcase */
.livestock-showcase {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.livestock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.livestock-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.livestock-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.livestock-info {
  padding: 20px;
}

.livestock-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.livestock-info p {
  margin-bottom: 1rem;
  color: #666;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
}

.testimonial-content::before {
  content: "\201C";
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author h4 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.testimonial-author p {
  font-style: normal;
  color: #666;
  margin-bottom: 0;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.prev-btn,
.next-btn {
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
  color: var(--secondary-color);
}

.testimonial-dots {
  display: flex;
  gap: 10px;
  margin: 0 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: var(--light-text);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  margin-bottom: 2rem;
}

.cta .btn {
  background-color: var(--accent-color);
  color: var(--text-color);
}

.cta .btn:hover {
  background-color: #e0b43e;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 4rem 0 0;
}

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

.footer-logo h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #aaa;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--light-text);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

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

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

.social-icons a {
  background-color: #f0f0f0;
  border-radius: 50%;
  padding: 10px;
  margin: 5px;
  display: inline-block;
  transition: background-color 0.3s;
}

.social-icons a:hover {
  background-color: var(--accent-color);
  color: var(--text-color);
  transform: translateY(-5px);
}

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

/* Page Header */
.page-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("images/hero-image.jpg");
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
  text-align: center;
  color: var(--light-text);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.breadcrumb {
  display: inline-block;
}

.breadcrumb a {
  color: var(--accent-color);
}

.breadcrumb span {
  color: var(--light-text);
}

/* About Page Styles */
.about-intro {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1rem;
}

.mission-vision {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.mission-card,
.vision-card,
.values-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.mission-card:hover,
.vision-card:hover,
.values-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mission-icon,
.vision-icon,
.values-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.team {
  padding: 5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.team-member {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.member-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.member-info {
  padding: 20px;
  text-align: center;
}

.member-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.member-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.achievements {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.achievement-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

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

.achievement-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.achievement-count {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

/* Services Page Styles */
.services-intro {
  padding: 5rem 0;
  text-align: center;
}

.services-intro-content {
  max-width: 800px;
  margin: 0 auto;
}

.services-intro-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.services-list {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

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

.service-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.service-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-features {
  margin: 1.5rem 0;
}

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

.service-features i {
  color: var(--success-color);
  margin-right: 10px;
}

.pricing {
  padding: 5rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.pricing-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  transform: scale(1.05);
  z-index: 1;
  border: 2px solid var(--primary-color);
}

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

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-header {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 30px;
  text-align: center;
}

.pricing-tag {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-features {
  padding: 30px;
}

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

.pricing-features i {
  color: var(--success-color);
  margin-right: 10px;
}

.pricing-footer {
  padding: 0 30px 30px;
  text-align: center;
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  color: #666;
}

/* Gallery Page Styles */
.gallery-section {
  padding: 5rem 0;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 3rem;
}

.filter-btn {
  background-color: transparent;
  border: 1px solid var(--border-color);
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-image {
  position: relative;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  text-align: center;
  color: var(--light-text);
  padding: 20px;
}

.gallery-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.gallery-zoom {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  transition: var(--transition);
}

.gallery-zoom:hover {
  background-color: var(--accent-color);
  color: var(--text-color);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-caption {
  margin: auto;
  width: 80%;
  text-align: center;
  color: var(--light-text);
  padding: 10px 0;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: var(--light-text);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Contact Page Styles */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2,
.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.info-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
}

.info-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.social-links h3 {
  margin-bottom: 1rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: var(--transition);
}

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

.map-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.faq-section {
  padding: 5rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background-color: #fff;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  font-size: 1.2rem;
  margin: 0;
}

.faq-toggle {
  font-size: 1.2rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-answer {
  background-color: var(--light-bg);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 1000px;
}

.faq-item.active .faq-toggle i {
  transform: rotate(45deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: 1;
  }

  .about-content {
    order: 2;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

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

  .section-title {
    font-size: 2rem;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .gallery-filter {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 100%;
    max-width: 200px;
  }
}

