/* styles.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  overflow-x: hidden;
}

/* Top Bar Section */

.top-bar-section {
  width: 100%;
  background-color: #4fb649;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 70px;
}

.top-bar-section a {
  color: white;
  height: auto;
  text-decoration: none;
}

.top-bar-social-icons a {
  height: 20px;
}

.top-bar-content-section {
  display: flex;
  align-items: center;
  gap: 25px;
}

.top-bar-content-section p {
  font-size: 16px;
  /* font-weight: 600; */
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-bar-social-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-social-icons i {
  font-size: 20px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 80px;
  /* background-color: #fff; */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  background-color: black;
  /* position: fixed; */
  width: 100%;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo img {
  width: 170px;
  height: auto;
}

.logo span {
  color: #ffc107;
}

.nav-links {
  list-style-type: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
}

/* Product Description */

.main-h2 {
  font-size: 2em;
  padding: 10px;
  text-align: center;
}

.product-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1200px;
  margin: 10px auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.big-box-1 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  flex: 1;
  padding: 20px;
}

.product-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: none;
  object-position: top;
}

.product-details {
  flex: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-details h1 {
  font-size: 2rem;
}

.product-details .price {
  font-size: 1.1rem;
  color: #e67e22;
  margin-bottom: 10px;
}

.product-details .description {
  margin-bottom: 20px;
  line-height: 1.8;
}

.product-details .features {
  list-style: disc inside;
  margin-bottom: 20px;
}

.product-details .buy-now {
  padding: 10px 20px;
  font-size: 1rem;
  color: #fff;
  background-color: #4fb649;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.product-details .buy-now:hover {
  background-color: #3f843b;
}

.toggle-container {
  margin: 20px 0;
}

.toggle-button {
  padding: 10px 15px;
  font-size: 1rem;
  margin-right: 10px;
  color: #fff;
  background-color: #3498db;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.toggle-button:hover {
  background-color: #2980b9;
}

.content {
  margin: 20px 0;
  font-size: 1rem;
  line-height: 1.6;
}

.content ul {
  margin: 10px 0px;
}

.content p {
  margin: 5px 0px;
}

.big-box-2 {
  padding: 2px 25px;
}

/* Image Gallery */

.gallery-container {
  max-width: 600px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  padding: 20px;
}

.main-image {
  width: 100%;
  height: auto;
  max-height: 280px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.thumbnails {
  display: flex;
  justify-content: space-between;
  gap: 10px;

  overflow-x: scroll;
}

.thumbnail img {
  width: 100px;
  height: auto;
  max-height: 60px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  object-fit: cover;
}

.thumbnail img:hover {
  border-color: #007bff;
}

/* From Uiverse.io by mahiatlinux */

.mydict div {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.mydict input[type="radio"] {
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.mydict input[type="radio"]:checked+span {
  box-shadow: 0 0 0 0.0625em white;
  background-color: #3f843b;
  z-index: 1;
  color: white;
}

.mydict label span {
  display: block;
  cursor: pointer;
  background-color: #4fb649;
  padding: 0.375em 0.75em;
  position: relative;
  margin-left: 0.0625em;
  box-shadow: 0 0 0 0.0625em white;
  letter-spacing: 0.05em;
  color: white;
  text-align: center;
  transition: background-color 0.5s ease;
}

.mydict label:first-child span {
  border-radius: 0.375em 0 0 0.375em;
}

.mydict label:last-child span {
  border-radius: 0 0.375em 0.375em 0;
}

/* Footer Section */

.footer-section {
  background-color: #2C2C2C;
  color: #ffffff;
  padding: 60px 20px;
  background-image: url("/images/footer-background.webp");
  background-size: cover;
}

.footer-middle {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding: 0px 50px;
}

.footer-brand {
  width: 50%;
}

.footer-logo img {
  width: 150px;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  width: 60%;
  margin-bottom: 10px;
}

.footer-socials a {
  margin-right: 10px;
  font-size: 25px;
  color: #ffffff;
  text-decoration: none;
}

.footer-logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0px;
}

.footer-logo-section img {
  width: auto;
  height: 60px;
  border-radius: 5px;
}

.footer-links {
  flex: 1;
}

.footer-links h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style-type: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
}

.footer-below-box {
  width: 100%;
  padding: 10px;
  background-color: #4fb649;
}

.footer-below-box h3 {
  width: 100%;
  text-align: center;
  color: white;
}

/* Responsive Code */

@media (max-width: 1200px) {

  /* Footer */
  .footer-brand {
    width: 45%;
  }
}

@media (max-width: 769px) {

  /* Top Section */
  .top-bar-section {
    flex-direction: column;
    padding: 5px 10px;
    gap: 10px;
  }

  .top-bar-content-section {
    flex-direction: column;
    gap: 2px;
  }

  /* Footer Section */
  .footer-section {
    padding: 20px;
  }

  .footer-middle {
    flex-direction: column;
    padding: 0px 10px;
    justify-content: center;
    gap: 25px;
  }

  .footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .footer-links h3 {
    margin-bottom: 10px;
  }

  .footer-item .footer-icon i {
    font-size: 30px;
  }

  .footer-links ul li {
    text-align: center;
  }

  .footer-item p {
    font-size: 14px;
  }

  .footer-item h3 {
    font-size: 18px;
  }

  .footer-below-box h3 {
    font-size: 14px;
  }

  .footer-brand p {
    width: 100%;
    text-align: center;
  }

  .footer-brand {
    width: auto;
  }

  .footer-logo-section {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-logo-section img {
    height: 65px;
  }
}

/* Responsive Design */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .navbar {
    padding: 20px 40px;
  }

  .product-container {
    max-width: 95%;
    margin: 20px auto;
  }

  .big-box-1 {
    flex-direction: column;
    text-align: center;
  }

  .product-details {
    padding: 15px;
  }

  .gallery-container {
    max-width: 90%;
  }

  .thumbnails {
    overflow-x: scroll;
  }

  .product-image {
    padding: 5px 20px;
  }
}

@media (max-width: 1050px) {
  .nav-links {
    display: none;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

  /* Navbar */
  .navbar {
    padding: 15px 20px;
    align-items: center;
  }

  .nav-links {
    display: none;
  }

  .logo {
    width: 100%;
  }

  /* Product Section */
  .big-box-1 {
    flex-direction: column;
  }

  .product-image {
    padding: 10px;
  }

  .product-image img {
    width: 100%;
    max-height: 220px;
  }

  .product-details {
    padding: 10px;
    text-align: center;
  }

  .product-details h1 {
    font-size: 1.4rem;
  }

  .product-details .price {
    font-size: 1.1rem;
    margin-bottom: 1px;
  }

  .content {
    margin: 10px 0;
  }

  .product-details .buy-now {
    width: 50%;
    margin: auto;
  }

  .mydict div {
    width: 100%;
  }

  .mydict div label {
    width: 50%;
  }

  .product-details .description {
    text-align: justify;
  }

  .content p {
    text-align: justify;
  }

  /* Image Gallery */
  .gallery-container {
    max-width: 100%;
    padding: 10px;
  }

  .thumbnails {
    justify-content: center;
    gap: 5px;
  }

  .thumbnail img {
    width: 80px;
    max-height: 50px;
  }

  /* Footer */
  .footer-middle {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-logo-section {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-logo-section img {
    height: 50px;
  }
}

/* Sidebar */

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  z-index: 2000;
}

.sidenav a {
  padding: 8px 8px 8px 22px;
  text-decoration: none;
  font-size: 20px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 36px;
  margin-left: 50px;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }

  .sidenav a {
    font-size: 18px;
  }
}

.sidebar-logo-img {
  width: 150px;
  margin-top: 10px;
}

.sidebar-open {
  display: none !important;
  color: white;
  font-size: 25px;
  cursor: pointer;
}

@media (max-width:900px) {
  .sidebar-open {
    display: block !important;
  }
}

.sidebar-nav {
  color: white;
  font-size: 25px;
  display: none !important;
  cursor: pointer;
}

@media (max-width:1050px) {
  .sidebar-nav {
    display: block !important;
  }
}

/* Whatsapp Button */

.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 10000;
}

.whatsapp-btn img {
  width: 70px;
  height: auto;
}

@media (max-width: 600px) {
  .whatsapp-btn img {
    width: 60px;
    height: auto;
  }
}


/* NEW SECTION */


.image-boxx {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.image-boxx img {
  width: 32.6%;
  max-height: 220px;
  border-radius: 10px;
  object-fit: cover;
}

.content h3 {
  font-size: 1.4em;
  margin-bottom: 5px;
  text-align: center;
}

@media (max-width:1010px) {
 .image-boxx img {
    width: 49.2%;
  }
}

@media (max-width:769px) {
  .main-h2 {
    font-size: 1.4em;
    padding: 0px;
  }

  .product-container {
    max-width: 100%;
  }
  .image-boxx img {
    width: 48.5%;
  }
}

@media (max-width:425px) {
  .image-boxx img {
    width: 100%;
  }

  table {
    width: 96%;
  }
  .big-box-2 {
    padding: 2px 10px;
}
}


th{
  width: 20% !important;
}

@media (max-width:769px) {
  th{
  width: 40% !important;
}
}
