body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}
header {
  color: #111;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  z-index: 999;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.logo h4 {
  font-size: 22px;
}

.nav-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.nav-item ul li {
  margin: 0 10px;
}

.nav-item ul li a {
  color: #111;
  text-decoration: none;
  /* display: block; */
  padding: 8px 15px;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.ri-shopping-cart-line {
  font-size: 30px;
}
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  padding: 10px 0px;
  z-index: 9;
}

.dropdown-content a {
  color: black;
  padding: 35px;
  text-decoration: none;
  display: block;
  opacity: 0.9;
  font-size: 16px;
  margin-bottom: 15px;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.nav-toggle {
  display: none;
}
.nav-toggle i {
  font-size: 30px;
  color: #111;
}
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #fff;
  overflow-x: hidden;
  transition: 0.5s;
  z-index: 9;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 20px;
  color: #111;
  display: block;
  transition: 0.3s;
  cursor: default;
}

.sidenav a:hover {
  color: #111 !important;
}

.sidenav span i {
  font-size: 50px;
  color: #111;
  cursor: default;
}
/* Add this to the existing CSS */
.sidenav .dropdown-content {
  display: none;
  position: relative;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  padding: 10px 0px;
  width: 100%;
}

.sidenav .dropdown-content a {
  color: black;
  padding: px;
  text-decoration: none;
  display: block;
  opacity: 0.9;
  font-size: 16px;
  margin-bottom: 5px;
}

.sidenav .dropdown-content a:hover {
  background-color: #f1f1f1;
}
@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
  .sidenav a {
    font-size: 16px;
  }
  .navbar-toggle .toggle-icon {
    cursor: default !important;
  }
}
.product-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 30px auto;
  background: #ffffff;
  padding: 30px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
  border-radius: 10px;
}

.product-images {
  flex: 1;
  min-width: 280px;
  max-width: 40%;
  margin-right: 30px;
}

.product-images img#main-image {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  /* border: 2px solid #ddd; */
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  object-fit: contain;
}

.thumbnail-container {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
}

.thumbnail-container img {
  width: 70px;
  height: 70px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.thumbnail-container img:hover,
.thumbnail-container img.active {
  border-color: #197374;
  transform: scale(1.1);
}

.product-details {
  flex: 1.5;
  min-width: 280px;
}

.product-details h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222;
}

.product-details h2 {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 20px;
}

.tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.tab {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid #ddd;
  border-radius: 20px;
  background-color: #f9f9f9;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.tab.active {
  background-color: #197374;
  color: white;
  border-color: #197374;
}

.tab:hover {
  background-color: #e6e6e6;
  color: #111;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  font-size: 14px;
  color: #111;
  opacity: 0.8;
  margin-bottom: 25px;
  line-height: 1.5;
}

.product-actions {
  margin-top: 25px;
}

.product-actions label {
  display: inline-block;
  margin-right: 15px;
  font-weight: 600;
}

.product-actions input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #197374;
  border-radius: 4px;
  outline: #197374;
  margin-right: 15px;
}

.price {
  font-size: 1.8rem;
  color: #222;
  opacity: 0.8;
  margin: 25px 0;
}
.price s {
  color: #555;
  font-size: 1.2rem;
  margin-right: 10px;
}
.add-to-cart,
.save-to-wishlist {
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s ease;
}

.add-to-cart {
  background-color: #197374;
  color: white;
}

.save-to-wishlist {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  color: #333;
}

.add-to-cart:hover {
  background-color: #075a5b;
}

.save-to-wishlist:hover {
  background-color: #e6e6e6;
}
/* review */
.product-wrapper {
  max-width: 1200px;
  margin: auto;
  background: #fff;
  padding: 10px 10px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.nav-tabs .tab-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 10px;
  color: #444;
}

.nav-tabs .tab-btn.active {
  color: #197374;
  font-weight: bold;
  border-bottom: 2px solid #197374;
}

.tab-section {
  display: none;
}

.tab-section.active {
  display: block;
}

.desc-content {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  opacity: 0.8;
}

/* Reviews Section */
.review-list {
  margin-bottom: 30px;
}

.review-item {
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.review-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.review-rating {
  color: #ffc107;
}

.review-item h4 {
  margin: 10px 0;
  font-size: 16px;
  color: #333;
}

.review-item p {
  font-size: 14px;
  color: #666;
}

/* Add Review Form */
.review-form h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.review-form label {
  font-size: 14px;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.review-form input,
.review-form textarea {
  width: 100%;
  padding: 10px 0px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.review-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
}

.review-stars span {
  font-size: 24px;
  cursor: pointer;
  color: #ddd;
}

.review-stars span.selected {
  color: #ffc107;
}

.review-form button {
  padding: 10px 20px;
  background: #075a5b;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
}

.review-form button:hover {
  background: #0056b3;
}

/* services section start */
.services {
  padding: 50px 0;
}
.services h1 {
  text-align: center;
  opacity: 0.8;
}
.card-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 10px;
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-between; */
  gap: 20px;
}

/* Card Container */
.card {
  width: 280px;
  border-radius: 12px;
  background-color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
}

/* Image Section */
.card-image {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.wishlist-icon {
  position: absolute;
  top: 0px;
  right: 10px;
  cursor: pointer;
}

.wishlist-icon p {
  color: #fff;
  font-size: 15px;
  background-color: #229799;
  padding: 8px 20px;
  border-radius: 20px;
}

/* Content Section */
.card-content {
  padding: 20px;
  text-align: left;
}

.card-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
  margin-top: 10px;
}

.card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.tag {
  padding: 5px 10px;
  font-size: 12px;
  background-color: #f2f2f2;
  color: #555;
  border-radius: 15px;
}

.card-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* footer */
footer {
  background-color: #f8f8f8;
  padding: 20px 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin: 10px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.footer-section p {
  font-size: 15px;
  color: #111;
  opacity: 0.8;
  /* margin-bottom: 20px; */
}
.footer-section ul {
  list-style: none;
  padding: unset;
}

.footer-section ul li {
  margin-bottom: 8px;
  padding: 0px 0px;
}

.footer-section ul li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
  opacity: 0.8;
  font-size: 15px;
}

.footer-section ul li a:hover {
  color: #197374;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  color: #666;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .nav-item ul li {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-item ul li:nth-child(5) {
    display: block;
  }
  .product-container {
    flex-direction: column;
    padding: 20px;
  }

  .product-images {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .thumbnail-container img {
    width: 60px;
    height: 60px;
  }

  .tabs {
    flex-wrap: wrap;
    gap: 10px;
  }
  .product-details h1 {
    font-size: 1.5rem;
  }
  .product-wrapper {
    padding: 15px;
  }

  .nav-tabs {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-tabs .tab-btn {
    font-size: 16px;
    text-align: center;
  }

  .desc-content {
    font-size: 14px;
  }

  .review-item h4 {
    font-size: 14px;
  }

  .review-form h3 {
    font-size: 16px;
  }

  .review-form input,
  .review-form textarea {
    font-size: 12px;
  }

  .review-form button {
    font-size: 12px;
    padding: 8px 15px;
  }

  .review-stars span {
    font-size: 20px;
  }
  .product-card {
    width: 90%; /* Make cards take up more space on smaller screens */
  }
  .footer-container {
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  .nav-tabs .tab-btn {
    font-size: 14px;
  }

  .review-form input,
  .review-form textarea {
    font-size: 12px;
    padding: 8px;
    width: 90%;
  }

  .review-item h4 {
    font-size: 12px;
  }
  .product-card {
    width: 100%; /* Make cards stack fully on very small screens */
    padding: 15px; /* Reduce padding for smaller viewports */
  }

  .product-card h3 {
    font-size: 1.2em; /* Adjust font size for headings */
  }

  .product-card p {
    font-size: 0.9em; /* Adjust font size for text */
  }
}
@media (max-width: 576px) {
  .card {
    width: auto;
  }
}