   html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden; /* Prevent scroll on large screen */
  overflow-y: auto;
}

/* ================= NAVBAR =================== */
.navbar {
  background: #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 10px 20px; */
  flex-wrap: wrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
   padding: 2px 20px; /* aur chhota */
}

.navbar-left .logo {
  height: 70px;
  max-width: 100%;
}

.logo {
  height: 70px;
  max-width: 100%;
}

.navbar-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
  gap: 10px;
}

.navbar a {
  margin: 0 10px;
  text-decoration: none;
  color: #222;
  font-weight: bold;
  font-size: 16px;
}
h3{
    font-size: large;
    color: #a40000;
}
.quality-section {
      max-width: 900px;
      margin: 20px auto;
      font-family: Arial, sans-serif;
    }

    .section-header {
      background-color: #d1d1d1;
      color: #a40000;
      font-weight: bold;
      padding: 10px;
      font-size: 20px;
    }
    .navbar-center a,
.footer-links a {
  text-decoration: none;
  padding: 10px;
  color: #333;
  transition: 0.3s;
}

/* Hover effect */
.navbar-center a:hover,
.footer-links a:hover {
  color: #a40000; /* Blue color on hover */
  
}
.navbar-center a.active,
.footer-links a.active {
  color: #a40000;
 
  font-weight: bold;
}
.active-link .link-box {
  color: #a40000;
  font-weight: bold;
}

/* ================= SOCIAL ICONS =================== */
.social-icons {
  display: flex;
  gap: 8px;
}

.social-icons img {
  height: 24px;
}



/* ================= FOOTER =================== */
.footer {
  background: #f2f2f2;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 14px;
}

.copyright {
  font-size: 12px;
  color: #333;
}

/* ================= CONTACT BUTTON =================== */
.contact-button {
  position: fixed;
  right: 0;
  top: 50%;
  background: #444;
  color: white;
  padding: 10px;
  writing-mode: vertical-lr;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 999;
}

/* ================= SEND MESSAGE BUTTON =================== */
.send-message {
  display: flex;
  justify-content: end;
  margin-top: 5px;
  margin-right: 20px;
}

.send-message button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
}

.send-message button:hover {
  background-color: #0056b3;
}

/* ================= RESPONSIVE =================== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    margin-bottom: 10px;
  }

  .cards {
    grid-template-columns: 1fr;
    padding: 20px;
    margin-top: 0;
  }

  .hero {
    background-size: cover;
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 20px;
  }

  .send-message {
    justify-content: center;
    margin: 10px auto;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .card img {
    height: 80px;
  }

  .navbar a {
    font-size: 14px;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
   .hero {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .cards {
    padding-bottom: 60px;
    gap: 20px;
  }

  .card {
    width: 90%;
    height: auto;
  }

  .card img {
    height: auto;
  }

   .navbar-center {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .navbar-center a {
    margin: 8px 0;  /* Vertical margin */
  }
 .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  .footer-links a {
    margin: 0;
  }
}
   @media (max-width: 1080px) {
  .footer {
    display: none;
  }
}

/* Navbar Base */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 1000;
}

.navbar-left .logo {
  height: 50px;
}

.navbar-center a {
  margin: 0 10px;
  text-decoration: none;
  color: black;
  font-weight: 500;
}

.navbar-center a.active {
  color: #a40000;
}

.social-icons a {
  margin-left: 10px;
  color: black;
  font-size: 18px;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: #fff;
  position: absolute;
  top: 60px;
  right: 20px;
  width: 200px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 999;
}

.mobile-nav a {
  padding: 10px;
  text-decoration: none;
  color: black;
  border-bottom: 1px solid #eee;
}

.mobile-nav a:hover {
  background-color: #f9f9f9;
  color: #a40000;
}

/* Responsive Styles */
@media (max-width: 1080px) {
  .navbar-center,
  .social-icons {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

 /* Stylish Contact Button */
.contact-button {
 position: fixed;
  top: 40%;
  right: 0; /* left: 0; if you want it on the left side */
  background-color: #555;
  color: white;
  padding: 20px 13px;
  writing-mode: vertical-rl; /* rotate text vertically */
  text-orientation: mixed;
  font-weight: bold;
  font-size: 16px;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  box-shadow: -2px 2px 10px rgba(0,0,0,0.3);
  transition: background 0.3s;
  z-index: 999;
}

.contact-button:disabled {
  background: #ccc;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
}

/* Slide-in Panel */
.contact-form-panel {
  position: fixed;
  top: 90px;;
  right: -400px; /* Hidden initially */
  width: 300px;
  height: 80%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  transition: right 0.4s ease;
  z-index: 1000;
}

.contact-form-panel.active {
  right: 0;
}

.contact-form-content {
  position: relative;
}

.close-btn {
  position: absolute;
  top: -15px;
  right: 1px;
  font-size: 24px;
  cursor: pointer;
}

.contact-form-content h3,
.contact-form-content h4 {
  margin: 10px 0;
}

.contact-form-content p {
  margin: 5px 0;
}

.contact-form-content input,
.contact-form-content select,
.contact-form-content textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  box-sizing: border-box;
 
  border: 1px solid #ccc;
}

.contact-form-content textarea {
  height: 80px;
  resize: vertical;
}

.contact-form-content button[type="submit"] {
  background-color: #555;
  color: white;
  border: none;
  padding: 12px;
  width: 50%;
  margin-top: 10px;

  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form-content button[type="submit"]:hover {
  background-color: #0056b3;
}

#toggleBtn {
  display: block;
  width: 100%;
  background-color: #555;
  color: white;
  font-weight: bold;
  padding: 10px;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
  border-radius: 6px;
}

#toggleBtn:hover {
  background-color: #333;
}

form input, form select, form textarea, form button {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
}


@media (max-width: 300px) {
  .contact-form-panel {
    width: 100%;       /* Take full width */
    right: -100%;      /* Hide off-screen */
    top: 0;
    height: 100%;      /* Full height on mobile */
    padding: 15px;
  }

  .contact-form-panel.active {
    right: 0;          /* Slide in */
  }

  .contact-form-content h3,
  .contact-form-content h4 {
    font-size: 18px;
  }

  .contact-form-content input,
  .contact-form-content select,
  .contact-form-content textarea {
    font-size: 14px;
    padding: 8px;
  }

  .contact-form-content button[type="submit"] {
    width: 100%;       /* Full width button */
    padding: 10px;
    font-size: 16px;
  }

  .close-btn {
    font-size: 28px;
    top: 5px;
    right: 10px;
  }
}

 
