body {
  margin: 0;
  font-family: 'Arial', sans-serif;
}

/*nav bar styles*/
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  width: fit-content;
}

.logo {
  height: 60px;
  margin-right: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #041A34;
  font-size: 20px;
  font-weight: normal;
  transition: font-weight 0.2s ease;
  white-space: nowrap;
}

.nav-links a.active {
  font-weight: bold;
}

.nav-links a:hover {
color: #7c16bb;
} 

/* Page Header */
.page-header {
display: flex;
  align-items: center;
  height: 70vh;
  background: url('images/product-banner.jpg') left center/cover no-repeat;
 padding: 0 5%;
  box-sizing: border-box;
  position: relative;
}

.product-intro {
  max-width: 900px;
  margin: 30px auto 0;
  padding: 0 20px;
  font-size: 20px;
  color: #041A34;
  text-align: center;
  line-height: 1.6;
}

/*product*/
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px 5%;
  max-width: 1200px;
  margin: auto;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-card h3 {
  margin: 15px 0 10px;
  font-size: 24px;
  color: #002244;
}

.product-card p {
  font-size: 18px;
  margin-bottom: 20px;
}

.product-card a {
  font-weight: bold;
}

.btn {
  text-decoration: none;
  display: inline-block;
  background-color: #041A34;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #093e7f;
}

/* Product Detail Cards Layout */

.product-detail-list h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #002b5c;
}

.product-detail-list .detail-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  max-width: 250px;
  margin: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.product-detail-list img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.product-detail-list h3 {
  font-size: 1.2rem;
  color: #002b5c;
  margin-bottom: 0.5rem;
}

.product-detail-list p {
  font-size: 0.95rem;
  color: #000000;
}

.back-btn {
  margin: 20px;
  display: inline-block;
  text-align: center;
  background-color: #041A34;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.product-detail-list {
  padding: 3rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #002b5c;
  text-align: center;
}

.product-detail-list > .detail-card {
  display: inline-block;
}

@media (min-width: 768px) {
  .product-detail-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Footer Section */
footer {
  text-align: center;
  background-color: #041A34;
  color: white;
  padding: 30px 10px;
}

footer a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
}

footer p:last-of-type {
  border-top: 1px solid white;
  padding-top: 15px;
  margin-top: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

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