/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and general layout */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */
header {
    background-color: #003366;
    color: white;
    padding: 10px 0;
    text-align: center;
}

/* header .logo img {
    width: 150px;
    height: auto;
    position: absolute;
    left: 10px;
} */

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Sections */
section {
    padding: 20px;
    margin: 20px 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section h2 {
    margin-bottom: 10px;
    color: #003366;
}


section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Product list */
.product-list {
    /* display: flex; */
    flex-wrap: wrap;
    gap: 20px;
}

.product-item {
    flex: 1 1 calc(33% - 20px);
    background-color: #e9ecef;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.product-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #003366;
    color: white;
    position: relative;
    width: 100%;
    bottom: 0;
}
#photo{ max-width: 100vw;
        
    
}
.image-gallery {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  scroll-behavior: smooth;
}

.image-item img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

button {
  position: absolute;
  top: 50%;

  transform: translateY(-50%);
  background-color: rgb(0, 0, 230);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

button.prev {
  left: 10px;
}

button.next {
  right: 10px;
}
#product {
  text-align: center;
  margin: 20px;
}

.product-cover {
  margin-bottom: 20px;
}

.product-cover img {
  width: 100%;
  max-width: 500px;
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.product-cover img:hover {
  transform: scale(1.05);
}

.image-gallery {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.image-item {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 8px;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.image-item img:hover {
  transform: scale(1.1);
}
/* from here trash */
#product {
  text-align: center;
  margin: 20px;
}

.product-overview {
  margin-bottom: 20px;
}

.product-overview img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
}

.image-gallery {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.image-item {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 8px;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.image-item img:hover {
  transform: scale(1.1);
}

button.prev, button.next {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 5px;
  cursor: pointer;
  border-radius: 7px;
  margin: 0;
}

button.prev:hover, button.next:hover {
  background-color: #0056b3;
}

.product-details {
  margin-top: 20px;
  text-align: left;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.product-details table {
  width: 100%;
  border-collapse: collapse;
}

.product-details th, .product-details td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.product-description {
  margin-top: 20px;
  text-align: left;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
/* from here trash2 */
#product {
  text-align: center;
}

.product-cover img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-bottom: 20px;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.image-item img {
  width: 100px;
  height: auto;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.image-item img:hover {
  transform: scale(1.1);
  border-color: #007bff;
}
/* updated css */
#product {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}

.product-cover img {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-bottom: 20px;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.image-item {
  flex: 1 1 100%;
  max-width: 250px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.image-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.image-item:hover {
  transform: scale(1.05);
  border-color: #007bff;
}

@media (min-width: 768px) {
  .image-item {
    flex: 1 1 48%;
  }
}

@media (min-width: 1024px) {
  .image-item {
    flex: 1 1 30%;
  }
}


@media (min-width: 1024px) {
  .image-item {
    flex: 1 1 30%;
  }
}
/* form */
#tractorForm {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f4f4f4;
  font-family: Arial, sans-serif;
}

#tractorForm label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

#tractorForm input,
#tractorForm textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* #tractorForm button {
  padding: 10px 20px;
  background-color: #28a745;
  border: none;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  top: 500wh;
} */

/* #tractorForm button:hover {
  background-color: #218838; */

/* button { */
  /* display: inline-block; or block, depending on your layout */
  /* visibility: visible; */
/* } */
/* updated button*/
/* button {
  display: inline-block;
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
} */
/* new update */
    body {
      font-family: 'Arial', sans-serif;
      background-color: #f4f4f4;
      margin: 0;
      padding: 0;
    }

    .specs-container1 {
      width: 80%;
      margin: 20px auto;
      background-color: #fff;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    h1.specs-title1 {
      text-align: center;
      color: #0056b3;
    }

    h2.specs-subtitle1 {
      color: #333;
      text-align: center;
      margin-bottom: 20px;
    }

    table.specs-table1 {
      width: 100%;
      border-collapse: collapse;
      margin-top: 20px;
    }

    table.specs-table1 th, table.specs-table1 td {
      border: 1px solid #ddd;
      padding: 8px;
      text-align: left;
    }

    table.specs-table1 th {
      background-color: #0056b3;
      color: white;
    }

    table.specs-table1 tr:nth-child(even) {
      background-color: #f9f9f9;
    }

    table.specs-table1 tr:hover {
      background-color: #f1f1f1;
    }

    .footer-note1 {
      text-align: center;
      margin-top: 20px;
      font-size: 0.9rem;
      color: #777;
    }
    /* old tractor  */
    
  /* General Reset */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* Body Styling */
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
  }

  /* Section Styling */
  #used-tractors {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  #used-tractors h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
  }

  /* Tractor Item Styling */
  .tractor-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #ecf0f1;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .tractor-item h3 {
    flex: 1;
    font-size: 1.5rem;
    color: #2980b9;
    margin-bottom: 10px;
  }

  .tractor-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .tractor-item p {
    flex: 1;
    font-size: 1rem;
    color: #34495e;
    margin-bottom: 10px;
  }

  /* Price and Location Styling */
  .tractor-item p strong {
    color: #e74c3c;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .tractor-item {
      flex-direction: column;
      align-items: center;
    }

    .tractor-item img {
      width: 80%;
      margin-bottom: 15px;
    }
  }
/* diwanli celbration  */
.celebration-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.celebration-images {
  display: flex;
  gap: 20px;
  max-width: 800px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.celebration-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.celebration-img:hover {
  transform: scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .celebration-images {
    flex-direction: column;
  }
  
  .celebration-img {
    max-width: 100%;
  }
}
#devloper{ color: red;


}
/* Call Now Button Styles */
/* .call-now-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.call-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25D366; /* WhatsApp green color */
  /* color: white;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
} */

.call-button i {
  font-size: 24px;
}

.call-text {
  display: none;
  margin-left: 8px;
  font-weight: bold;
}

.call-button:hover {
  width: 150px;
  border-radius: 30px;
  background-color: #128C7E; /* Darker green on hover */
}

.call-button:hover .call-text {
  display: inline;
}

/* Animation for pulsing effect */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.call-button:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .call-button {
    width: 50px;
    height: 50px;
  }
  
  .call-button i {
    font-size: 20px;
  }
  
  .call-button:hover {
    width: 130px;
  }
} 
/* videos code */
    .video-section {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        font-family: Arial, sans-serif;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .main-video-container {
        width: 100%;
        max-width: 800px;
        margin: 0 auto 30px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    
    .main-video-container video {
        width: 100%;
        display: block;
    }
    
    .video-carousel {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    .video-thumbnails {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 15px;
        padding: 10px 0;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .video-thumbnails::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .thumbnail {
        min-width: 150px;
        cursor: pointer;
        text-align: center;
        transition: transform 0.2s;
        border: 2px solid transparent;
    }
    
    .thumbnail.active {
        border-color: #ff9900;
    }
    
    .thumbnail:hover {
        transform: scale(1.05);
    }
    
    .thumbnail video {
        width: 100%;
        height: 100px;
        object-fit: cover;
        border-radius: 4px;
    }
    
    .thumbnail p {
        margin-top: 5px;
        font-size: 14px;
        color: #333;
    }
    
    .carousel-btn {
        background: rgb(0, 65, 204);
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        border-radius: 50%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 1;
        position: inherit;
    }
    
    .carousel-btn:hover {
        background: #f0f0f0;
    }
    
    @media (max-width: 768px) {
        .thumbnail {
            min-width: 120px;
        }
        
        .thumbnail p {
            font-size: 12px;
        }
    }
    /* navigation bar  */
       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        nav {
            background-color: #333;
            padding: 15px 20px;
            position: relative;
        }
        
        nav ul {
            list-style-type: none;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            transition: all 0.3s ease;
        }
        
        nav ul li {
            margin-left: 20px;
        }
        
        nav ul li a {
            color: white;
            text-decoration: none;
            font-family: Arial, sans-serif;
            padding: 5px 10px;
            transition: color 0.3s;
        }
        
        nav ul li a:hover {
            color: #ddd;
        }
        
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
            cursor: pointer;
            position: absolute;
            right: 20px;
            top: 15px;
            z-index: 1000;
        }
        
        .menu-toggle span {
            display: block;
            height: 3px;
            width: 100%;
            background-color: white;
            border-radius: 3px;
            transition: all 0.3s ease;
        }
        
        /* Mobile styles */
        @media (max-width: 768px) {
            .menu-toggle {
                display: flex;
            }
            
            nav ul {
                flex-direction: column;
                width: 100%;
                position: fixed;
                top: 0;
                left: -100%;
                height: 100vh;
                background-color: #333;
                padding: 60px 0 20px;
                transition: all 0.5s ease;
                z-index: 999;
            }
            
            nav ul.active {
                left: 0;
            }
            
            nav ul li {
                margin: 15px 0;
                text-align: center;
                width: 100%;
            }
            
            nav ul li a {
                display: block;
                padding: 15px;
                font-size: 18px;
            }
        }