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

/* Grid Layout */
.dual-action {
  display: grid;
  grid-template-columns: 4fr 8fr;
  /* Image (4 cols), Content (8 cols) */
  gap: 20px;
  align-items: center;
}

.dual-action-secd {
  display: grid;
  grid-template-columns: 8fr 4fr;
  /* Image (4 cols), Content (8 cols) */
  gap: 20px;
  align-items: center;
}

/* Image Styling */
.image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Content Styling */
.content h6 {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 10px;
}

.content p {
  font-size: 20px;
  line-height: 1.6;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
  .dual-action {
    grid-template-columns: 1fr;
    /* Stacks content & image */
    text-align: center;
  }

  .image {
    order: -1;
    /* Move image above content */
  }
}

@media (max-width: 768px) {
  .dual-action-secd {
    grid-template-columns: 1fr;
    /* Stacks content & image */
    text-align: center;
  }

  .image {
    order: -1;
    /* Move image above content */
  }
}

.top-live {
  margin-top: 50px;
}

.trail {
  /* className for the trail elements */
  position: absolute;
  height: 6px;
  width: 6px;
  border-radius: 3px;
  background: teal;
}

.table-container {
  width: 100%;
  overflow-x: auto;
  /* Enables horizontal scrolling on small screens */
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th,
td {
  border: 2px solid #48b291;
  padding: 12px;
  text-align: left;

}

tr:nth-child(even) {
  background-color: #dddddd;
}

th {
  background-color: #f4f4f4;
  font-weight: bold;
}

@media (max-width: 768px) {

  th,
  td {
    padding: 8px;
  }

  img {
    width: 80px;
  }
}

.media__list__item {
  border-bottom: none;
}

.livestock-all-text {
  text-align: justify;
}

.livestock-all-headline {
  color: #14599d;
}

.moving-aniM {
  width: 100px;
  /* Adjust the image size as needed */
  animation: moveHorse 2s linear infinite;
  /* Animation name, duration, timing function, and iteration count */
}

/* Define the animation */
@keyframes moveHorse {
  0% {
    transform: translateX(0);
    /* Start position */
  }

  50% {
    transform: translateX(10px);
    /* Move to the right */
  }

  100% {
    transform: translateX(0);
    /* Return to the start position */
  }
}

.custom-btn {
  background-color: #48b291;
  /* Green background */
  color: white;
  /* White text */
  border: none;
  /* No border */
  padding: 10px 20px;
  /* Padding inside the button */
  text-align: center;
  /* Center text */
  text-decoration: none;
  /* Remove underline from any links */
  display: inline-block;
  /* Align button inline */
  font-size: 16px;
  /* Text size */
  cursor: pointer;
  /* Change cursor to pointer on hover */
  border-radius: 5px;
  /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Subtle shadow */
  transition: background-color 0.3s, transform 0.3s;
  /* Smooth transition */
  margin-left: 10px;
}

.custom-btn:hover {
  background-color: #45a049;
  /* Darker green on hover */
  transform: scale(1.05);
  /* Slightly enlarge the button */
}

.custom-btn:active {
  background-color: #3e8e41;
  /* Even darker green when clicked */
}


.camel-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 40px;
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.camel-block:hover {
  transform: translateY(-6px);
}

.camel-block.reverse {
  flex-direction: row-reverse;
}

.camel-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 14px;
  transition: transform 0.4s ease;
}

.camel-image img:hover {
  transform: scale(1.05);
}

.camel-content {
  flex: 1;
  border-top: 3px solid #28a745;
  padding: 10px;
}

.camel-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #2e7d32;
  /* green highlight */
}

.camel-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.camel-section {
  padding: 50px 20px;
  background: linear-gradient(135deg, #fff7e6, #e6d2b5);

  font-family: Arial, sans-serif;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #5c3d2e;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #7a6a5c;
  margin-bottom: 40px;
}

.camel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.camel-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease;
}

.camel-card:hover {
  transform: translateY(-8px);
}

.camel-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.camel-card h3 {
  margin: 10px 0;
  font-size: 1.4rem;
  color: #333;
}

.camel-card p {
  font-size: 0.9rem;
  color: #555;
  margin: 5px 0;
}

.camel-card p strong {
  color: #2a5d67;
}