 html {
   scroll-behavior: smooth;
   overflow-x: hidden;
 }

 body {
   font-family: 'Segoe UI', sans-serif;
   overflow-x: hidden;
 }

 .product-card img {
   height: 200px;
   object-fit: cover;
 }

 footer {
   background: #0d3c61;
   color: white;
 }

 .contact-form input,
 .contact-form textarea {
   border-radius: 0;
 }

 .hero-section {
   height: 80vh;
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   animation: slideShow 30s infinite;
   transition: background-image 30s ease-in-out;
 }

 @keyframes slideShow {
   0% {
     background-image:
       url(' images/v-belts.jpg');
   }

   33% {
     background-image:
       url('images/v-belts.jpg');
   }

   66% {
     background-image:
       url('images/hoses.jpg');
   }

   100% {
     background-image:
       url(' images/velts.jpg ');
   }
 }

 /* Text Animation */
 .fade-text {
   opacity: 0;
   transform: translateY(30px);
   animation: fadeUp 1s ease forwards;
 }

 .delay-1 {
   animation-delay: 0.5s;
 }

 .delay-2 {
   animation-delay: 1s;
 }

 @keyframes fadeUp {
   to {
     opacity: 1;
     transform: translateY(0);
   }
 }

 .image-hover img {
   transition: transform 0.3s ease;
   cursor: zoom-in;
 }

 .image-hover img:hover {
   transform: scale(1.05);
 }

 .card img {
   height: 200px;
   object-fit: cover;
 }

 .card-title {
   font-weight: 600;
   margin-bottom: 0.3rem;
 }

 .card-text {
   font-size: 0.9rem;
   color: #555;
 }

 table td {
   vertical-align: middle;
 }

 .footer {
   background-color: #111;
   font-size: 14px;
 }

 .footer a:hover {
   text-decoration: underline;
   color: #ffc107;
 }

 .footer hr {
   border-color: rgba(255, 255, 255, 0.1);
 }

 .footer i {
   margin-right: 5px;
 }

 #jk-transpower ul li {
   font-size: 1rem;
   color: #333;
 }

 #jk-transpower h4 {
   font-weight: 600;
 }

 @media (max-width: 767px) {
   #jk-transpower h2 {
     font-size: 1.5rem;
   }
 }

 .chat-menu {
   position: fixed;
   right: 20px;
   bottom: 20px;
   z-index: 9999;
   display: flex;
   flex-direction: column;
   align-items: center;
   font-family: Arial, sans-serif;
 }

 .chat-button {
   background-color: #ff4d6d;
   width: 55px;
   height: 55px;
   border-radius: 50%;
   color: white;
   font-size: 24px;
   text-align: center;
   line-height: 55px;
   box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
   cursor: pointer;
   user-select: none;
   transition: background-color 0.3s ease;
 }

 .chat-button:hover {
   background-color: #e04362;
 }

 .chat-options {
   display: none;
   flex-direction: column;
   align-items: center;
   margin-bottom: 10px;
   opacity: 0;
   transform: scale(0.8);
   transition: opacity 0.3s ease, transform 0.3s ease;
 }

 .chat-options.show {
   display: flex;
   opacity: 1;
   transform: scale(1);
 }

 .chat-options a {
   position: relative;
   margin-bottom: 10px;
   width: 45px;
   height: 45px;
   border-radius: 50%;
   color: white;
   font-size: 20px;
   text-align: center;
   line-height: 45px;
   text-decoration: none;
   box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
   transition: transform 0.3s ease;
   cursor: pointer;
 }

 .chat-options a:hover {
   transform: scale(1.2);
 }

 /* Hover modal tooltip */
 .chat-options a::before {
   content: attr(title);
   position: absolute;
   bottom: 100%;
   left: 50%;
   transform: translateX(-50%) translateY(-10px);
   background-color: rgba(0, 0, 0, 0.75);
   color: white;
   padding: 4px 8px;
   border-radius: 12px;
   font-size: 12px;
   white-space: nowrap;
   opacity: 0;
   pointer-events: none;
   transition: opacity 0.3s ease, transform 0.3s ease;
   z-index: 10000;
 }

 .chat-options a:hover::before {
   opacity: 1;
   transform: translateX(-50%) translateY(-20px);
 }

 .whatsapp {
   background-color: #25d366;
 }

 .telegram {
   background-color: #0088cc;
 }

 .phone {
   background-color: #007bff;
 }

 .belt-heading {
   margin: 120px 0px 30px 0px;
   text-align: center;

 }

 table.dataTable thead {
   background-color: #007a6f;
   color: white;
 }

 .footer-link {
   color: #ffffff;
   text-decoration: none;
 }

 .navbar-nav .nav-link {
   position: relative;
   color: #333;
   font-weight: 500;
   transition: color 0.3s ease;
 }

 .navbar-nav .nav-link::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: -5px;
   width: 0%;
   height: 2px;
   background-color: #007bff;
   transition: width 0.3s ease;
 }

 .navbar-nav .nav-link:hover {
   color: #007bff;
 }

 .navbar-nav .nav-link:hover::after {
   width: 100%;
 }

 /* Dropdown hover styles */
 .navbar-nav .dropdown:hover .dropdown-menu {
   display: block;
   margin-top: 0;
   /* remove delay */
 }

 /* Optional: prevent dropdown flicker */
 .dropdown-menu {
   transition: all 0.3s ease;
   margin-top: 0;
 }

