  
  /* Navigation Styling */
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

nav {
  background: #fff;
  border-bottom: 1px solid #ddd;
  font-family: Arial, sans-serif;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 15px 20px;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-menu a:hover {
  color: #0073e6;   /* blue hover like the sample */
  border-bottom: 2px solid #0073e6;
}

/* Dropdown menu */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;         /* sits directly below parent */
  left: 0;
  background: #fff;
  min-width: 180px;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.15);
  border-radius: 3px;
  padding: 8px 0;
  z-index: 1000;
}

.dropdown-content li {
  display: block;
  width: 100%;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: normal;
  color: #333;
  border: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
  background: #f5f5f5;
  color: #0073e6;
}

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

/* Remove custom hr inside dropdown (not used in screenshot) */
.custom-hr {
  display: none;
}
/* Make the navigation bar appear above the slider */
nav, 
.top-bar, 
.menu, 
.dropdown, 
.dropdown-content {
    position: relative;
    z-index: 9999 !important;
}

/* Ensure dropdown list is fully clickable */
.dropdown-content {
    position: absolute;
    z-index: 10000 !important;
}


/* ---------------------------------------------------- */
/* ⭐ PROFESSIONAL NAVBAR ANIMATION (SAFE, NO SHIFTING) */
/* ---------------------------------------------------- */

/* Fade-in effect for links on page load */
.nav-menu li {
    opacity: 0;
    animation: navFade 0.6s ease forwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.2s; }
.nav-menu li:nth-child(3) { animation-delay: 0.3s; }
.nav-menu li:nth-child(4) { animation-delay: 0.4s; }
.nav-menu li:nth-child(5) { animation-delay: 0.5s; }

@keyframes navFade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Dropdown Fade Animation (NO sliding, avoids covering!) */
.dropdown-content {
    opacity: 0;
    transition: opacity 0.25s ease;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
}

/* Soft hover lift (no layout shift) */
.nav-menu a:hover {
    transform: translateY(-2px);
    transition: transform 0.25s ease, color 0.3s ease, border-bottom 0.3s ease;
}



/* Header */
header {
  background-color:rgb(255, 252, 252);
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
  body {
    font-family: "Segoe UI", sans-serif;
    line-height: 1.6;
    background: rgb(255, 252, 252);
    color: #181717;
  }


/* Language selector */
.custom-translate select {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
}

.custom-translate select:hover {
  border-color: #0073e6;
}

.chat_button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      padding: 10px 16px;
      background-color: #0c9;
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
  
  
  
  
  /* Hero Section */
  .hero-slider {
    position: relative;
    height: 60vh;
    overflow: hidden;
    margin-top: 0px;
  }
  
  .slide-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
  }
  
  .slide.active {
    opacity: 1;
  }
  
  .overlay {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding-top: 15vh;
  }
     
  
  .overlay h1 {
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .overlay p {
    font-size: 15px;
    margin-bottom: 20px;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 25px;
    background: #1F3A93;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
  }
  
  .nav {
    position: absolute;
    top: 50%;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 20;
    transform: translateY(-50%);
  }
  
  .nav.prev {
    left: 20px;
  }
  
  .nav.next {
    right: 20px;
  }
  
  .dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 20;
  }
  
  .dot {
    display: inline-block;
    height: 10px;
    width: 10px;
    background-color: #bbb;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
  }
  
  .dot.active {
    background-color: white;
  }
  
  
  
  /* Features */
  
  /* Center the entire product section */
  .prohead {
    text-align: center;
    font-size: 35px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #333;
  }
  .product-wrapper {
    width: 80%;
    margin: auto;
    padding-bottom: 40px;
  }
  
  /* Tab styles */
  .tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
  }
  
  .tab {
    padding: 12px 25px;
    background-color: #f0f0f0;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    border-radius: 6px;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  .tab:hover {
    background-color: #c9d7f5;
    transform: scale(1.05);
  }
  
  .tab.active {
    background-color: #4a90e2;
    color: #fff;
  }
  
  /* Grid layout - 4 per row max */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
  }
  
  /* Product card styling */
  
  .product-card {
    display: block; /* Make the <a> fill the grid cell */
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    border: 3px solid #ddd;
    border-radius: 10px;
    border-color: #007bff;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  
  
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }
  .product-card img {
    width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: contain;
    margin-bottom: 10px;
  }
  
  .product-card p {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 10px 0;
  }
  
  /* Info bar under product */
  .info-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
  }
  
  .info-bar img {
    width: 24px;
    height: 24px;
  }
  
  /* Category visibility */
  .category {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
  }
  
  .category.active {
    display: grid;
  }
  
  /* Fade animation */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .services-wrapper {
    width: 80%;
    margin-left: 150px;
    padding-bottom: 40px;
    justify-content: space-around;
    display: flex;
  
  
  }
  
  .product-card2 {
    width: 300px;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    border: 3px solid #ddd;
    border-radius: 10px;
    border-color: #007bff;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .product-card2:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  

  
/* --- Why Choose Us --- */
.choose-us {
  display: flex;
  justify-content: center;      /* Center horizontally */
  align-items: center;          /* Center vertically */
  text-align: center;
  margin: 60px auto;
  padding: 20px;
  width: 100%;
}

.product-card-3 {
  background: #fff;
  border: 2px solid #007bff;
  border-radius: 12px;
  padding: 30px 20px;
  max-width: 600px;
  width: 90%;
  margin: 0 auto;               /* Center inside parent */
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card-3:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.product-card-3 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.product-card-3 li {
  font-size: 16px;
  margin: 12px 0;
  padding: 10px;
  border-bottom: 1px solid #eee;
  color: #333;
  font-weight: 500;
  text-align: left;   /* Neatly align text */
}

.product-card-3 li:last-child {
  border-bottom: none;
}

/* --- Ready Section --- */
.ready {
  background: url("../images/logo.jpg") center center no-repeat;
  background-size: cover;   /* makes it fill the section */
  width: 100%;
  padding: 100px 20px;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #564b4b;
 
}


.ready-go {
  max-width: 700px;    /* keeps text centered and tidy */
  margin: 0 auto;
}

.ready-go h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

.ready-go p {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 25px;
  line-height: 1.6;
}

.ready-go a.inquries {
  font-size: 18px;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  background-color: #007bff;
  color: #fff;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.ready-go a.inquries:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

  .factory-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
  }
  
  .factory-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
    border-bottom: 2px solid #ccc;
    display: inline-block;
    padding-bottom: 10px;
  }
  
  .factory-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .factory-box {
    width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    background-color: #fafafa;
    transition: transform 0.3s;
  }
  
  .factory-box:hover {
    transform: scale(1.03);
  }
  
  .factory-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .factory-box p {
    font-size: 16px;
    padding: 10px;
    font-weight: bold;
    background-color: #f0f0f0;
    margin: 0;
  }
/* Footer */
footer {
  background-color: #0b1d2d;
  color: white;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
  animation: fadeInUp 1s ease forwards; /* Footer appears with upward fade */
  opacity: 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  border-bottom: 1px solid #333;
  padding-bottom: 20px;
}

.footer-section {
  flex: 1;
  min-width: 180px;
  margin: 10px;
  transform: translateY(20px);
  opacity: 0;
  animation: slideIn 1s ease forwards;
}

.footer-section:nth-child(1) {
  animation-delay: 0.2s;
}
.footer-section:nth-child(2) {
  animation-delay: 0.4s;
}
.footer-section:nth-child(3) {
  animation-delay: 0.6s;
}
.footer-section:nth-child(4) {
  animation-delay: 0.8s;
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #ffffff;
  animation: fadeIn 1s ease forwards;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
  font-size: 14px;
  animation: fadeIn 1s ease forwards;
}

.footer-section ul li a {
  color: #87cefa;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-section ul li a:hover {
  text-decoration: underline;
  transform: translateX(5px); /* small movement on hover */
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 12px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.footer-bottom p {
  font-weight: 0px;
  font-size: 12px;
}

.footer-links a {
  color: #ccc;
  margin: 0 5px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-section iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 10px;
  margin-top: 10px;
  animation: fadeIn 1s ease forwards;
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat_button {
    position: fixed;       /* fixed relative to viewport */
    bottom: 20px;          /* distance from bottom */
    right: 20px;           /* distance from right */
    padding: 12px 16px;
    font-size: 20px;
    border-radius: 50px;
    background-color: #0c9;  /* pick your color */
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 99999;        /* high enough to stay on top */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* optional shadow */
}

.desktop-language{
  margin-right: 100px;
}
  
.hamburger {
  font-size: 28px;
  cursor: pointer;
  user-select: none;
  padding-top: 0px;
  margin-top: 15px;
  margin-bottom: 15px;
  z-index: 1001; /* make sure it stays above menu */
  transition: transform 0.3s ease;
}

/* Animate to X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Hide hamburger by default (desktop) */
.hamburger {
  display: none;
}



/* ---------------------------------------------------------- */
/* ✅ ADDED PROFESSIONAL ANIMATION — NOTHING ABOVE WAS CHANGED */
/* ---------------------------------------------------------- */

/* Fade + slide in when visible on mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block; 
    opacity: 0;
    animation: hamburgerFadeIn 0.7s ease-out forwards;
  }
}

@keyframes hamburgerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Add a soft pulse hover effect */
.hamburger:hover {
  animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* ------------------------------------------------------ */
/* ⭐ HERO SLIDER ANIMATIONS — ADD ONLY, NO CHANGES ABOVE */
/* ------------------------------------------------------ */

/* Fade + zoom animation for active slide */
.slide {
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s ease-in-out, transform 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Text animations */
#slide-title {
    opacity: 0;
    transform: translateY(20px);
    animation: titleFadeUp 1s ease-out forwards;
    animation-delay: 0.3s;
}

#slide-desc {
    opacity: 0;
    transform: translateY(20px);
    animation: descFadeUp 1s ease-out forwards;
    animation-delay: 0.6s;
}

#slide-btn {
    opacity: 0;
    transform: translateY(20px);
    animation: btnFadeUp 1s ease-out forwards;
    animation-delay: 0.9s;
}

/* Keyframes */
@keyframes titleFadeUp {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes descFadeUp {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes btnFadeUp {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Arrow button hover animation */
.nav {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Dots animation */
.dot {
    transition: transform 0.3s ease, background 0.3s ease;
}

.dot:hover {
    transform: scale(1.3);
}

.dot.active {
    transform: scale(1.4);
}



/* Mobile/Tablet only */
@media (max-width: 480px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    cursor: pointer;
    z-index: 1002;
    position: relative;
  }

  .hamburger span {
    display: block;
    height: 7px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    transition: all 0.4s ease;
  }

  /* Animate to X */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  /* Side Menu */
  .nav-menu {
    position: fixed;
    top: 0;            /* start at top */
    left: -260px;
    width: 240px;
    height: 60%;
    background: #fff;
    box-shadow: 2px 0 8px rgba(0,0,0,0.2);
    padding: 20px 20px; /* smaller padding (was 60px) */
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: left 0.4s ease, opacity 0.4s ease;
    z-index: 1001;
    opacity: 0;
  }

  .nav-menu.show {
    left: 0;
    opacity: 1;
  }

  /* Overlay */
  .menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }
  .menu-overlay.show {
    opacity: 1;
    visibility: visible;
  }
  .logo-area{
  margin-left: 0px;
}
}



/* ================== Responsive Styles ================== */

/* ---------- Tablet (≤1024px) ---------- */
@media (max-width: 1024px) {
  /* Header */
  .search {
    padding: 12px 20px;
    flex-wrap: wrap;
  }
  .company_logo {
    margin-left: 0;
  }
  .lomo {
    margin-right: 0;
    align-items: center;
    text-align: center;
  }

  /* Hero */
  .hero-slider { height: 50vh; }
  .overlay h1 { font-size: 26px; }
  .overlay p { font-size: 14px; }

  /* Products */
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
  .tabs { gap: 15px; }

  /* Services */
  .services-wrapper {
    width: 90%;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding-bottom: 30px;
  }
  .services-wrapper > * {
    width: 100%;
    max-width: 760px;
    box-sizing: border-box;
  }
  .product-card2 {
    width: 96%;
    max-width: 720px;
    padding: 18px;
  }

  /* Factory */
  .factory-box { width: 45%; }

  /* Chat button */
  .chat_button {
    bottom: 18px;
    right: 18px;
    padding: 8px 14px;
    font-size: 15px;
    border-radius: 6px;
  }
    .footer-section iframe {
    height: 220px;
    width: 90%;
  }
}



/* ---------- Small Mobile (≤480px) ---------- */
@media (max-width: 480px) {
  /* Header */
  .company_logo img { height: 40px; }
  .lomo .logo { font-size: 16px; }
  .lomo .motor { font-size: 11px; }
  .hamburger { font-size: 24px; }

  /* Nav */
  .nav-menu { width: 200px; padding: 50px 15px; }
  .nav-menu a { font-size: 15px; }

  /* Hero */
  .overlay {
    padding-top: 10vh;
  }
  .overlay h1 { font-size: 18px; }
  .overlay p { font-size: 12px; }
  .btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  /* Products */
  .product-grid { grid-template-columns: 1fr; }
  .product-card, .product-card2 { width: 100%; }

  /* Services */
  .services-wrapper {
    width: 100%;
    margin: 12px 0;
    padding: 0 12px 20px;
    gap: 14px;
  }
  .services-wrapper > * { max-width: none; }
  .product-card2 {
    padding: 14px;
    border-radius: 8px;
  }
  .product-card2 img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 10px;
    display: block;
  }

  /* Ready */
  .ready-go h2 { font-size: 20px; }
  .ready-go p { font-size: 13px; }

  /* Footer */
  .footer-section h4 { font-size: 14px; }
  .footer-section ul li { font-size: 12px; }

  /* Chat button */
  .chat_button {
    bottom: 14px;
    right: 14px;
    padding: 7px 10px;
    font-size: 13px;
    border-radius: 5px;
  }
    .footer-section iframe {
    height: 180px;
    width: 90%;
  }
    .hamburger {
        display: block;
        cursor: pointer;
        margin-right: 10px;
        margin-left: 0;
    }

    .hamburger span {
        display: flex;
        width: 25px;
        height: 3px;
        background: #333;
        margin: 5px 160px;
        transition: 0.3s;
        border-radius: 5px;
    }

    /* Transform when active */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    nav {
        position: relative;
       
    }
    /* LANGUAGE DROPDOWN */
    .google_translate_element select {
        padding: 5px 8px;
        font-size: 12px;
        border-radius: 5px;
    }

    hr {
        margin: 0;
    }
        /* hide original dropdown */
    .google_translate_element {
        display: none !important;
    }

    /* style inside-menu language selector */
    .mobile-language {
        margin-top: 30px;
        padding-top: 15px;
        border-top: 1px solid #ddd;
    }

    .mobile-translate-select {
        width: 100%;
        padding: 10px;
        font-size: 15px;
        margin-top: 8px;
        border-radius: 6px;
        border: 1px solid #ccc;
        background: #f7f7f7;
    }

    .nav-menu {
        position: fixed;
        top: -290px;
        right: -100%;
        height: 150vh;
        width: 75%;
        max-width: 320px;
        background: #c7c5c5;
        padding: 60px 20px;
        list-style: none;
        transition: 0.6s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.15);
        z-index: 9999;
    }

    .nav-menu.show {
        right: 0;
    }

    /* menu items */
    .nav-menu li {
        margin-bottom: 18px;
    }

    .nav-menu li a {
        font-size: 16px;
        font-weight: 500;
        color: #333;
    }
      /* ---------- CHAT BUTTON ---------- */
.chat_button {
    position: fixed;       /* fixed relative to viewport */
    bottom: 20px;          /* distance from bottom */
    right: 20px;           /* distance from right */
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 50px;
    background-color:#0c9;  /* pick your color */
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 99999;        /* high enough to stay on top */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* optional shadow */
}
}

@media (min-width: 768px) and (max-width: 1024px) {

/* Desktop styles – these apply to 768px and above */
nav{
  display: flex;
}

.hamburger {
  display: none;
}
  .desktop-language{
   margin-right: 50px;
  }
.logo-area{
  margin-left: 30px;
}
 


.factory-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .factory-box {
    width: 100%;
  }

  .factory-box img {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }
  .factory-head{
    font-size: 40px;
  }

  .factory-box p {
    text-align: center;
    font-size: 25px;
    margin-top: 5px;
  }
 /* ---------------- WHY CHOOSE US ---------------- */
  section.reveal h4.prohead {
      font-size: 28px;
      text-align: center;
      margin-bottom: 25px;
  }

  .choose-us {
      display: flex;
      justify-content: center;
      padding: 0 20px;
  }

  .product-card-3 {
      background: #ffffff;
      padding: 20px 25px;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      max-width: 600px;
      width: 100%;
      transition: transform 0.3s ease;
  }

  .product-card-3:hover {
      transform: translateY(-5px);
  }

  .product-card-3 ul {
      list-style: disc inside;
      padding-left: 0;
      margin: 0;
      line-height: 1.6;
      font-size: 16px;
      color: #333;
  }



  /* --- Ready Section --- */
  .ready {
      background: url("../images/logo.jpg") center center / cover no-repeat;
      width: 100%;
      padding: 80px 20px;          /* reduce padding for tablets */
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: #564b4b;
  }

  .ready-go {
      max-width: 650px;            /* slightly smaller for tablets */
      margin: 0 auto;
  }

  .ready-go h2 {
      font-size: 32px;             /* scaled down for tablet */
      font-weight: bold;
      margin-bottom: 18px;
  }

  .ready-go p {
      font-size: 16px;             /* slightly smaller for tablet */
      font-weight: 400;
      margin-bottom: 20px;
      line-height: 1.5;
  }

  .ready-go a.inquries {
      font-size: 16px;
      font-weight: bold;
      padding: 10px 22px;          /* slightly smaller button */
      border-radius: 6px;
      text-decoration: none;
      background-color: #007bff;
      color: #fff;
      transition: background 0.3s ease, transform 0.2s ease;
      display: inline-block;
  }

  .ready-go a.inquries:hover {
      background-color: #0056b3;
      transform: scale(1.05);
  }
  
    /* ---------- SLIDER TEXT (HERO SECTION) ---------- */
    .hero-text, .slider-caption {
        text-align: center !important;
        width: 100%;
        padding: 0 15px;
    }

    .hero-text h1, .slider-caption h1 {
        font-size: 18px !important;
    }

    .hero-text p {
        font-size: 13px !important;
    }

    .hero-text button {
        width: 100%;
        padding: 12px;
        font-size: 15px;
        border-radius: 8px;
    }


    /* ---------- CHAT BUTTON ---------- */
.chat_button {
    position: fixed;       /* fixed relative to viewport */
    bottom: 20px;          /* distance from bottom */
    right: 20px;           /* distance from right */
    padding: 12px 16px;
    font-size: 25px;
    border-radius: 50px;
    background-color:#0c9;  /* pick your color */
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 99999;        /* high enough to stay on top */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* optional shadow */
}




      /* Section title */
  .services .prohead {
    font-size: 45px;
    text-align: center;
    margin-bottom: 15px;
  }

  /* Wrapper becomes vertical */
  .services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0 15px;
  }

  /* Product box */
  .product {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Card styling */
  .product-card2 {
    width: 100%;
    max-width: 660px;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
  }

  /* Hover effect (mobile-friendly subtle pulse) */
  .product-card2:active {
    transform: scale(0.97);
  }

  /* Typography */
  .product-card2 h5 {
    font-size: 25px;
    margin-bottom: 8px;
    font-weight: 600;
  }

  .product-card2 p {
    font-size: 23px;
    line-height: 1.5;
  }


}


/* =========================================
   TOP BAR
========================================= */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-logo {
  height: 60px;
  width: 60px;
}

.title-block {
  display: flex;
  flex-direction: column;
}

.company-name {
  font-size: 18px;
  font-weight: bold;
  color: #444343;
  text-decoration: none;
}

.company-tagline {
  font-size: 12px;
  color: #666;
  text-decoration: none;
}

.desktop-language select {
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid #aaa;
  font-size: 14px;
}
/* 🔵 Hide mobile language on desktop */
.mobile-lang {
  display: none; /* hidden by default */
}

/* 🔵 Hide desktop language on mobile */
.desktop-language {
  display: block; /* visible by default */
}



/* ------------------------------------------------------ */
/* ✅ ADDED ANIMATION — NOTHING ABOVE WAS CHANGED */
/* ------------------------------------------------------ */

/* Fade + slide for full top bar */
.top-bar {
  opacity: 0;
  animation: topBarFade 0.9s ease-out forwards;
}

@keyframes topBarFade {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo pop-in */
.company-logo {
  opacity: 0;
  transform: scale(0.7);
  animation: logoPop 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes logoPop {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Text fade-up */
.title-block {
  opacity: 0;
  animation: textSlideUp 1s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes textSlideUp {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Language dropdown fade */
.desktop-language select {
  opacity: 0;
  animation: langFade 1s ease-out forwards;
  animation-delay: 0.7s;
}

@keyframes langFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 🔵 Media query for mobile devices */
@media (max-width: 480px) {
  .desktop-language {
    display: none; /* hide desktop language selector */
  }

  .mobile-lang {
    display: block; /* show mobile language selector */
  }
}
@media (min-width:540px) and (max-width:720px) {

  .desktop-language {
    display: none; /* hide desktop language selector */
  }

  .mobile-lang {
    display: block; /* show mobile language selector */
  }

 
    /* ---------------- HAMBURGER ---------------- */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
        margin-left: 10px;
        z-index: 10001;
        margin-left: 400px;
    }

    .hamburger span {
        width: 28px;
        height: 3px;
        background: #333;
        border-radius: 4px;
        transition: 0.3s;
    }

    /* Transform when active */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }


    /* ---------------- MOBILE MENU (SLIDES FROM LEFT) ---------------- */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -260px;       /* hidden offscreen */
        height: 100vh;
        width: 260px;
        background: #c7c5c5;
        padding: 80px 20px;
        list-style: none;
        transition: 0.45s ease-in-out;
        box-shadow: 2px 0 10px rgba(0,0,0,0.20);
        z-index: 10000;
        display: flex;
        flex-direction: column;
    }

    /* Show menu */
    .nav-menu.show {
        left: 0;
    }

    /* Menu items */
    .nav-menu li {
        margin-bottom: 22px;
    }

    .nav-menu li a {
        font-size: 18px;
        font-weight: 500;
        color: #333;
    }


    /* ---------------- LANGUAGE SELECTOR ---------------- */
    .google_translate_element {
        display: none !important;
    }

    .mobile-language {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #ddd;
    }

    .mobile-translate-select {
        width: 100%;
        padding: 10px;
        font-size: 15px;
        border-radius: 6px;
        border: 1px solid #ccc;
        background: #f7f7f7;
    }

    #menuOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none; 
  z-index: 9000;
}

#menuOverlay.show {
  display: block;
}
  .factory-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .factory-box {
    width: 100%;
  }

  .factory-box img {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .factory-box p {
    text-align: center;
    font-size: 15px;
    margin-top: 5px;
  }
   /* --- SECTION TITLE --- */
  .services h2.prohead {
    font-size: 26px;
    text-align: center;
    margin-bottom: 25px;
  }

  /* --- SERVICES WRAPPER --- */
  .services-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 10px 12px;
  }

  /* --- SERVICE CARD CONTAINER --- */
  .product {
    display: flex;
    justify-content: center;
  }

  /* --- SERVICE CARD --- */
  .product-card2 {
    background: #ffffff;
    padding: 18px 15px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    width: 100%;
    transition: 0.3s ease;
    text-align: center;
  }

  /* Hover effect */
  .product-card2:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  }

  /* Titles */
  .product-card2 h5 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #222;
    font-weight: 600;
  }

  /* Paragraph text */
  .product-card2 p {
    font-size: 15px;
    line-height: 1.4;
    color: #555;
  }
/* ---------- CHAT BUTTON ---------- */
.chat_button {
    position: fixed;       /* fixed relative to viewport */
    bottom: 20px;          /* distance from bottom */
    right: 20px;           /* distance from right */
    padding: 12px 16px;
    font-size: 25px;
    border-radius: 50px;
    background-color: #0c9;  /* pick your color */
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 99999;        /* high enough to stay on top */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* optional shadow */
}



}


@media (max-width: 480px) {

  .tabs {
    display: flex;
    flex-direction: column;     /* Stack them */
    width: 100%;
    gap: 8px;
  }

  .tab {
    width: 100%;                /* Full-width buttons */
    text-align: center;           /* Align text left (optional) */
    padding: 14px;
    font-size: 16px;
  }

  /* Make sure LATEX is always first */
  .tabs .tab:nth-child(1) {
    order: 1;
  }

  .tabs .tab:nth-child(2) {
    order: 2;
  }

  .tabs .tab:nth-child(3) {
    order: 3;
  }

  .tabs .tab:nth-child(4) {
    order: 4;
  }

  .tabs .tab:nth-child(5) {
    order: 5;
  }

}
/* =========================
   MOBILE VIEW (480px)
========================= */
@media (max-width: 480px) {
    /* Hero Section */
  .hero-slider {
      position: relative;
      width: 100%;
      height: 300px; /* adjust height for mobile */
      overflow: hidden;
  }

  /* Slide backgrounds */
  .slide-backgrounds .slide {
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transition: opacity 0.8s ease;
  }

  .slide-backgrounds .slide.active {
      opacity: 1;
  }
   /* Hero Section */
  .hero-slider {
      position: relative;
      width: 100%;
      height: 320px; /* slightly taller for mobile */
      overflow: hidden;
  }

  /* Slide backgrounds */
  .slide-backgrounds .slide {
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transition: opacity 0.8s ease;
  }

  .slide-backgrounds .slide.active {
      opacity: 1;
  }

  /* Overlay container */
  .overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      color: #fff;
      width: 90%;
      padding: 10px;
      background: rgba(0, 0, 0, 0.35); /* subtle overlay for readability */
      border-radius: 10px;
  }

  /* Slide Title */
  .overlay #slide-title {
      font-size: 20px;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: 1px;
  }

  /* Slide Description */
  .overlay #slide-desc {
      font-size: 14px;
      font-weight: 400;
      line-height: 1.5;
      margin-bottom: 12px;
      color: #f1f1f1;
  }

  /* Slide Button */
  .overlay #slide-btn {
      display: inline-block;
      font-size: 14px;
      font-weight: 600;
      padding: 10px 20px;
      border-radius: 6px;
      text-decoration: none;
      background: #007bff; /* professional accent color */
      color: #fff;
      transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .overlay #slide-btn:hover {
      background: #007bff;
      transform: translateY(-2px);
      box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  }

  /* Navigation buttons */
  .nav {
      font-size: 20px;
      padding: 6px 10px;
      border-radius: 50%;
      background: rgba(0,0,0,0.4);
      color: #fff;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      z-index: 10;
  }

  .nav.prev { left: 5px; }
  .nav.next { right: 5px; }

  /* Dots */
  .dots {
      position: absolute;
      bottom: 12px;
      width: 100%;
      text-align: center;
  }

  .dots .dot {
      display: inline-block;
      width: 10px;
      height: 10px;
      margin: 0 4px;
      background: rgba(255,255,255,0.6);
      border-radius: 50%;
      cursor: pointer;
      transition: background 0.3s ease;
  }

  .dots .dot.active {
      background: #fff;
  }


  /* Overlay content */
  .overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      color: #fff;
      padding: 0 10px;
  }

  .overlay h1#slide-title {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 8px;
      line-height: 1.2;
  }

  .overlay p#slide-desc {
      font-size: 14px;
      margin-bottom: 12px;
      line-height: 1.3;
  }

  .overlay a#slide-btn.btn {
      font-size: 14px;
      padding: 8px 16px;
      border-radius: 6px;
      text-decoration: none;
      background-color: #007bff;
      color: #fff;
      display: inline-block;
      transition: background 0.3s ease, transform 0.2s ease;
  }

  .overlay a#slide-btn.btn:hover {
      background-color: #0c78ec;
      transform: scale(1.05);
  }

  /* Navigation buttons */
  .nav {
      font-size: 18px;
      padding: 6px 10px;
      border-radius: 50%;
      background: rgba(0,0,0,0.3);
      color: #fff;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      z-index: 10;
  }

  .nav.prev {
      left: 5px;
  }

  .nav.next {
      right: 5px;
  }

  /* Dots navigation */
  .dots {
      position: absolute;
      bottom: 10px;
      width: 100%;
      text-align: center;
  }

  .dots .dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      margin: 0 4px;
      background-color: rgba(255,255,255,0.6);
      border-radius: 50%;
      cursor: pointer;
      transition: background 0.3s ease;
  }

  .dots .dot.active {
      background-color: #fff;
  }

  .prohead{
    font-size: 25px;
  }

  /* Section title */
  .services h2.prohead {
      font-size: 24px;
      text-align: center;
      margin-bottom: 20px;
      padding: 0 10px;
  }

  /* Services wrapper: stack cards vertically */
  .services-wrapper {
      display: flex;
      flex-direction: column;
      gap: 15px;
      padding: 0 10px;
  }

  /* Each product container */
  .product {
      display: flex;
      justify-content: center;
      width: 100%;
  }

  /* Card styling */
  .product-card2 {
      width: 100%;
      max-width: 100%;
      background: #ffffff;
      padding: 15px 12px;
      border-radius: 10px;
      text-align: center;
      box-shadow: 0 3px 10px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* Hover/tap effect */
  .product-card2:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  }

  /* Card titles */
  .product-card2 h5 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 6px;
      color: #222;
  }

  /* Card paragraphs */
  .product-card2 p {
      font-size: 14px;
      line-height: 1.5;
      color: #555;
  }
  .factory-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .factory-box {
    width: 100%;
  }

  .factory-box img {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .factory-box p {
    text-align: center;
    font-size: 15px;
    margin-top: 5px;
  }
    /* ---------------- WHY CHOOSE US ---------------- */
  section.reveal h4.prohead {
      font-size: 22px;            /* smaller title for mobile */
      text-align: center;
      margin-bottom: 20px;
      padding: 0 10px;
  }

  .choose-us {
      display: flex;
      justify-content: center;
      padding: 0 10px;
  }

  .product-card-3 {
      background: #ffffff;
      padding: 15px 12px;
      border-radius: 10px;
      box-shadow: 0 3px 10px rgba(0,0,0,0.1);
      width: 100%;
      transition: transform 0.3s ease;
  }

  .product-card-3:hover {
      transform: translateY(-3px);
  }

  .product-card-3 ul {
      list-style: disc inside;
      padding-left: 0;
      margin: 0;
      font-size: 14px;
      line-height: 1.5;
      color: #333;
  }


  /* ---------------- READY SECTION ---------------- */
  .ready {
      background: url("../images/logo.jpg") center center / cover no-repeat;
      width: 100%;
      padding: 60px 15px;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: #564b4b;
      background-attachment: scroll; /* fixed background can be problematic on mobile, use scroll */
  }

  .ready-go {
      max-width: 90%;
      margin: 0 auto;
  }

  .ready-go h2 {
      font-size: 26px;
      font-weight: bold;
      margin-bottom: 15px;
  }

  .ready-go p {
      font-size: 14px;
      font-weight: 400;
      margin-bottom: 20px;
      line-height: 1.4;
  }

  .ready-go a.inquries {
      font-size: 14px;
      font-weight: bold;
      padding: 10px 18px;
      border-radius: 6px;
      text-decoration: none;
      background-color: #007bff;
      color: #fff;
      transition: background 0.3s ease, transform 0.2s ease;
      display: inline-block;
  }

  .ready-go a.inquries:hover {
      background-color: #0056b3;
      transform: scale(1.05);
  }


}

.reveal {
opacity: 0;
transform: translateY(40px);
transition: all 0.9s ease;
}
.reveal.visible {
opacity: 1;
transform: translateY(0);
}
.reveal-left {
opacity: 0;
transform: translateX(-40px);
transition: all 0.9s ease;
}
.reveal-left.visible {
opacity: 1;
transform: translateX(0);
}
.reveal-right {
opacity: 0;
transform: translateX(40px);
transition: all 0.8s ease;
}
.reveal-right.visible {
opacity: 1;
transform: translateX(0);
}



@media (min-width: 768px) and (max-width: 1024px) {

  /* Hero Section */
  .hero-slider {
      position: relative;
      width: 100%;
      height: 450px; /* slightly smaller than large desktop */
      overflow: hidden;
  }

  /* Slide backgrounds */
  .slide-backgrounds .slide {
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transition: opacity 1s ease;
  }

  .slide-backgrounds .slide.active {
      opacity: 1;
  }

  /* Overlay content */
  .overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      color: #fff;
      width: 85%;
      max-width: 800px;
      padding: 20px;
      background: rgba(0, 0, 0, 0.3); /* subtle overlay for readability */
      border-radius: 10px;
  }

  /* Slide title */
  .overlay #slide-title {
      font-size: 28px;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 1px;
  }

  /* Slide description */
  .overlay #slide-desc {
      font-size: 16px;
      font-weight: 400;
      line-height: 1.5;
      margin-bottom: 15px;
      color: #f1f1f1;
  }

  /* Slide button */
  .overlay #slide-btn {
      display: inline-block;
      font-size: 14px;
      font-weight: 600;
      padding: 10px 24px;
      border-radius: 6px;
      text-decoration: none;
      background: #0c87eb; /* professional accent color */
      color: #fff;
      transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  .overlay #slide-btn:hover {
      background: #0c87eb;
      transform: translateY(-2px);
      box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  }

  /* Navigation buttons */
  .nav {
      font-size: 22px;
      padding: 8px 12px;
      border-radius: 50%;
      background: rgba(0,0,0,0.4);
      color: #fff;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      z-index: 10;
      transition: background 0.3s ease;
  }

  .nav:hover {
      background: rgba(0,0,0,0.65);
  }

  .nav.prev { left: 15px; }
  .nav.next { right: 15px; }

  /* Dots */
  .dots {
      position: absolute;
      bottom: 18px;
      width: 100%;
      text-align: center;
  }

  .dots .dot {
      display: inline-block;
      width: 10px;
      height: 10px;
      margin: 0 4px;
      background: rgba(255,255,255,0.6);
      border-radius: 50%;
      cursor: pointer;
      transition: background 0.3s ease;
  }

  .dots .dot.active {
      background: #fff;
  }


}
/* ---------------- HERO SECTION RESPONSIVE ---------------- */

/* ---------------- Mobile (max 539px) ---------------- */
@media (max-width: 539px) {
  .hero-slider {
      position: relative;
      height: 320px; /* compact for small screens */
      overflow: hidden;
  }

  .slide-backgrounds .slide {
      background-size: cover;
      background-position: center;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease;
  }

  .slide-backgrounds .slide.active {
      opacity: 1;
  }

  .overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 90%;
      text-align: center;
      color: #fff;
      background: rgba(0,0,0,0.35);
      padding: 15px;
      border-radius: 8px;
  }

  #slide-title {
      font-size: 18px;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 10px;
      text-transform: uppercase;
  }

  #slide-desc {
      font-size: 14px;
      margin-bottom: 12px;
      line-height: 1.4;
  }

  #slide-btn {
      font-size: 14px;
      padding: 8px 18px;
      border-radius: 6px;
  }

  .nav {
      font-size: 18px;
      padding: 6px 10px;
  }

  .dots .dot {
      width: 10px;
      height: 10px;
  }
}

/* ---------------- Tablet (540px - 720px) ---------------- */
@media (min-width: 540px) and (max-width: 720px) {
  .hero-slider {
      height: 400px;
  }

  .overlay {
      width: 85%;
      padding: 20px;
      border-radius: 10px;
  }

  #slide-title {
      font-size: 22px;
  }

  #slide-desc {
      font-size: 16px;
  }

  #slide-btn {
      font-size: 15px;
      padding: 10px 22px;
  }

  .nav {
      font-size: 20px;
      padding: 8px 12px;
  }

  .dots .dot {
      width: 11px;
      height: 11px;
  }
}

/* ---------------- Small Laptop (721px - 1023px) ---------------- */
@media (min-width: 721px) and (max-width: 1023px) {
  .hero-slider {
      height: 480px;
  }

  .overlay {
      width: 75%;
      max-width: 800px;
      padding: 25px;
      border-radius: 12px;
  }

  #slide-title {
      font-size: 28px;
  }

  #slide-desc {
      font-size: 18px;
  }

  #slide-btn {
      font-size: 16px;
      padding: 12px 24px;
  }

  .nav {
      font-size: 22px;
      padding: 8px 14px;
  }

  .dots .dot {
      width: 12px;
      height: 12px;
  }
}

/* ---------------- Laptop (1024px - 1280px) ---------------- */
@media (min-width: 1024px) and (max-width: 1280px) {
  .hero-slider {
      height: 550px;
  }

  .overlay {
      width: 70%;
      max-width: 900px;
      padding: 28px;
      border-radius: 14px;
      background: rgba(0,0,0,0.3);
  }

  #slide-title {
      font-size: 36px;
      line-height: 1.3;
  }

  #slide-desc {
      font-size: 20px;
  }

  #slide-btn {
      font-size: 17px;
      padding: 14px 28px;
  }

  .nav {
      font-size: 24px;
      padding: 9px 14px;
  }

  .dots .dot {
      width: 13px;
      height: 13px;
  }
}

/* ---------------- Desktop (1281px and above) ---------------- */
@media (min-width: 1281px) {
  .hero-slider {
      height: 650px;
  }

  .overlay {
      width: 70%;
      max-width: 1100px;
      padding: 30px 25px;
      border-radius: 15px;
      background: rgba(0,0,0,0.35);
  }

  #slide-title {
      font-size: 48px;
      line-height: 1.2;
  }

  #slide-desc {
      font-size: 22px;
  }

  #slide-btn {
      font-size: 18px;
      padding: 14px 30px;
  }

  .nav {
      font-size: 28px;
      padding: 10px 14px;
  }

  .dots .dot {
      width: 14px;
      height: 14px;
  }
}

/* ---------------- COMMON BUTTON & OVERLAY STYLING ---------------- */
#slide-btn {
  display: inline-block;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: #007bff;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

#slide-btn:hover {
  background: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

/* Navigation buttons common styling */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  z-index: 10;
  transition: background 0.3s ease;
}

.nav:hover {
  background: rgba(0,0,0,0.7);
}

.nav.prev { left: 20px; }
.nav.next { right: 20px; }

/* Dots common styling */
.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.dots .dot {
  display: inline-block;
  background: rgba(255,255,255,0.65);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dots .dot.active {
  background: #fff;
}
/* ---------- DESKTOP (LAPTOP & LARGE SCREENS) ---------- */
@media (min-width: 1025px) {
  .hero-slider {
    height: 70vh; /* Not too tall */
  }

  /* Overlay content */
  .hero-slider .overlay {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    text-align: center;
    max-width: 550px;
    margin-left: 280px;
  }

  /* Title */
  #slide-title {
    font-size: 2.8rem;  
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.55);
  }

  /* Description */
  #slide-desc {
    font-size: 1.25rem;
    color: #f2f2f2;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.5;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.55);
  }

  /* Button */
  #slide-btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    background:#007bff;
    color: #fff;
    border-radius: 6px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
  }

  #slide-btn:hover {
    background:#007bff;
    transform: translateY(-2px);
  }

  /* Navigation arrows */
  .nav {
    font-size: 32px;
    padding: 10px 18px;
  }

  /* Dots */
  .dots .dot {
    width: 13px;
    height: 13px;
  }
}
.andy {
  font-size: 12px;
  text-align: center;
}