/* 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;
    aspect-ratio: 16 / 9;
    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;
    aspect-ratio: 9 / 16;
    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: 32px;
    padding-left: 277px;
}

.nav-bar {
    width: 1170px;
    height: 65px;
    background-color: #009750;
    z-index: 2;
    position: relative;
    background-image: url("img/nav.png");
    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: none;
    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;
    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 / 746;
    background: url('img/hero-bg.jpg') no-repeat center center;
    background-size: contain;
    color: #fff;
    text-align: center;
    z-index: 1;
}

.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);
    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);
    text-decoration: none;
}

.btn a {
    text-decoration: none;
    color: #fff;
}




.btn2 {
    background-color:#b31519;
    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);
    text-decoration: none;
}

.btn2 a {
    text-decoration: none;
    color: #fff;
}







.red {
    color: #fff;
    background-color: #009750;
    height: 873px;
}

.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-image: url("img/cog_bg.jpg");
    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);
}

.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;
}

.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: #1a633ქ: #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;
}

/* 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;
    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;
    text-transform: uppercase;
}

.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;
    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;
}

.category-sidebar-mobile {
    display: none;
}

.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);
    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;
    background-color: #c64c46;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.category-dropdown {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease;
}

.category-dropdown.open {
    opacity: 1;
    max-height: 1800px;
}

.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;
}

.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;
}

.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;
}

/* New classes for desktop/mobile visibility */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media only screen and (max-width: 1170px) {
    .machinery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        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;
    }

    .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;
        height: auto;
        margin-top: 50px;
    }

    .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);
        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);
    }
	
	
	    .btn2 {
        background-color: #b31519;
        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);
    }
	

    .red {
        color: #fff;
        background-color: #009750;
        height: auto;
        padding: 0px 0;
        padding-bottom: 25px;
    }

    .red3 {
        color: #fff;
        background-color: #009750;
        height: auto;
        padding: 0px 0;
        padding-bottom: 25px;
    }

    .redcontainer {
        width: 100%;
        margin: auto;
        height: auto;
        background-image: url("img/cog_bg.jpg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        padding: 0 15px;
    }

    .red-content {
        padding-top: 20px;
        line-height: 1.6;
    }

    .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-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%;
    }

    .sectionheader {
        margin-top: 35px;
        background-color: #fff;
    }

    .sectionheadercenter {
        width: 100%;
        margin: auto;
        text-align: center;
    }

    .latestcontainer {
        width: 100%;
        margin: auto;
        padding: 0 15px;
    }

    .latest-items {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .latest-items .item {
        width: 100%;
        max-width: 600px;
        text-align: center;
        padding: 10px;
        background-color: #fff;
        border: 4px solid #fff;
    }

    .latest-items img {
        width: 100%;
        height: auto;
    }

    .news {
        background-color: #fff;
        margin-top: 20px;
        margin-bottom: 40px;
        padding: 20px 0;
        position: relative;
        clear: both;
    }

    .newscontainer {
        width: 100%;
        margin: auto;
        padding: 0 15px;
    }

    .newscontainersub1, .newscontainersub2 {
        width: 100%;
        text-align: center;
    }

    .newscontainersub2 {
        width: 100%;
        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;
        position: relative;
        clear: both;
    }

    .newsletter-container {
        width: 100%;
        margin: auto;
        padding: 0 15px;
    }

    .newsletter form {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .newsletter input[type="text"],
    .newsletter input[type="submit"] {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .mcontainer {
        width: 100%;
        padding: 20px;
    }

    .category-sidebar {
        width: 292px;
        margin-bottom: 20px;
    }

    .machinery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding-right: 0px;
        width: 100%;
    }

    .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;
        align-items: center;
        gap: 10px;
    }

    .footer-links a {
        width: 100%;
        text-align: center;
    }

    .footer-container {
        padding: 20px;
    }

    .footer-links a {
        color: #414141;
        text-decoration: none;
        font-family: "Palanquin Dark", sans-serif;
        font-weight: 300;
        text-transform: uppercase;
    }

    .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;
        transition: opacity 0.3s ease-in;
        text-transform: uppercase;
    }

    .mobile-menu.show {
        opacity: 1;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        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;
        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);
    }

	
    .btn2 {
        display: block;
        background-color: #b31519;
        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);
    }
	
	
	
    .machinery-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .category-sidebar {
        display: none;
    }

    .category-sidebar-mobile {
        display: block;
        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%;
        text-align: center;
        margin-bottom: 10px;
        font-weight: bold;
    }

    .contact-form {
        width: 90%;
        padding: 20px;
    }

    .contact-form h2 {
        font-size: 24px;
    }

    .contact-form input, .contact-form textarea {
        font-size: 16px;
    }

    .contact-form button {
        font-size: 18px;
        padding: 12px;
    }

    .news-container {
        display: block;
    }

    .newsbox {
        width: 100%;
        margin-bottom: 20px;
    }

    .hero {
        background: none;
    }

    .hero-buttons {
        height: auto;
    }

    .mobhero {
        display: block;
        visibility: visible;
    }

    .mcontainer {
        display: block;
        width: 100%;
        padding: 8px;
    }

    /* Show mobile-only section and hide desktop-only sections */
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

@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;
    }

    #logo {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        height: auto;
        padding-top: 74px;
    }

    #logo img {
        width: 80%;
        max-width: 120px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .hero-buttons {
        height: auto;
    }

    .mobhero {
        display: block;
        visibility: visible;
    }

    .hero {
        background: none;
    }
}