html {
  scroll-behavior: smooth;
}

/* Popup Overlay */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup Box */
.popup-content {
  background: white;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  max-width: 400px;
}

.popup-content h3 {
  margin-bottom: 10px;
  color: #0066cc;
}

.popup-content button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  background: #0066cc;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.popup-content button:hover {
  background: #004c99;
}


/* =========================
   Global / Shared Styles
========================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

 h1, h2, h3, h4 {
  margin: 0 0 10px;
}

.hero-content h1, .services h2, .cta h2 {
    font-size: 48px;
}

.hero-content h3 {
    font-size: 25px;
}

.hero-content p, .services p, .cta p {
    font-size: 20px;
	max-width: 700px;
    margin: 20px auto;
}

/* =========================
   Navbar
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: auto;
  margin: 0 auto;
  padding: 3px 40px;
  background: #fff;
}

}

.navbar .logo {
  font-weight: bold;
  color: #0066cc;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  padding: 5px 10px;
}

.nav-links .active {
  border-bottom: 2px solid #0066cc;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #0066cc;
  font-size: 20px;
  gap: 10px; /* space between icon and text */
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* ============Products page css START============= */
.products {
  text-align: center;
  padding: 60px 20px;
  background: #fafafa;
}

.products h2 {
  font-size: 2.2em;
  color: #333;
  margin-bottom: 10px;
}

.products p {
  color: #666;
  margin-bottom: 30px;
}

.search-bar {
  margin: 20px 0;
}

#searchInput {
  padding: 12px 20px;
  width: 90%;
  max-width: 500px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
}

#searchInput:focus {
  border-color: #0066cc;
  box-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  justify-items: center;
  padding: 20px 0;
}

/* Product Card */
.product-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 230px;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 1.1em;
  color: #333;
}

/* Popup Styling */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: white;
  border-radius: 12px;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.popup-content h3 {
  color: #004aad;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.popup-content button {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  margin-top: 10px;
  cursor: pointer;
}

.popup-content button:hover {
  background-color: #0056b3;
}


/* ============Products page css END============= */

/* Footer */
footer {
  background: #111827;
  color: #ddd;
  padding: 40px 20px 20px;
}

.footer-content {
  max-width: auto;
  margin: auto;
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1 1 250px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  color: #ddd;
  display: block;
  margin: 5px 0;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #333;
  padding-top: 15px;
  font-size: 14px;
  color: #aaa;
}