* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

.navbar {
  background: #003087;
  color: white;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #e67e22;
}

.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), 
              url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?ixlib=rb-4.0.3&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

.cta-btn {
  background: #e67e22;
  color: white;
  padding: 15px 35px;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #d35400;
  transform: scale(1.05);
}

.section {
  padding: 80px 5%;
}

h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #003087;
  font-size: 2.5rem;
}

.about-section {
  background: #f8f9fa;
}

.about-section p {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
}

.about-section h3 {
  color: #003087;
  margin: 35px 0 15px 0;
  font-size: 1.7rem;
  text-align: center;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.why-item {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.why-item:hover {
  transform: translateY(-5px);
}

.why-item i {
  color: #e67e22;
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}

/* Products Section */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
  background: white;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  color: #003087;
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.product-info ul {
  list-style: disc;
  padding-left: 20px;
}

.product-info li {
  margin-bottom: 6px;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
}

.contact-info h3 {
  color: #003087;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form button {
  background: #003087;
  color: white;
  padding: 14px 40px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #e67e22;
}

/* Footer */
footer {
  background: #003087;
  color: white;
  text-align: center;
  padding: 30px 5%;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 2.6rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 60px 5%;
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

}
/* Improved Product Card */
.product-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s;
  background: white;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #f0f0f0;
}

/* Make it closer to your screenshot design */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Fix Image Loading & Text Shaking */
.product-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s;
  background: white;
  height: 100%; /* Prevent layout shift */
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  height: 220px;        /* Fixed height */
  object-fit: cover;
  background: #f0f0f0;  /* Placeholder color while loading */
  display: block;
}

.product-info {
  padding: 20px;
  flex-grow: 1;         /* Prevent jumping */
}

.product-info ul {
  padding-left: 20px;
  margin-top: 10px;
}

.product-info li {
  margin-bottom: 6px;
}

/* Better Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 25px;
  max-width: 1300px;
  margin: 0 auto;
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #f8f9fa;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 25px;
  max-width: 1300px;
  margin: 40px auto 0;
}