/* Base styles */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger .line {
  width: 100%;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* Hamburger Active State */
.hamburger.active .line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* Responsive styles */
@media screen and (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    text-align: center;
  }
  
  #freeVisitForm{
      text-align: left;
  }

  .contact-info span {
    display: block;
    margin: 5px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 10px 0;
    margin: 10px 0;
  }

  .nav-links li a {
    padding: 10px 20px;
    font-size: 1.2em;
    display: block;
  }

  .navbar-brand img{
    height: 60px;
  }

  .nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
  }

  .nav-links a:hover {
    color: #007bff;
  }
 

  .hamburger {
    display: flex;
  }

  .navbar-collapse {
    border-top: 1px solid #000;
    padding: 10px 0;
}
.navbar-brand{
    padding: 15px 0;
}

  .features-grid,
  .product-grid,
  .footer-content,
  .why-choose-grid,
  .nets-grid,
  .free-visit-grid,
  .vision-mission-grid,
  .contact-grid,
  .works-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .floating-btn {
    width: 45px;
    height: 45px;
  }

  .floating-btn i {
    font-size: 20px;
  }

  .call-btn {
    left: 20px;
    bottom: 50px;
  }

  .whatsapp-btn {
    right: 20px;
    bottom: 50px;
  }

  .hero-content h1 {
    font-size: 2.5em;
  }

  .hero-content p {
    font-size: 1em;
  }

  .hero-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}

@media screen and (max-width: 992px) {
  .features-grid,
  .product-grid,
  .footer-content,
  .why-choose-grid,
  .nets-grid,
  .free-visit-grid,
  .vision-mission-grid,
  .contact-grid,
  .works-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nets-image {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 576px) {
  .works-grid,
  .product-grid,
  .features-grid,
  .footer-content,
  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .footer-section {
    margin-bottom: 20px;
  }

  .section-header h2 {
    font-size: 2em;
  }
}

@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 2em;
  }

  .hero h2 {
    font-size: 1.5em;
  }
  
}