/* Global Styles */
* {
  padding: 0px;
  margin: 0px;
}
body {
  font-family: Arial, sans-serif;
  color: #333;
}
a {
  text-decoration: none;
}

.btn {
  transition: all 0.3s ease;
  border: 1px solid #0059a5 !important;
  color: #0059a5 !important;
  border-radius: 20px !important;
  background-color: transparent !important;
}

.btn:hover {
  color: white !important;

  background-color: #0059a5 !important;
}

/* Header */
/* Header Styling */
/* Offcanvas customizations */
.offcanvas {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.offcanvas-header {
  border-bottom: 1px solid #e9ecef;
}

.offcanvas-body {
  padding: 1.5rem;
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.home-header .navbar-brand {
  font-size: 1.5rem;
}

.home-header .nav-link {
  margin-right: 15px;
}

.home-header .fa-shopping-cart {
  transition: color 0.3s ease;
}

.home-header .fa-shopping-cart:hover {
  color: #0059a5;
}

/* Dropdown menu customization */
.dropdown-menu {
  background-color: #212529;
  border: none;
}

.dropdown-menu .dropdown-item {
  color: #fff;
  transition: background-color 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #0059a5;
  color: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  /* height: 100vh; */
  overflow: hidden;
  height: 500px;
  color: #555;
  /* height: 864px; */
}

#heroCarousel img {
  /* height: 100vh; */
  /* height: 864px; */
  height: 500px;
  /* width: 100%; */
  object-fit: cover;
}

.hero-content {
  z-index: 2;
  color: white;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-content .btn {
  border-color: white !important;
  color: white !important;
}

.hero-content .btn:hover {
  background-color: white !important;
  color: #333 !important;
  border-color: #333 !important;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.4); */
  /* Dark overlay for better contrast */
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: auto;
}

.hero .btn-primary {
  background-color: #ffffff;
  color: #87ceeb;
  border: none;
  padding: 10px 20px;
  font-size: 1.1rem;
}

.hero .btn-primary:hover {
  background-color: #f7f7f7;
}

/* Section Titles */
h2 {
  color: #333;
  font-weight: 500;
  text-transform: uppercase;
}

/* Category Cards */
.category-card {
  border: none;
  position: relative;
  border-radius: 0px;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  --content-over-media-overlay: 0 0 0 / 0.3;
}

.category-card:hover img {
  transform: scale(1.3);
  z-index: 0;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  /* Dark overlay for better contrast */
  z-index: 1;
}

.category-card img {
  /* max-height: 200px; */
  object-fit: cover;
  border-radius: 0px;
  transition: all 1s ease-in-out;
  aspect-ratio: 1;
  /* border-radius: 8px; */
}

.category-card .btn {
  background-color: #87ceeb;
  color: white;
  border: none;
}

.category-card .btn:hover {
  background-color: #6bb6d9;
}

.category-card .card-body {
  position: absolute;
  top: 50%;
  left: 50%;
  color: white;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-wrap: nowrap;
}

/* featured product */
.product-card {
  border: none;
  border-radius: 0px;
}

/* side effect section */

.charactristics-section {
  background-color: #f5f9fd;
}

.charactristics-section h1 {
  text-align: center;
}

.charactristics-section p {
  text-align: center;
}

.card-title {
  text-transform: capitalize;
}

.block-preagraph {
  text-align: center;
}

.block-material {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.effect-block-img {
  width: 290px;
 
}

/* Styling for Side-Effect Section */
#side-effect {
  background-color: white;
  /* Light sky background */
}

.accordion-button:not(.collapsed) {
  background-color: #f5f9fd !important;
  color: #333 !important;
}

#side-effect .card {
  border: none;
  border-radius: 10px;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#side-effect .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#side-effect .card-title {
  color: #333;
  font-weight: bold;
}

#side-effect .card-text {
  color: #555;
  font-size: 0.9rem;
}

/* Testimonial */
.testimonial {
  font-style: italic;
  color: #555;
}

/* FAQ Section */

.accordion-button {
  background-color: #f8f8f8;
  color: #333;
  border: none;
}

.accordion-button:hover {
  background-color: #f8f8f8;
  color: #333;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Customer Reviews */

#customer-reviews .carousel-item {
  padding: 20px;
}

#customer-reviews .carousel-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 3px solid #87ceeb;
}

.carousel-item p {
  font-size: 1rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%);
}

/* Footer */
/* Footer Styling */
footer {
  font-size: 0.9rem;
  line-height: 1.6;
}

footer h5 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: #0059a5;
  /* Highlight color for hover */
}

footer .form-control {
  border-radius: 0.25rem;
}

footer .btn-primary {
  background-color: #0059a5;
  border: none;
}

footer .btn-primary:hover {
  background-color: #0059a5;
}

/* Social Media Icons */
footer i {
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

footer i:hover {
  color: #0059a5;
}

footer a {
  color: white;
}

/* product detaol */
#product-details .product-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
}

#product-details .product-description {
  font-size: 1rem;
  color: #555;
}

#product-details .nav-tabs .nav-link {
  font-weight: bold;
  text-transform: uppercase;
}

#product-details .nav-tabs .nav-link.active {
  background-color: #0059a5;
  color: white;
}

#product-details .nav-link {
  color: #0059a5;
  border: 1px solid #0059a5;
}

#product-details .tab-content p {
  font-size: 1.1rem;
  color: #333;
}

.product-image {
  text-align: center;
}

.product-image img {
  max-width: 100%;
  border-radius: 10px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

#product-details .nav-pills .nav-link {
  border: none !important;
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

#product-details .nav-pills .nav-link.active {
  background-color: #0059a5 !important;
  color: white !important;
}

/* brands block section */
#home-brands-block {
  background-color: #f8f9fa;
  /* Light background for the brands section */
  padding-top: 50px;
  padding-bottom: 50px;
}

#home-brands-block h2 {
  /* font-size: 2.5rem; */
  color: #333;
  /* font-weight: 700; */
}

.brands-slider {
  padding: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  overflow-x: auto;
  /* Enable horizontal scroll for smaller screens */
  scroll-snap-type: x mandatory;
}

.brand-item {
  flex-shrink: 0;
  /* Prevent items from shrinking */
  width: 150px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  scroll-snap-align: center;
}

.brand-item:hover {
  transform: scale(1.1);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  /* Hover effect for better interaction */
}

.brand-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .brands-slider {
    padding-bottom: 20px;
  }
}

/* product decription section */
#product-description {
  background-color: #f8f9fa;
  padding-top: 50px;
  padding-bottom: 50px;
}

#product-description h2 {
  font-size: 2.5rem;
  color: #333;
  /* font-weight: 700; */
}

.card {
  border-radius: 15px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-10px);
  /* Card hover effect */
  box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.card-body {
  padding: 25px;
}

.card-title {
  font-size: 1.75rem;
  /* color: #01C96C; */
  margin-bottom: 20px;
}

.card-text {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 768px) {
  #product-description h2 {
    font-size: 2rem;
  }

  .card-body {
    padding: 15px;
  }
}

@media (max-width: 786px) {
  .hero-content {
    width: 100%;
    padding: 16px;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .btn-primary {
    font-size: 12px;
  }

  .py-5 {
    padding-top: 1.4rem !important;
    padding-bottom: 1.4rem !important;
  }

  .card-title {
    font-size: 16px;
  }

  .card-body {
    padding: 16px 10px;
  }

  .card-body p {
    font-size: 14px;
  }

  .btn {
    font-size: 12px;
  }
}
/*  product detail page   */
.product-category , .product-price ,.product-title{ 
  margin: 0;
}
.product-gallery {
  display: flex;
  gap: 20px;
  align-items: center;
  height: 550px;
}

.thumbnail-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  position: relative;
}

.thumbnail-gallery img {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.thumbnail-gallery img.active {
  opacity: 1;
}

.product-gallery img {
  width: 100px;
  object-fit: cover;
  height: auto;
  /* max-width: 400px; */
}

.main-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  /* max-width: 400px; */
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

#main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;

  transition: transform 0.2s ease-in-out;
}

/* Zoom effect */
.main-image-wrapper:hover #main-image {
  transform: scale(1.5);
  /* Zoom in effect */
  cursor: zoom-in;
  /* Change cursor on hover */
}

.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-title {
  color: #1c1c1c;
  font-weight: bold;
}

.product-price {
  color: #0059a5;
  /* font-weight: bold; */
}

.rating i {
  margin-right: 4px;
}

.btn-primary {
  background-color: #0059a5;
  border-color: #0059a5;
}

.btn-primary:hover {
  background-color: #0059a5;
  border-color: #0059a5;
}

.nav-tabs .nav-link.active {
  background-color: #0059a5;
  color: #fff;
}

.nav-tabs .nav-link {
  color: #1c1c1c;
}

.review p {
  margin-bottom: 0.5rem;
}
@media (max-width: 786px) {
  .product-gallery {
    flex-wrap: wrap-reverse;
  }
  .thumbnail-gallery {
    height: unset;
    flex-direction: row;
  }
}
/* zoom effect */
/* Custom CSS */
.main-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  /* max-width: 400px; */
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

#main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  transform-origin: center center;
  /* Set the zoom origin */
}

/* Zoom effect - Hover style */
.main-image-wrapper:hover #main-image {
  transform: scale(1.5);
  cursor: zoom-in;
}

/* Zoom in on mousemove */
.main-image-wrapper {
  overflow: hidden;
  position: relative;
}

.main-image-wrapper:hover #main-image {
  transform: scale(1.5);
  cursor: zoom-in;
}

/* write a review section  */
.stars i {
  font-size: 1.2rem;
}

.rating-breakdown div {
  margin-bottom: 0.5rem;
}

.review-card img {
  width: 50px;
  height: 50px;
}

.review-card p {
  font-size: 0.9rem;
  color: #555;
}

/*  */
.cart-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.3rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid rgb(0 0 0 / 18%);
}
.cart-item-title {
  font-size: 1rem;
  font-weight: bold;
}

.cart-item-price {
  font-size: 0.9rem;
}

.quantity-controls input {
  text-align: center;
  -webkit-appearance: none !important;
}
/* -webkit-appearance: none; */

/* shop listing page  */

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #f9f9f9;
  color: #555;
}

/* Header */
.listing-header {
  text-align: center;
  padding: 2rem 0;
  background-color: #0059a5;
  color: white;
}

.listing-header h1 {
  font-size: 2rem;
}

/* Product Listing */
.product-listing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Product Card */
.product-card {
  text-decoration: none;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.product-image {
  width: 100%;
  /* height: 200px; */
  object-fit: cover;
}

.product-listing .product-details {
    padding: 1rem;
    text-align: center;
  }

.product-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.product-description {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #0059a5;
  margin-bottom: 1rem;
}

/* Button */
.btn {
  background-color: #0059a5;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0059a5;
}

@media (max-width: 786px) {
  .product-title {
    font-size: 1rem;
  }
  .product-description {
    font-size: 0.8rem;
  }
  .product-listing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  .product-listing {
    gap: 16px;
    padding: 16px;
  }
  .product-details {
    gap: 10px;
  }
}
@media (max-width: 450px) {
  .product-listing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  .product-listing {
    gap: 10px;
    padding: 10px;
  }
  .product-details {
    gap: 8px;
  }
}


/* listing header section */

/* Hero Section */
.listing-hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #0171d3, #0059a5);
    color: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    margin: 2rem;
  }
  
  .listing-hero-content {
    max-width: 600px;
    margin-bottom: 2rem;
  }
  
  .listing-hero-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
  }
  
  .listing-hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    color: #e0f2e9;
  }
  
  .explore-btn {
    display: inline-block;
    background-color: white;
    color: white !important;
    border-color: white !important;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  
  .explore-btn:hover {
    background-color: #0059a5;
    color: white;
  }
  
  .listing-hero-image img {
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  @media screen and (max-width: 768px) {
    .listing-hero-section {
      flex-direction: column;
      margin: 10px;
      text-align: center;
    }
    .listing-hero-content h1{
        font-size: 1.8rem;
    }
    .listing-hero-content p{
        font-size: 0.8rem;
    }
    .explore-btn{
       font-size: 0.8rem;
    }
    .listing-hero-image img {
      max-width: 90%;
      margin-top: 1.5rem;
    }
  }
  