/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

header
{
	width: 1170px;
	margin: auto;
}

.responsive-video-container {
  position: relative;
  width: 100%;
  max-width: 522px; /* Or whatever max you want */
  aspect-ratio: 16 / 9; /* Modern browsers, for 16:9 video */
  background: #111;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.5em;
  margin: auto;
}

.responsive-video-container video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
}

.responsive-video-container2 {
  position: relative;
  width: 100%;
  max-width: 315px; /* Or whatever max you want */
  aspect-ratio: 9 / 16; /* Modern browsers, for 16:9 video */
  background: #111;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.5em;
  margin: auto;
}

.responsive-video-container2 video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
}

#logo
{
	width: 216px;
	height: 209px;
	position: absolute;
	z-index: 5;
	padding-left: 33px;
}


.top-bar
{
	width: 1170px;
	height: 99px;
	background-color: #fff;
	display: block;
	
}

.poultrymachinery
{
	width: 615px;
	float: left;
}


.topright
{
	width: 555px;
	float: left;
	text-align: right;
}

.toprightpadding
{
	padding-top: 15px;
    padding-left: 0px;
}

.contact-info input[type="text"] {
    padding: 10px;
    border-radius: 15px;
    border: 0px solid #ddd;
	background-color: #fff;
	color: #000;
	font-size: 16px;
	text-align: center;
	border: 2px solid #e9e4e4;
}

.top-bar-padding
{
	padding-top: 12px;
    padding-left: 41px;
}

.nav-bar
{
	width: 1170px;
	height: 65px;
	background-color: #1a6332;
	z-index: 2;
	position: relative;

	background-position:right;
	background-repeat:no-repeat;
}

.nav-bar-pad
{
	padding-top: 17px;
	padding-left: 264px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 13px;
}

nav a {
    color: #fff;
    text-decoration: underline;
    padding: 10px 12px;
    transition: background-color 0.3s;
	font-family: "Palanquin Dark", sans-serif;
	font-size: 17px;
	text-transform: uppercase;
}

.buysell
{
	padding-left: 55px;
}


.responsive-img {
    max-width: 200px;
    width: 100%;
    margin-left: auto;
    margin-top: 20px;
  }

  @media (max-width: 767px) {
    .responsive-img {
      max-width: 100% !important;
    }
  }

    #cookie-consent-banner {
      display: none; /* hidden by default */
      position: fixed;
      bottom: 20px;
      right: 20px;
      max-width: 300px;
      background: #fff;
      border: 1px solid #ccc;
      padding: 15px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
      border-radius: 4px;
      font-family: sans-serif;
      font-size: 0.9rem;
      line-height: 1.4;
      z-index: 10000;
    }

    #cookie-consent-banner p {
      margin: 0 0 10px;
    }

    #cookie-consent-banner a {
      color: #0073e6;
      text-decoration: underline;
    }

    #cookie-consent-accept {
      background-color:darkgreen;
      color: #fff;
      border: none;
      padding: 6px 12px;
      font-size: 0.9rem;
      border-radius: 3px;
      cursor: pointer;
    }

    #cookie-consent-accept:hover {
      background-color:#139442;
    }



.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 2236 / 710; /* Maintains the original image ratio */
    background: url('img/hero-bg.jpg') no-repeat center center;
    background-size: contain; /* or '100% auto' */
    color: #fff;
    text-align: center;
    z-index: 1;
	margin-top: -33px;
}




.mobhero
{
	display: none;
	visibility: hidden;
}



.pano {
    background: url('img/pano.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
	height: 163px;
	margin-top: -42px;
	z-index: 1;
}

.logopano {
    background: url('img/logo-pano.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
	height: 163px;
	margin-top: -42px;
	z-index: 1;
}

.logopano2 {
    background: url('img/logo-pano.jpg') no-repeat center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
	height: 163px;
	margin-top: -42px;
	z-index: 1;
}

.hero-buttons
{
	background-color: #fff;
	background-color: rgba(255, 255, 255, 0.30); /* White with 15% opacity */
	padding: 25px;
	width: 788px;
	margin:auto;
	margin-top: 30px;
}

.btn
{
	background-color: #009750;
	border: 1px solid #ffffff;
	font-family: "Lato", sans-serif;
	font-weight: 300;
    font-style: normal;
	text-transform: uppercase;
	color: #fff;
	padding: 20px;
	font-size: 28px;
	opacity: 1;
	margin-left: 15px;
	margin-right: 15px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Faint shadow glow */
	text-decoration: none;
}

.btn a
{
	text-decoration: none;
	color: #fff;
}


.red {
    color: #fff;
	background-color: #009750;
	height: 524px;
}


.white {
    color: #000;
	background-color: #fff;
	height: 735px;
}

.white-content
{
	color: #000;
	text-align: center;
	line-height: 1.5;
	padding-top: 50px;
	font-family: "Palanquin Dark", sans-serif;
	font-size: 19px;
}



.red2 {
    color: #fff;
	background-color: #009750;
	height: auto;
	padding-bottom: 20px;
}

.red3 {
    color: #fff;
	background-color: #009750;
	height: 548px;
}


.redcontainer
{
	width: 1170px;
	margin: auto;
	min-height: 320px;
	background-repeat: no-repeat;
}



.red-content
{
	color: #fff;
	text-align: center;
	line-height: 1.5;
	padding-top: 50px;
	font-family: "Palanquin Dark", sans-serif;
	font-size: 19px;
}

.red-content a
{
	color: #fff;
}


.red-content ul
{
	list-style-type: none;
}

.red-content p
{
	margin-top: 15px;
	margin-bottom: 15px;
}

.reconditioned {
    background-color: #FFF;
}

.reconditioned-container {
    width: 1170px;
    margin: auto;
    display: flex;
    align-items: center;
}

.reconditioned-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
	margin-top: -50px;
    background-color: #fff;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Faint shadow glow */
}

.reconditioned-image {
    width: 587px;
    height: auto;
}

.reconditioned-text {
    max-width: 600px;
}

.reconditioned-text .homeh2 {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    color: #ad3029;
    font-size: 36px;
    margin-bottom: 20px;
}

.reconditioned-text p {
    font-family: "Palanquin Dark", sans-serif;
	  font-weight: 100;
  font-style: normal;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.reconditioned-padding
{
	padding-top: 30px;
	padding-right: 20px;
}


/*fonts*/

.mainheader
{
	font-family: "Lato", sans-serif;
	font-weight: 300;
    font-style: normal;
	text-transform: uppercase;
	color: #1a6332;
}

.homeh2
{
	font-family: "Lato", sans-serif;
	font-weight: 300;
    font-style: normal;
	text-transform: uppercase;
	color: #FFF;
	font-size: 44px;
	padding-bottom: 15px;
}

.homeh2black
{
	font-family: "Lato", sans-serif;
	font-weight: 300;
    font-style: normal;
	text-transform: uppercase;
	color: #000;
	font-size: 44px;
	padding-bottom: 15px;
	line-height: 1;
}



.homeh3
{
	font-family: "Lato", sans-serif;
	font-weight: 300;
    font-style: normal;
	text-transform: uppercase;
	color: #666;
	font-size: 44px;
	padding-bottom: 15px;
	line-height: 1.2;
}

.homeh4
{
	font-family: "Palanquin Dark", sans-serif;
	font-weight: 300;
    font-style: normal;
	text-transform: uppercase;
	color: #1a6332;
	font-size: 22px;
	padding-bottom: 15px;
	line-height: 1.2;
}

.sectiontitle
{
  font-family: "Palanquin Dark", sans-serif;
	font-weight: 300;
    font-style: normal;
	text-transform: uppercase;
	color: #1a6332;
	font-size: 29px;
	padding-bottom: 15px;
	line-height: 1.2;
}



/* Latest Machinery */
.sectionheader {
	margin-top: 35px;
	background-color: #fff;
}

.sectionheadercenter
{
	width: 1170px;
	margin: auto;
}



/* Latest Machinery */
.latest {
    padding: 60px 0;
	background-color: #d2d2d2;
	margin-top: 10px;
}

.latestcontainer
{
	width: 1170px;
	margin: auto;
}


.latest-items {
    display: flex;
    gap: 48px;
    justify-content: center;
}

.latest-items .item {
    background-color: #FFF;
    color: #666;
    padding: 0px;

	border: 4px solid #fff;
    /*border-radius: 5px;*/
}

/* News Section */
.news {
    background-color: #fff;
    margin-top: 50px;
    margin-bottom: 50px;
	height: 185px;
}

.newscontainer {
    width: 1170px;
    margin: auto;
}

.newscontainersub1 {
    width: 580px;
	float: left;
	margin-right: 10px;
}

.newscontainersub2 {
    width: 580px;
	float: left;

}

.news-articles {
    padding: 20px;
	background-color: #f2f2f2;
	border-radius: 10px;
}






/* Newsletter Section */
.newsletter {
    background-color: #1a6332; /* Match the red footer style */
    padding: 40px 0;
    color: #fff;
    text-align: center;
	height: 220px;
}

.newsletter-container {
    width: 1170px;
    margin: auto;
}

.newsletter h4 {
    font-family: "Palanquin Dark", sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}

.newsletter p {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
}

.newsletter form {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletter input[type="text"] {
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    width: 250px;
    margin-bottom: 10px;
}

.newsletterbtn {
	font-family: "Palanquin Dark", sans-serif;
	padding: 0px 20px;
    font-size: 16px;
    border: none;
    background-color: #009750;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
	height:38px;
}

.newsletter input[type="submit"]:hover {
    background-color: #49d35a;
    color: #fff;
}

.newsletterh4
{
	font-family: "Palanquin Dark", sans-serif;
	font-weight: 300;
    font-style: normal;
	text-transform: uppercase;
	color: #FFF;
	font-size: 22px;
	padding-bottom: 15px;
	line-height: 1.2;
}






/* Footer Section */
.footer {
    background-color: #fff;
    color: #414141;
    padding: 0px 0;
    text-align: center;
}

.footer-container {
    width: 1170px;
    margin: auto;
	margin-top: 28px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #414141;
    text-decoration: none;
    font-family: "Palanquin Dark", sans-serif;
    font-weight: 300;

}

.footer-links a:hover {
    color: #009750;
}

.footer p {
    font-size: 14px;
    font-family: "Roboto", sans-serif;
}


.footerred
{
	background-color: #009750;
	margin-top: 100px;
}

.footerlogo
{
	margin-top: -65px;
}



#mobileMenuIcon 
{
		visibility:hidden;
		display: none;
}

.mobile-menu
{
		visibility:hidden;
		display: none;
}






.second-title-section {
    background-color: #f9f9f9;
    padding: 50px 0;
}

.second-title-container {
    width: 1170px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.second-title-text {
    max-width: 600px;
}


.second-title-text2 {

}

.second-title-text h2 {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    color: #1a6332;
    font-size: 36px;
    margin-bottom: 20px;
}

.second-title-text p {
    font-family: "Palanquin Dark", sans-serif;
    font-weight: 100;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.second-title-text2 {
    max-width: 100%;
	text-align: left;
}

.second-title-text2 ul, ol{
	margin-left: 35px;
	margin-top: 20px;
	margin-bottom: 20px;
}

.second-title-text2 p
{
	margin-top: 15px;
	margin-bottom: 15px;
}

.second-title-text2 a,
.second-title-text2 a:visited,
.second-title-text2 a:hover,
.second-title-text2 a:active {
    color: darkgreen;
	font-weight: bold;
}


.second-title-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
	border-bottom: 7px solid #009750;
}

.newsbox
{
	width: 100%;
	background-color: #d9d9d9;
	border-radius: 5px;
	margin-bottom: 20px;
}

.newspad
{
	padding: 25px;
}

.newspad a
{
	color: #474646;
	font-weight: bold;
}


.news-section {
    background-color: #f9f9f9;
    padding: 50px 0;
}

.news-container {
    width: 1170px;
    margin: auto;
    /*display: flex;*/
    justify-content: space-between;
    gap: 30px;
}



.mcontainer2 {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    width: 1170px;
    margin: auto;
}




.mcontainer {
    display: grid;
    grid-template-columns: 292px 1fr;
    gap: 0 20px;
    width: 1170px;
    margin: auto;
    padding-top: 20px;
    align-items: start;
}


/* Sidebar for categories */
.category-sidebar {
    width: 292px;
    background-color: #fff;
    padding-right: 20px;
}

.category-sidebar ul {
    list-style: none;
    padding: 0;
}


.category-sidebar {
    display: block; /* Visible on desktop */
}

/* Styles for the mobile menu */
.category-sidebar-mobile {
    display: none; /* Hidden on desktop by default */
}


.category-sidebar ul li {
    margin-bottom: 1px;
}

.category-sidebar ul li a {

    text-decoration: none;
    font-family: 'Palanquin Dark', sans-serif;
    font-size: 18px;
    display: block;
    padding: 10px;
    background-color: #1a6332;
    color: white;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.category-sidebar ul li a:hover {
    background-color: #009750;
}

/* Grid layout for the machinery items */
.machinery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px;
    padding-right: 20px;
    width: 100%;
	grid-template-rows: none;
}

.machinery-item {
    background: #fff;
    border-bottom: 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
}

.machinery-item a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
    flex: 1 1 auto;
    background: #fff;
}

.machinery-img-container {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    background: #f7f7f7 !important;
    overflow: hidden !important;
    border-bottom: 5px solid #1a6332 !important;
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.machinery-img-container img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}




.machinery-item p {
    margin: 0;
    padding: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: #333;
    background: #fff;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}




.menu-button {
    display: none; /* Hidden for large screens */
    background-color: #c64c46;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%; /* Take up full width for mobile */
    text-align: left;
}

.category-dropdown {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease; /* Smooth transition */
}

/* When the menu is toggled open */
.category-dropdown.open {
    opacity: 1;
    max-height: 881px; /* Set a max-height suitable for your dropdown items */
}

.category-dropdown li {
    background-color: #fff;
    margin-bottom: 10px;
}

.category-dropdown li a {
    display: block;
    padding: 10px;
    background-color: #636363;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
}

.category-dropdown li a:hover {
    background-color: #ad3029;
}

/* More as before... */
.contact-form {
    background-color: #f9f9f9;
    padding: 30px;
    margin: 50px auto;
    width: 50%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.contact-form h2 {
    text-align: center;
    color: #1a6332;
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Roboto', sans-serif;
    color: #333;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: 'Roboto', sans-serif;
}
.contact-form textarea {
    height: 150px;
    resize: vertical;
}
.contact-form button {
    width: 100%;
    background-color: #1a6332;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.contact-form button:hover {
    background-color: #2f874c;
}
.machine {
    text-align: center;
    width: 100%;
}
#galleria-container {
    min-height: 300px;
}
.galleria {
    min-height: 300px;
    width: 600px;
}
.thumbnails {
    flex-wrap: wrap;
}
.thumbnails a {
    flex-grow: 1;
    height: 200px;
    margin: 2px;
    border-radius: 2px;
    overflow: hidden;
}
.thumbnails img {
    border: 1px solid #7d7d7d;
}
/* Font classes ... (as in your original code) */
.palanquin-dark-regular {
  font-family: "Palanquin Dark", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.palanquin-dark-medium {
  font-family: "Palanquin Dark", sans-serif;
  font-weight: 500;
  font-style: normal;
}
.palanquin-dark-semibold {
  font-family: "Palanquin Dark", sans-serif;
  font-weight: 600;
  font-style: normal;
}
.palanquin-dark-bold {
  font-family: "Palanquin Dark", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}
.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}
.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}
.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}
.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}
.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}
.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}
.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}
.whatsapp-float {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 999;
    }

    .whatsapp-button {
      background-color: #25D366;
      border: none;
      border-radius: 50%;
      padding: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      cursor: pointer;
    }

    .whatsapp-button img {
      width: 32px;
      height: 32px;
    }

    .chat-box {
      position: fixed;
      bottom: 80px;
      right: 20px;
      background: white;
      border: 1px solid #ddd;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      padding: 10px;
      width: 250px;
      display: none;
      z-index: 1000;
      box-sizing: border-box;
    }

    .chat-box textarea {
      width: 100%;
      height: 100px;
      padding: 8px;
      resize: none;
      font-size: 14px;
      border: 1px solid #ccc;
      border-radius: 6px;
      box-sizing: border-box;
    }

    .chat-box button {
      background-color: #25D366;
      color: white;
      border: none;
      padding: 8px 12px;
      border-radius: 4px;
      cursor: pointer;
      float: right;
      margin-top: 8px;
    }



@media only screen and (max-width: 1170px) 
{
	
/* Grid layout for the machinery items */
.machinery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 20px;
    padding-right: 0px;
    width: 100%;
}	
	
header
{
	width: 100%;
	margin: auto;
}	
	
.top-bar
{
	width: 100%;
	height: 99px;
	background-color: #fff;
	display: block;
	
}	
	
	
.poultrymachinery
{
	width: 100%;
	float: left;
	padding-top: 80px;
	/*visibility: hidden;
	display:none;*/
}	
	
.topright
{
	width: 100%;
	height: 105px;
	float: left;
	text-align: center;
}
	
	
.toprightpadding
{
	padding-top: 15px;
    padding-left: 0px;
}	
	
	
.nav-bar
{
	width: 100%;
	height: 65px;
	background-color: #009750;
	z-index: 2;
	position: relative;
	background-image: none;
	clear: both;
}	

#logo
{
	width: 150px;
	height: 202px;
	position: relative;
	z-index: 5;
	padding-left: 0px;
	margin: auto;
	margin-top: 27px;
}	

	
#logo img {
        width: 150px; /* Adjust to a smaller size */
        height: auto; /* Maintain aspect ratio */
        margin-top: 50px; /* Adjust margin if needed */
    }	
	
.top-bar-padding
{
	padding-top: 0px;
    padding-left: 0px;
	text-align: center;
}

.nav-bar-pad
{
	padding-top: 15px;
	padding-left: 0px;
	text-align: center;
}	
	
	
	
.hero {
    background: url('img/hero-bg.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
	height: 262px;
	margin-top: 55px;
	z-index: 1;
}


.hero-buttons
{
	background-color: #fff;
	background-color: rgba(255, 255, 255, 0.30); /* White with 15% opacity */
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 0px;
	padding-bottom: 0px;
	width: 100%;
	height: 262px;
	margin:auto;
	margin-top: -100px;
}

	
.pano {
    background: url('img/pano.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
	height: 163px;
	margin-top: -42px;
	z-index: 1;
	visibility: hidden;
	display:none;
}	
	
	
	
	
.btn
{
	background-color: #1a6332;
	border: 1px solid #ffffff;
	font-family: "Lato", sans-serif;
	font-weight: 300;
    font-style: normal;
	text-transform: uppercase;
	color: #fff;
	padding: 20px;
	font-size: 28px;
	opacity: 1;
	margin-left: 15px;
	margin-right: 15px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Faint shadow glow */
}
	
	
.red {
        color: #fff;
        background-color: #009750;
        height: auto; /* Remove fixed height to allow auto-resizing */
        padding: 0px 0; /* Add padding for spacing */
		padding-bottom: 25px;
    }
	
.red3 {
        color: #fff;
        background-color: #009750;
        height: auto; /* Remove fixed height to allow auto-resizing */
        padding: 0px 0; /* Add padding for spacing */
		padding-bottom: 25px;
    }	
	
	
	

    .redcontainer {
        width: 100%;
        margin: auto;
        height: auto; /* Remove fixed height */
        background-image: url("img/cog_bg.jpg");
        background-repeat: no-repeat;
		background-position: center;
        background-size: cover; /* Ensure the background scales properly */
        padding: 0 15px; /* Add horizontal padding to ensure content isn't cut off */
    }

    .red-content {
        padding-top: 20px; /* Adjust padding to add spacing in mobile view */
        line-height: 1.6; /* Improve readability */
    }	
	
	
	
	
	
    .second-title-container {
		width: 100%;
        flex-direction: column;
        text-align: center;
    }

    .second-title-text {
        max-width: 100%;
    }

    .second-title-image img {
        max-width: 100%;
    }	
	
	
.second-title-section {
    background-color: #f9f9f9;
    padding: 50px;
}	
	
	
	
	
	

.reconditioned {
    background-color: #FFF;
}

.reconditioned-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: auto;
        padding-top: 0px;
        gap: 20px;
    }

.reconditioned-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
        padding-top: 20px;
		padding-bottom: 20px;
		padding-left: 20px;
		padding-right: 20px;
		margin-top: 0px;
    }

.reconditioned-image {
    width: 587px;
    height: auto;
}

.reconditioned-text {
    max-width: 600px;
	width: 100%;
}

.reconditioned-text .homeh2 {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    color: #ad3029;
    font-size: 36px;
    margin-bottom: 20px;
}

.reconditioned-text p {
    font-family: "Palanquin Dark", sans-serif;
	  font-weight: 100;
  font-style: normal;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.reconditioned-padding
{
	padding-top: 30px;
	padding-right: 20px;
}
	
	
.mobileimg
{
	max-width: 100%;
}
	
	
/* Latest Machinery */
.sectionheader {
	margin-top: 35px;
	background-color: #fff;
}

.sectionheadercenter
{
	width: 100%;
	margin: auto;
	text-align: center;
}	
	
.latestcontainer {
        width: 100%;
        margin: auto;
        padding: 0 15px; /* Add padding for better spacing */
    }

    .latest-items {
        display: flex;
        flex-direction: column;
        gap: 20px; /* Add space between items */
        align-items: center;
    }

    .latest-items .item {
        width: 100%;
        max-width: 600px; /* Limit the width for a better mobile experience */
        text-align: center;
        padding: 10px;
        background-color: #fff;
        border: 4px solid #fff;
    }

    .latest-items img {
        width: 100%;
        height: auto; /* Make sure images are responsive */
    }
	

	
	
 .news {
        background-color: #fff;
        margin-top: 20px;
        margin-bottom: 40px; /* Space below to ensure no overlap */
        padding: 20px 0; /* Padding for spacing inside the news section */
        position: relative; /* Ensure the section takes up proper space */
        clear: both; /* Ensure no floats interfere */
    }

    .newscontainer {
        width: 100%;
        margin: auto;
        padding: 0 15px;

    }

    .newscontainersub1, .newscontainersub2 {
        width: 100%; /* Full width for mobile */
        text-align: center;
    }

 .newscontainersub2 {
        width: 100%; /* Full width for mobile */
        text-align: center;
	 	margin-top: 20px;
	 margin-bottom: 30px;
    }	
	
	
    .news-articles {
        padding: 20px;
        background-color: #f2f2f2;
        border-radius: 10px;
        text-align: left;
    }

    .newsletter {
        background-color: #009750;
		height: auto;
        padding: 40px 0;
        color: #fff;
        text-align: center;
        margin-top: 20px; /* Space above newsletter */
        position: relative; /* Ensure correct stacking */
        clear: both; /* Make sure it appears below all content above */
    }

    .newsletter-container {
        width: 100%;
        margin: auto;
        padding: 0 15px;
    }
	
	
.newsletter form {
        display: flex;
        flex-direction: column;  /* Stack the input fields vertically */
        align-items: center;     /* Center the input fields */
        gap: 10px;               /* Add space between the fields */
    }

    .newsletter input[type="text"],
    .newsletter input[type="submit"] {
        width: 100%;             /* Make the inputs take full width */
        max-width: 300px;        /* Optional: limit the width to avoid it being too wide */
        text-align: center;      /* Center the text inside inputs */
    }	
	
	

.mcontainer {
        width: 100%;
        padding: 20px;
    }
    .category-sidebar 
	{
        width: 292px;
        margin-bottom: 20px;
    }

.machinery-grid {
grid-template-columns: repeat(2, 1fr); /* 2 columns */
        gap: 20px;
        padding-right: 0px;
        width: 100%;
    }
	

	
	
/* Footer Section */
.footer {
    background-color: #fff;
    color: #414141;
    padding: 0px 0;
    text-align: center;
}

.footer-container {
    width: 100%;
    margin: auto;
	margin-top: 28px;
}

.footer-links {
        display: flex;
        flex-direction: column; /* Stack links vertically */
        align-items: center;    /* Center the links */
        gap: 10px;              /* Add space between the links */
    }

    .footer-links a {
        width: 100%;            /* Ensure links take full width */
        text-align: center;      /* Center text inside links */
    }

    .footer-container {
        padding: 20px;          /* Add some padding for better spacing */
    }

.footer-links a {
    color: #414141;
    text-decoration: none;
    font-family: "Palanquin Dark", sans-serif;
    font-weight: 300;

}

.footer-links a:hover {
    color: #c64c46;
}

.footer p {
    font-size: 14px;
    font-family: "Roboto", sans-serif;
}


.footerred
{
	background-color: #009750;
	margin-top: 100px;
}

.footerlogo
{
	margin-top: -65px;
}


.homeh2
{
	font-family: "Lato", sans-serif;
	font-weight: 300;
    font-style: normal;
	text-transform: uppercase;
	color: #FFF;
	font-size: 44px;
	padding-bottom: 15px;
	line-height: 1;
}	
	
	
.homeh3
{
	font-family: "Lato", sans-serif;
	font-weight: 300;
    font-style: normal;
	text-transform: uppercase;
	color: #666;
	font-size: 36px;
	padding-bottom: 15px;
	line-height: 1.2;
}	

.newsh3
{
	font-family: "Lato", sans-serif;
	font-weight: 300;
    font-style: normal;
	color: #666;
	font-size: 26px;
	padding-bottom: 15px;
	line-height: 1.2;
}	
	
	
	
	

	.nav-bar 
	{
                display: none;
    }
	
#mobileMenuIcon 
	{
		display: block;
		visibility:visible;
        width: 100%;
        position: fixed;
        top: 0px;
        right: 0px;
        background-color: #009750;
        color: #fff;
        border: none;
        font-size: 30px;
        padding-top: 0px;
        padding-bottom: 5px;
        padding-left: 10px;
        padding-right: 10px;
        cursor: pointer;
        z-index: 10;
        font-family: "Palanquin Dark", sans-serif;
		text-transform: uppercase;
            }
        
        
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #009750;
    color: #fff;
    z-index: 20;
    padding: 40px;
    visibility: visible;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease-in; /* Fade effect */
	text-transform: uppercase;
}

.mobile-menu.show {
    opacity: 1; /* Fades in the background */
}
        .mobile-menu ul {
            list-style: none;
                    padding-top: 40px;
			text-align: center;
        }
        
        .mobile-menu ul li {
            margin-bottom: 20px;
        }
        
        .mobile-menu ul li a {
            color: #fff;
            text-decoration: none;
            font-size: 24px;
        }
        
        .close-menu {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: #fff;
            font-size: 30px;
            cursor: pointer;
        }
	
	

	
	
	
.newsbox
{
	width: 100%;
	background-color: #d9d9d9;
	border-radius: 5px;
	margin-bottom: 20px;
}

.newspad
{
	padding: 25px;
}



.news-section {
    background-color: #f9f9f9;
    padding-top: 50px;
	padding-bottom: 50px;
	padding-left: 10px;
	padding-right: 10px;
}

.news-container {
    width: 100%;
    margin: auto;
    /*display: flex;*/
    justify-content: space-between;
    gap: 30px;
}
	
	
	
	
	
	
	
	
	
	
	
}



@media only screen and (max-width: 700px) 
{
	
.logopano {
    background: url('img/logo-pano.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
	height: 163px;
	margin-top: -42px;
	z-index: 1;
	visibility: hidden;
	display: none;
}	

.logopano2 {

	visibility: hidden;
	display: none;
}	
	
	
.btn
{
	display: block;
	background-color: #009750;
	border: 1px solid #ffffff;
	font-family: "Lato", sans-serif;
	font-weight: 300;
    font-style: normal;
	text-transform: uppercase;
	color: #fff;
	padding: 20px;
	font-size: 28px;
	opacity: 1;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-top: 15px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Faint shadow glow */
}	
	
	
.machinery-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 column for mobile screens */
    }	
	
    .category-sidebar {
        display: none; /* Hide desktop version */
    }
    .category-sidebar-mobile {
        display: block; /* Show mobile version */
		padding: 10px;
    }
	
.menu-button {
    display: block; 
    background-color: #1c791e;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%; /* Take up full width for mobile */
    text-align: center;
	margin-bottom: 10px;
	font-weight: bold;
}	
	
	
	
    .contact-form {
        width: 90%; /* Increase form width for smaller screens */
        padding: 20px; /* Adjust padding */
    }
    
    .contact-form h2 {
        font-size: 24px; /* Adjust font size for smaller screens */
    }
    
    .contact-form input, .contact-form textarea {
        font-size: 16px; /* Make input text size slightly bigger */
    }
    
    .contact-form button {
        font-size: 18px; /* Adjust button text size */
        padding: 12px; /* Add more padding for better touch interaction */
    }	
	

.news-container {
        display: block; /* Disable flex or grid on the container */
    }

    .newsbox {
        width: 100%; /* Each .newsbox takes full width */
        margin-bottom: 20px; /* Optional spacing between stacked items */
    }

	
.hero
{
background: none;
	}	
	
.hero-buttons{
	        height: auto;
	
	}
	
	.mobhero
{
	display:block;
	visibility:visible;
}
	
    .mcontainer {
        display: block;
        width: 100%;
        padding: 8px;
    }
	
}


@media only screen and (max-width: 350px) 
{


.mainheader
{
	font-family: "Lato", sans-serif;
	font-weight: 300;
    font-style: normal;
	text-transform: uppercase;
	color: #1a6332;
	font-size: 24px;
}	
	
	
/* Center the logo container */
  #logo {
    display: flex;              /* make it a flex parent */
    justify-content: center;    /* horizontal centering */
    align-items: center;        /* vertical centering (if it had fixed height) */
    margin: 0 auto;             /* fallback centering if flex isn’t used */
    padding: 0;                 /* remove any leftovers */
    width: 100%;                /* fill the mobile viewport */
    height: auto;               /* let it size to its contents */
	  padding-top: 74px;
  }

  /* Scale the <img> within #logo */
  #logo img {
    width: 80%;                 /* shrink to 80% of the container’s width */
    max-width: 120px;           /* optionally cap it so it never gets too big */
    height: auto;               /* preserve aspect ratio */
    display: block;             /* margin:auto centering fallback */
    margin: 0 auto;             /* center in case you didn’t use flex on #logo */
  }	
	
hero-buttons{
	        height: auto;
	
	}
	
.mobhero
{
	display:block;
	visibility:visible;
}	
	
.hero
{
background: none;
	}
	
	
}

/* ===== IFM MOBILE/TABLET PATCH v4 — desktop untouched ===== */

/* 0) Make sure the logo actually shows on small screens */
@media (max-width:1170px){
  #logo{
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 6px auto 4px !important;
    padding: 0 !important;
    z-index: 1000 !important;
  }
  #logo img{
    max-width: 206px !important; /* your logo image width */
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  /* 1) Tighten space above/below logo + phone line */
  .poultrymachinery{ padding-top: 6px !important; }   /* was ~80px */
  .topright{ height: auto !important; padding: 4px 0 !important; }
  .toprightpadding{ padding-top: 4px !important; }
}

/* 2) “Due to the closure …” colours must match desktop (white bg, black text)
      On mobile your .redcontainer gets a bg image — remove it only in .white */
@media (max-width:1170px){
  .white{ background:#fff !important; color:#000 !important; }
  .white .homeh2black{ color:#000 !important; }
  .white .redcontainer{
    background-image: none !important;
    background-color: transparent !important;
  }
}

/* 3) Hide the world map on phones (both hero variants) */
@media (max-width:900px){
  .hero, .mobhero, .pano, .logopano, .logopano2{ display: none !important; }
}

/* 4) On tablet, make sure the logo isn’t hidden under the map */
@media (min-width:701px) and (max-width:1170px){
  .hero{ margin-top: 0 !important; z-index: 1 !important; }
  #logo{ z-index: 1002 !important; }
}

/* General mobile overlap guard (sections auto height) */
@media (max-width:1170px){
  .white, .red, .red3{
    height: auto !important;
    padding: 28px 0 32px !important;
    clear: both !important;
  }
  .white-content, .red-content{ padding-top: 0 !important; }
}


/* === Tablet logo fix (901–1170px) — desktop untouched === */
@media (min-width:901px) and (max-width:1170px){
  /* keep header above the hero map */
  header { position: relative; z-index: 20; }

  /* show the logo and reserve space for it */
  #logo{
    position: relative !important;
    z-index: 21 !important;
    margin-top: 6px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  #logo img{
    max-width: 206px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  /* same trick you used on mobile to prevent overlap */
  .poultrymachinery { padding-top: 88px !important; } /* tweak 70–100px if needed */

  /* ensure the hero doesn’t creep upward */
  .hero { margin-top: 0 !important; }
}


/* === Tablet/mobile: contain header + place logo under MENU (desktop untouched) === */

/* Common (≤1170px) */
@media (max-width:1170px){
  /* Keep the MENU button on top */
  #mobileMenuIcon{ z-index: 1000 !important; }

  /* Header sits above the hero */
  header{ position: relative; z-index: 5; }

  /* Contain the floats so .top-bar has height */
  .top-bar::after{ content:""; display:block; clear:both; }

  /* Ensure hero starts below header */
  .hero{ margin-top: 0 !important; }
}

/* Mobile (≤900px) */
@media (max-width:900px){
  /* Reserve space for logo/phone under MENU */
  .poultrymachinery{ padding-top: 88px !important; }  /* adjust if needed */
  /* Hide the world map on phones */
  .hero, .mobhero, .pano, .logopano, .logopano2{ display:none !important; }
}

/* Tablet (901–1170px) */
@media (min-width:901px) and (max-width:1170px){
  /* Reserve vertical space so logo sits under MENU and ABOVE hero */
  .poultrymachinery{ padding-top: 88px !important; }  /* tweak 72–100px if desired */

  /* Show the logo normally (not absolute) */
  #logo{
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 6px 0 8px !important;
    z-index: 6 !important; /* below MENU (1000), above hero (1) */
  }
  #logo img{
    max-width: 206px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }
}

/* === Tablet header height fix (901–1170px) === */
@media (min-width:901px) and (max-width:1170px){
  /* Let the header actually grow to contain the logo/phone */
  .top-bar{ height:auto !important; padding-bottom:8px !important; }
  .top-bar::after{ content:""; display:block; clear:both; } /* contain floats */

  /* Keep your spacing for the logo block under the MENU bar */
  .poultrymachinery{ padding-top:88px !important; }

  /* Make sure hero starts below the header */
  .hero{ margin-top:0 !important; }

  /* Logo sits under MENU, above hero */
  #logo{ position:relative !important; z-index:6 !important; }
}

/* Mobile heading sizes (phones) */
@media (max-width:900px){
  .homeh2,
  .homeh2black{
    font-size: 27px !important;
    line-height: 1.2;
  }
}


.greenbutton
{
	border-radius: 15px;
    background-color: #009a53;
    padding: 20px;
    text-decoration: none;
    color: #fff;
}


/* Make .greenbutton behave like real buttons */
.greenbutton{
  display: inline-flex;              /* solid box, no weird splits */
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background-color: #009a53;
  padding: 14px 20px;                /* a bit tighter so they fit better */
  text-decoration: none;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;               /* keep text on one line on wide screens */
  box-sizing: border-box;
}

/* Space between adjacent buttons on larger screens */
.greenbutton + .greenbutton{
  margin-left: 12px;
}

/* Stack and full-width on small screens */
@media (max-width: 900px){
  .greenbutton{
    display: block;                  /* stack vertically */
    width: 100%;                     /* full width */
    white-space: normal;             /* allow wrapping if text is long */
    text-align: center;
    margin: 10px 0 0 0;              /* vertical gap between buttons */
  }
  .greenbutton + .greenbutton{
    margin-left: 0;                  /* no horizontal gap when stacked */
  }
}

/* Optional: center them when not full-width but container is wide */
.button-row,
.hero-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
@media (max-width: 900px){
  .button-row,
  .hero-buttons{
    gap: 0;                          /* vertical spacing handled by .greenbutton margin */
  }
}

