/* Reset styles */
* {
    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;
    padding-top: 80px;
    position: relative;
}

/* Navigation Bar */
.navbar {
    background: red;
    color: white;
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    margin-right: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 12px;
    transition: background 0.3s;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

.content-section {
    display: none;
    padding: 100px 20px;
    text-align: center;
}

.content-section.active {
    display: block;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.product {
    text-align: center;
}

.product img {
    width: 300px;
    height: 300px;
    border-radius: 8px;
}

footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 10px;
    margin-top: 500px;
}

.home-logo {
    text-align: center;
    margin-top: 15px;
}

.home-logo img {
    max-width: 500px;
    height: auto;
}

.maintenance-text {
    font-size: 50px;
    font-weight: bold;
    color: red;
    margin-top: 20px;
    text-align: center;
}

#contact {
    text-align: center;
    padding: 50px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin: 50px auto;
    max-width: 800px;
}

.contact-logo {
    text-align: center;
    margin-bottom: 20px;
}

.contact-logo img {
    max-width: 150px;
    height: auto;
}

.social-media {
    text-align: center;
    margin-top: 20px;
}

.social-media a {
    display: inline-block;
    margin: 0 10px;
}

.social-media img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-media img:hover {
    transform: scale(1.2);
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    margin: 40px auto;
    max-width: 1600px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: max-content;
}

.carousel-track a {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
}

.carousel-track img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.products-vertical {
    text-align: left;
    padding: 50px 20px;
}

.carousel-item {
  margin-right: 20px; /* Add spacing between items */
  text-align: center;
}

.carousel-caption {
  margin-top: 8px;
  font-size: 14px;
  color: #333;
}

.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  padding: 8px 14px;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.product-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 50px;
}

.product-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 900px;
    margin-bottom: 20px;
}

.product-item img {
    width: 120px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.product-item h3 {
    margin: 0;
    font-size: 20px;
    color: #d10000;
}

.product-item p {
    margin-top: 5px;
    font-size: 15px;
    color: #444;
}

.gstin-display {
    position: fixed;
    top: 85px;
    left: 30px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
    background-color: #ffffffc7;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 1000;
}
.about-text {
     flex: 1 1 60%;
    text-align: left;
    font-size: 17px; /* You can adjust this size as needed */
    line-height: 1.7; /* Optional: for better spacing between lines */
}
.about-image img {
    max-width: 50%;       /* reduce image size */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.about-image {
    flex: 1 1 20%;
    text-align: right;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  color: #333;
  top: 100%;
  left: 0;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 5px;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
}

.dropdown-menu li a:hover {
  background: #eee;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

.whats-app {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 3px 4px 3px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.whats-app:hover {
  background-color: #1ebc59;
}

.my-float {
  display: inline-block;
  line-height: 1;
}


.enquiry-section {
  background-color: #f4f4f4;
  padding: 30px;
  text-align: center;
  border-top: 2px solid #ddd;
  border-bottom: 2px solid #ddd;
}

.enquiry-section h2 {
  margin-bottom: 20px;
  color: #333;
}

.input-group {
  position: relative;
  max-width: 600px;
  margin: 0 auto 20px;
}

.input-group i {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #aaa;
  font-size: 18px;
}

.enquiry-section textarea {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  resize: vertical;
  min-height: 100px;
}

.enquiry-section button {
  padding: 10px 20px;
  background-color: #25d366;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.enquiry-section button:hover {
  background-color: #1ebc59;
}

/* 🔵 Robot Parts Grid (Top section) */
.robot-parts-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 30px;
  justify-items: center;
  align-items: center;
}

.robot-parts-grid div {
  padding: 10px 15px;
  background-color: #fff;
  border: 1px solid #ddd;
  text-align: center;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: bold;
}

.robot-parts-grid div:hover {
  background-color: #e0f0ff;
  box-shadow: 0 0 10px rgba(0, 136, 255, 0.5);
  color: #0077cc;
}

/* 🔵 Selected product detail section */
.robot-product-detail {
  display: flex;
  gap: 30px;
  padding: 40px 30px;
  max-width: 1200px;
  margin: auto;
  align-items: flex-start;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
  margin-top: 20px;
}

.robot-product-detail img {
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.robot-product-text {
  flex: 1;
  text-align: left;
}

.robot-product-text h3 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #0077cc;
}

.robot-product-text ul {
  list-style-type: disc;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  font-size: 28px;
  background-color: #333;
  color: white;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  display: none; /* Hidden initially */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}

#scrollToTop:hover {
  background-color: #555;
}

