
    :root {
        --primary-color: #2a5c45; /* Dark green */
        --secondary-color: #4a8c68; /* Medium green */
        --accent-color: #e8c337; /* Gold/yellow */
        --light-color: #f5f5f5;
        --dark-color: #333;
        --text-color: #444;
        --border-radius: 4px;
        --box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        --transition: all 0.3s ease;
        --primary-dark : #1e3f2d;
    }
    
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        color: var(--text-color);
        line-height: 1.6;
        background-color: #f9f9f9;
    }
    
    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

    /* Transparent and fixed only for home */
.header-transparent {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none !important;
}

.header-transparent nav > ul > li > a {
  color: #fff !important;
}

/* When scrolled */
.header-scrolled {
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* position: fixed; */
}

     */
    /* Header Styles - Matching Tractors Page */
    /* header {
        background-color: rgb(209, 24, 24);
        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 0;
    }
    
    .logo img {
        height: 60px;
        width: auto;
    } */
    
    /* Navigation - Matching Tractors Page */
    /* nav ul {
        display: flex;
        list-style: none;
    }
    

    
    nav ul li a {
        color: var(--dark-color);
        text-decoration: none;
        font-weight: 600;
        padding: 8px 12px;
        border-radius: var(--border-radius);
        transition: var(--transition);
    }
    
    nav ul li a:hover, 
    nav ul li.active a {
        color: var(--primary-color);
        background-color: rgba(42, 92, 69, 0.1);
    }
     */
    /* Dropdown Menu - Matching Tractors Page */
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: white;
        width: 200px;
        box-shadow: var(--box-shadow);
        border-radius: var(--border-radius);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 100;
        margin-top: 20px;                                                                                                                                                                                                                                                                                                                       
        margin-left: -45px;
    }
    
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
    
    .dropdown-menu li {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    .dropdown-menu li a {
        display: block;
        padding: 10px 15px;
        border-bottom: 1px solid #eee;
    }

    .dropdown-menu li:last-child a {
        border-bottom: none;
    }
    
    /* Mobile Menu Button - Matching Tractors Page */
    .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--primary-color);
        cursor: pointer;
    }
    
    /* Hero Section - New Styling */
    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/image/bg.jpeg') no-repeat center center/cover;
        background-size: cover;
        color: white;
        padding: 120px 0;
        text-align: center;
        position: relative;
    }

    /* .hero {
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
            url('https://btownfarmsupply.com/wp-content/uploads/2024/08/hero-bg.jpg') no-repeat center center;
background-size: cover;
color: white;
padding: 120px 0;
text-align: center;
position: relative;
} */
    
    .hero-content {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .hero h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: white;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }
    
    .hero p {
        font-size: 1.2rem;
        margin-bottom: 30px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    
    .hero-btns {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
    
    .btn {
        display: inline-block;
        padding: 12px 25px;
        border-radius: var(--border-radius);
        text-decoration: none;
        font-weight: 600;
        transition: var(--transition);
    }
    
    .btn-primary {
        background-color: var(--accent-color);
        color: var(--dark-color);
    }
    
    .btn-primary:hover {
        background-color: #d9b22e;
        transform: translateY(-2px);
    }
    
    .btn-secondary {
        background-color: transparent;
        color: white;
        border: 2px solid white;
    }
    
    .btn-secondary:hover {
        background-color: rgba(255,255,255,0.1);
        transform: translateY(-2px);
    }
    
    /* Section Title - Matching Tractors Page */
    .section-title {
        text-align: center;
        margin-bottom: 40px;
        color: var(--primary-color);
        font-size: 2.2rem;
        position: relative;
        padding-bottom: 15px;
    }
    
    .section-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: var(--accent-color);
    }
    
/* Categories Grid - New Styling */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.category-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.category-img {
    height: 200px;
    overflow: hidden;
}

.category-img img {
    width: 50%;
    height: 70%;
    object-fit: cover;
    transition: transform 0.5s;
    margin-top: 10px;
    margin-left: 84px;
}

.category-card:hover .category-img img {
    transform: scale(1.05);
}

.category-info {
    padding: 20px;
    text-align: center;
    margin-top: -50px;
}

.category-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.category-info p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color var(--transition);
}

.btn:hover {
    background-color: #0056b3;
}

/* Optional: Breakpoints for extra control */
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

    
    /* Products Grid - Matching Tractors Page */
    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .product-card {
        background-color: white;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--box-shadow);
        transition: var(--transition);
        position: relative;
    }
    
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }
    
    .product-img {
        height: 200px;
        overflow: hidden;
        position: relative;
    }
    
    .product-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }
    
    .product-card:hover .product-img img {
        transform: scale(1.05);
    }

    .product-image {
        width: 100%; /* or use a fixed width like 200px */
        height: 180px; /* reduced height */
        object-fit: contain; /* ensures image is fully visible, not cropped */
        border-bottom: 3px solid var(--accent-color);
        display: block;
        margin: 0 auto; /* centers the image */
    }
    
    .product-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: var(--accent-color);
        color: var(--dark-color);
        padding: 5px 10px;
        border-radius: var(--border-radius);
        font-weight: bold;
        font-size: 0.8rem;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-info h3 {
        color: var(--primary-color);
        margin-bottom: 10px;
        font-size: 1.2rem;
    }
    
    .product-rating {
        color: var(--accent-color);
        margin-bottom: 15px;
    }
    
    .product-rating span {
        color: var(--text-color);
        font-size: 0.9rem;
        margin-left: 5px;
    }
    
    .product-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
.btn-add-to-cart {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    flex-grow: 1;
    margin-right: 10px;
    text-align: center;       /* for anchor text centering */
    text-decoration: none;    /* remove underline from <a> */
}

.btn-add-to-cart:hover {
    background-color: var(--secondary-color);
}

    
    .btn-wishlist {
        background-color: transparent;
        border: 1px solid #ddd;
        color: var(--text-color);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        transition: var(--transition);
    }
    
    .btn-wishlist:hover {
        color: #ff4757;
        border-color: #ff4757;
    }
    
    /* Testimonials - New Styling */
    .testimonials {
        background-color: var(--light-color);
        padding: 80px 0;
    }
    
    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .testimonial-card {
        background-color: white;
        border-radius: var(--border-radius);
        padding: 25px;
        box-shadow: var(--box-shadow);
    }
    
    .testimonial-content {
        margin-bottom: 20px;
        font-style: italic;
        position: relative;
    }
    
    .testimonial-content:before {
        content: '"';
        font-size: 3rem;
        color: rgba(42, 92, 69, 0.1);
        position: absolute;
        top: -15px;
        left: -10px;
    }
    
    .testimonial-author {
        display: flex;
        align-items: center;
    }
    
    .author-img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 15px;
    }
    
    .author-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .author-info h4 {
        color: var(--primary-color);
        margin-bottom: 5px;
    }
    
    .author-info p {
        font-size: 0.9rem;
        color: var(--text-color);
        margin-bottom: 5px;
    }
    
    /* Video Section - New Styling */
    .video-section {
        padding: 60px 0;
        background-color: white;
    }
    
    .video-container {
        position: relative;
        padding-bottom: 42.25%;
        height: 0;
        overflow: hidden;
        margin-bottom: 30px;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 5px solid var(--primary-green);
    }
    
    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
        border-radius: var(--border-radius);
    }
    
    /* About Section - New Styling */
    .about-section {
        padding: 80px 0;
        background-color: var(--light-color);
    }
    
    .about-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: center;
    }
    
    .about-text h2 {
        color: var(--primary-color);
        margin-bottom: 20px;
        font-size: 2rem;
    }
    
    .about-text p {
        margin-bottom: 15px;
    }
    
    /* Footer - Matching Tractors Page */
    footer {
        background-color: var(--primary-color);
        color: white;
        padding: 50px 0 20px;
    }
    
    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-column h3 {
        color: var(--accent-color);
        margin-bottom: 20px;
        font-size: 1.3rem;
        position: relative;
        padding-bottom: 10px;
    }
    
    .footer-column h3:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background-color: var(--accent-color);
    }
    
    .footer-column ul {
        list-style: none;
    }
    
    .footer-column ul li {
        margin-bottom: 10px;
    }
    
    .footer-column ul li a {
        color: white;
        text-decoration: none;
        transition: var(--transition);
    }
    
    .footer-column ul li a:hover {
        color: var(--accent-color);
        padding-left: 5px;
    }
    
    .contact-info p {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
    }
    
    .contact-info i {
        margin-right: 10px;
        color: var(--accent-color);
    }


    /* Video Section - New Styling */
.video-section {
padding: 60px 0;
background-color: white;
}

.video-container {
position: relative;
padding-bottom: 56.25%; /* 16:9 aspect ratio */
height: 0;
overflow: hidden;
margin-bottom: 20px;
border-radius: var(--border-radius);
}

.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}

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

.video-description p {
margin-bottom: 20px;
}
    
    /* Responsive Styles - Matching Tractors Page */
    @media (max-width: 992px) {
        .header-container {
            flex-wrap: wrap;
        }
        
        nav {
            width: 100%;
            order: 3;
            margin-top: 15px;
            display: none;
        }
        
        nav.active {
            display: block;
        }
        
        nav ul {
            flex-direction: column;
        }
        
        nav ul li {
            margin: 5px 0;
        }
        
        .dropdown-menu {
            position: static;
            opacity: 1;
            visibility: visible;
            width: 100%;
            box-shadow: none;
            display: none;
        }
        
        .dropdown:hover .dropdown-menu {
            display: block;
        }
        
        .mobile-menu-btn {
            display: block;
        }
        
        .hero {
            padding: 80px 0;
        }
        
        .hero h2 {
            font-size: 2rem;
        }
    }
    
    @media (max-width: 768px) {
        .section-title {
            font-size: 1.8rem;
        }
        
        .categories-grid,
        .products-grid,
        .testimonials-grid {
            grid-template-columns: 1fr;
        }
        
        .hero-btns {
            flex-direction: column;
        }
        
        .btn {
            width: 100%;
            text-align: center;
        }
    }

/* Banner */
.banner {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 40px;
}
/* Products Grid */
.products-grid1 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.view-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 10px;
}

.view-btn:hover {
    background-color: var(--secondary-color);
}
/* Call to Action */
.cta-section {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 0;
    text-align: center;
    border-radius: var(--border-radius);
    margin-bottom: 50px;
}

.cta-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #c8a97e;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Hero Section */
.product-hero {
    padding: var(--section-spacing) 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(248,248,248,1) 100%);
}

.hero-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Image Gallery */
.product-visuals {
    flex: 1;
    position: sticky;
    top: 100px;
}

.main-image-container {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,0.05);
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.thumbnail-gallery {
    display: flex;
    gap: 15px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    transition: var(--transition);
    background-color: white;
    padding: 5px;
}

.thumbnail:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

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

.specs-category {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.category-title {
    font-size: 1.2rem;
    color: var(--primary-medium);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.spec-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
}

.spec-name {
    flex: 1;
    color: var(--text-medium);
    font-weight: 500;
}

.spec-value {
    flex: 1;
    color: var(--primary-dark);
    font-weight: 500;
}


:root {
    --primary-color:#2a5c45;--secondary-color:#4a8c68;--accent-color:#e8c337;--light-color:#f5f5f5;--dark-color:#333;--text-color:#444;--border-radius:4px;--box-shadow:0 4px 8px rgba(0,0,0,.1);--transition:all .3s ease
}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;color:var(--text-color);line-height:1.6;background:#f9f9f9}
.container{width:90%;max-width:1200px;margin:0 auto;padding:0 15px}
header{background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.1);position:sticky;top:0;z-index:1000}
.header-container{display:flex;justify-content:space-between;align-items:center;padding:15px 0}
.logo img{height:60px;width:auto}
nav ul{display:flex;list-style:none}
nav ul li{position:relative;margin-left:20px}
nav ul li a{color:var(--dark-color);text-decoration:none;font-weight:600;padding:8px 12px;border-radius:var(--border-radius);transition:var(--transition)}
nav ul li a:hover,nav ul li.active a{color:var(--primary-color);background:rgba(42,92,69,.1)}
.dropdown-menu{position:absolute;top:100%;left:0;background:#fff;width:200px;box-shadow:var(--box-shadow);border-radius:var(--border-radius);opacity:0;visibility:hidden;display:none;transition:var(--transition);z-index:100}
/* Hover support for desktop */
@media(min-width:993px){.dropdown:hover>.dropdown-menu{display:block;opacity:1;visibility:visible}}
/* States triggered by JS */
nav.active{display:block !important}
.dropdown.open>.dropdown-menu{display:block !important;opacity:1 !important;visibility:visible !important}
.mobile-menu-btn{display:none;background:none;border:none;font-size:24px;color:var(--primary-color);cursor:pointer}
@media(max-width:992px){
    .header-container{flex-wrap:wrap}
    nav{width:100%;order:3;margin-top:15px;display:none}
    nav ul{flex-direction:column}
    nav ul li{margin:5px 0}
    .dropdown-menu{position:static;width:100%;box-shadow:none}
    .mobile-menu-btn{display:block}
}

/* About Sections */
.about-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #4a8f29;
    font-size: 32px;
    position: relative;
}

/* .section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #4a8f29;
    margin: 15px auto;
} */

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.values-section {
        padding: 60px 0;
    }
    
    .values-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .value-card {
        background: white;
        padding: 30px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        text-align: center;
    }
    
    .value-card i {
        font-size: 40px;
        color: #4a8f29;
        margin-bottom: 20px;
    }
    
    .value-card h3 {
        margin-bottom: 15px;
        color: #4a8f29;
    }

     /* Map Section */
    .map-section {
        padding: 60px 0;
        background-color: #f0f7ee;
    }
    
    .map-container {
        height: 400px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        margin-top: 30px;
    }
    
    .map-info {
        background: white;
        padding: 20px;
        border-radius: 8px;
        margin-bottom: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .map-info h3 {
        color: #4a8f29;
        margin-bottom: 15px;
    }