body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
}

.header {
  gap: 1rem;

  background: #187b32;
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 125px; height: auto;
}

nav a {
  margin-left: 1rem;
  color: white;
  text-decoration: none;
}

.hero, .section {
  padding: 2rem;
}


.product-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.card {
  flex: 1;
  width: 150px;
  background: #eaeaea;
  padding: 1rem;
  border-radius: 8px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  
}

input, textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background: #187b32;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
}

.footer {
  background: #187b32;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}


/* Hamburger icon */
.hamburger {
  position: absolute;
  top: 40px;
  right: 20px;
  
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1100;
  cursor: pointer;
}
.hamburger span {
  height: 4px;
  width: 100%;
  background-color: white;
  display: block;
  border-radius: 2px;
}

/* Side menu */
.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0,0,0,0.5);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1050;
}
.side-menu.active {
  transform: translateX(0);
}
.side-menu-links {
  list-style: none;
  padding: 20px;
  margin: 0;
}
.side-menu-links li {
  margin: 15px 0;
}
.side-menu-links a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  font-weight: bold;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
}


/* Move hamburger menu to top right corner */
.menu-toggle {
    position: absolute;
    top: 40px;
    right: 20px;
    z-index: 1000;
}

/* Reposition hamburger menu to top right corner */
.hamburger {
    position: absolute;
    top: 40px;
    right: 20px;
    z-index: 1000;
}

/* Vertically center hamburger menu in header */
.hamburger {
    top: 40px;
    
}

.menu-items li a { color: #187b32 !important; }





/* Grid for motor items */


.motor-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    gap: 20px;
    margin-top: 15px;
}
.motor-item {
    flex: 1;
    text-align: center;
}
.motor-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

.motor-item p {
    margin-top: 8px;
    font-weight: 500;
}


/* Styled link for product section */
.green-link {
  color: #187b32;
  text-decoration: none;
  font-weight: bold;
}

.green-link:hover {
  text-decoration: underline;
}


.product-banner-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 15px;
    margin-top: 20px;
}
.product-banner {
    height: 250px;
    width: 225px;
}



/* Mobile-friendly layout */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .image-row {
        flex-direction: column;
        align-items: center;
        gap: 10px !important;
    }

    .image-row img {
        height: auto;
        width: 90%;
        max-width: 250px;
    }

    .slider img {
        height: auto !important;
        width: 100% !important;
    }
}

/* Product Sections Styling */
.section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.section section {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section section:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section h2 a.green-link {
    color: #27ae60;
    text-decoration: none;
    transition: color 0.3s ease;
}

.section h2 a.green-link:hover {
    color: #2ecc71;
    text-decoration: underline;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Product Banner Container */
.product-banner-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #27ae60 #f1f1f1;
}

.product-banner-container::-webkit-scrollbar {
    height: 8px;
}

.product-banner-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.product-banner-container::-webkit-scrollbar-thumb {
    background-color: #27ae60;
    border-radius: 4px;
}

.product-banner {
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.product-banner:hover {
    transform: scale(1.05);
}
/* Product Banner Container with Overlay */
.product-banner-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #27ae60 #f1f1f1;
}

.product-banner {
    position: relative;
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.product-banner:hover {
    transform: scale(1.05);
}

/* Image Overlay for "Know More" */
.product-banner-container a {
    position: relative;
    display: inline-block;
}

.product-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-banner-container a:hover .product-banner-overlay {
    opacity: 1;
}

.know-more-text {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    padding: 0.5rem 1rem;
    background: #27ae60;
    border-radius: 4px;
}