/* Main logo size */
.main-logo {
  max-height: 80px;
  /* adjust as needed */
  width: auto;
}

/* Main logo size */
.main-logo-footor {
  max-height: 80px;
  /* adjust as needed */
  width: auto;
}

/* Optional spacing for menu */
.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 16px;
}

/* Responsive logo spacing */
@media (max-width: 767px) {
  .main-logo {
    max-height: 60px;
  }
}

@media (max-width: 767px) {
  .main-logo-footor {
    max-height: 60px;
  }
}

::-webkit-scrollbar {
  width: 5px;
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background: #ededed;
}

::-webkit-scrollbar-thumb {
  background: #031d44;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: transparent;
  cursor: pointer;
}

/* footer */
.footer {
  background-color: #222;
  color: #fff;
  padding: 10px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.logo {
  color: #fff;
}

.logo .highlight {
  color: #e74c3c;
}

.footer-section h3 {
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-section p,
.footer-section ul {
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 5px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  color: #fff;
  margin-right: 15px;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 20px;
  padding-top: 10px;
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* header */
header {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(20px);
  color: #080505;
}

nav ul {
  display: flex;
}

nav a {
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

nav a.active {
  font-weight: bold;
  text-decoration: underline;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.bg-image-about {
  background-image: url(./images/About_us_page.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100vw;
  height: 60vh;
}

/* contact form */
.email-bt {
  color: #000000;
  width: 100%;
  padding: 20px 20px 0px 0px;
  background-color: transparent !important;
  border-bottom: 1px solid #6d6d6d !important;
  border: 0px;
  text-transform: uppercase;
}

.bg-image-subfooter {
  background-image: url(./images/Contact\ Info\ \(1\).jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100vw;
  height: 50vh;
}

/* search input */
.form {
  position: relative;
}

.form .fa-search {
  position: absolute;
  top: 12px;
  left: 20px;
  color: #9ca3af;
}

.form span {
  position: absolute;
  right: 17px;
  top: 4px;
  padding: 2px;
  border-left: 1px solid #d1d5db;
}

.left-pan {
  padding-left: 7px;
}

.left-pan i {
  padding-left: 10px;
}

.form-input {
  text-indent: 33px;
}

.form-input:focus {

  box-shadow: none;
  border: none;
}

/* tags */
h2 {
  font-family: "Poppins", serif;
  font-style: normal;
  font-weight: 600;
}

h4 {
  font-weight: 600;
  font-family: "Poppins", serif;
  font-style: normal;
}

h5 {
  font-weight: 600;
  font-family: "Poppins", serif;
  font-style: normal;
}

p {
  font-weight: 600;
  font-family: "Poppins", serif;
  font-style: normal;
  font-size: 12px;
}

a {
  font-family: "Poppins", serif;
  ;
  font-style: normal;
  text-decoration: none;
  font-size: 12px;
}

h1 {
  font-family: "Poppins", serif;
  font-style: normal;
}

.btn-submit {
  background-color: #e74c3c;
  color: white;
  font-size: small;
  border-radius: 6px 0px 6px 0px;
}

li {
  font-size: 12px;
  font-family: "Poppins", serif;
  list-style: none;
}

/* home image */
.home-image {
  width: 10%;
  border: 1px solid rgb(205, 192, 192);
  margin: 10px;
  border-radius: 2px;
}

.bg-color-h1 {
  color: #fff8f8;
}

/* roll animation */
.image-animation {
  position: relative;
  width: 100%;
  height: 400px;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.animated-image {
  position: absolute;
  width: 60%;
  height: 100%;
  object-fit: cover;
  left: 50%;
  transform-origin: center center;
  transition: all 1s ease;
}

.animated-image.active {
  transform: translateX(-50%) translateZ(0) scale(1);
  z-index: 3;
  opacity: 1;
}

.animated-image.prev {
  transform: translateX(-100%) translateZ(-200px) scale(0.8);
  z-index: 1;
  opacity: 1;
}

.animated-image.next {
  transform: translateX(0) translateZ(-200px) scale(0.8);
  z-index: 1;
  opacity: 1;
}

@keyframes rotateCarousel {

  0%,
  33% {
    transform: rotateY(0deg);
  }

  33.1%,
  66% {
    transform: rotateY(120deg);
  }

  66.1%,
  100% {
    transform: rotateY(240deg);
  }
}

.home-header {
  padding: 100px 0px 60px 0px;
}

/* error css */
.error-message {
  color: red;
  font-size: 10px;
  display: block;
  margin-top: 5px;
}

.email-bt {
  padding: 10px;
  width: 100%;
}

/* product category */
.product-category-cards {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

/* product category slider css */
.product-slider {
  width: 100%;
  text-align: center;
}

.product-slider h2 {
  margin-bottom: 10px;
}

/* Tooltip wrapper */
.product-tooltip {
  position: absolute;
  z-index: 1000;
  width: 250px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 0;
  margin-top: 20px;
  margin-left: 20px;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

/* Tooltip card layout */
.tooltip-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

/* Tooltip image section */
.tooltip-img {
  background: #f8f9fa;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tooltip-img img {
  max-width: 60px;
  height: auto;
  object-fit: contain;
}

/* Tooltip text section */
.tooltip-content {
  padding: 15px;
}

/* Product title */
.tooltip-content h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #212529;
}

/* Product description */
.tooltip-content p {
  margin: 0 0 6px;
  font-size: 12px;
  color: #495057;
  line-height: 1.4;
}

/* Additional info */
.additional-info {
  font-size: 11px;
  color: #6c757d;
  margin-top: 8px;
  border-top: 1px solid #e9ecef;
  padding-top: 8px;
}

/* Inline product description for card (hover show only) */
.product-desc {
  display: none;
  font-size: 12px;
  color: #6c757d;
  margin-top: 5px;
}

.slider-item:hover .product-desc {
  /* display: block; */
  display: none; /* Hide by default, show on hover */
}

@media (max-width: 480px) {
  .product-tooltip {
    width: 55%;
    margin-left: 5%;
  }

  .tooltip-img img {
    max-width: 50px;
  }

  .tooltip-content h4 {
    font-size: 14px;
  }

  .tooltip-content p,
  .additional-info {
    font-size: 11px;
  }
}

/* Enhanced hover for category slider items */
#category-slider .slider-item {
  position: relative;
  transition: all 0.3s ease;
}

#category-slider .slider-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* Make sure slider items have proper z-index hierarchy */
.slider-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  z-index: 1;
  width: 100%;
}

/* SLIDER WRAPPER */
.slider-wrapper {
  width: 100%;
  max-width: 1100px;
  overflow: hidden;
  padding: 10px;
}

/* MAIN SLIDER TRACK */
.slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  transition: transform 0.5s ease-in-out;

  /* NEW */
  scroll-snap-align: start;
}

/* NEW */
@media (max-width: 768px) {
  .slider {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }

  .slider-item {
    scroll-snap-align: center;
  }
}

/* SLIDER ITEM CARD */
.slider-item {
  flex: 0 0 clamp(180px, 25%, 250px);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  background-color: #fff;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* SLIDER ITEM IMAGE */
.slider-item img {
  width: 100%;
  max-width: 120px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* IMAGE & TEXT HOVER ANIMATION */
.slider-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.slider-item:hover h5 {
  color: orange;
}

.slider-item:hover img {
  transform: rotate(-30deg) scale(1) translateY(-10px);
}

/* ACTIVE STATE */
.slider-item.active {
  background-color: #f8f9fa;
  border: 2px solid #e1ac82;
}

/* TEXT HEADINGS */
.slider-item h3,
.slider-item h5 {
  margin: 10px 0;
  color: #333;
}

/* SLIDER BUTTONS */
.slider-btn {
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center !important;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 100;
  transition: background 0.3s ease;
}

.slider-btn:hover {
  background: #e1ac82;
  color: white;
}

/* BUTTON POSITIONING */
.prev-btn {
  left: 1px;
}

.next-btn {
  right: 2px;
}

/* RESPONSIVE BEHAVIOR */
/* Hide navigation buttons on mobile */
@media (max-width: 599px) {
  /* .slider-btn {
    display: none;
  } */

  .slider-btn {
    display: flex; /* previously was none */
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .slider-item {
    flex: 0 0 80%;
  }

  .image-animation {
    position: relative;
    width: 100%;
    height: 250px !important;
    perspective: 1000px;
    transform-style: preserve-3d;
  }
}

/* Tablet: Show 2-3 cards */
@media screen and (max-width: 768px) {
  .slider-item {
    flex: 0 0 101%;
  }
}

/* Laptop/Desktop: Show 4 cards */
@media (min-width: 1024px) {
  .slider-item {
    flex: 0 0 22%;
  }
}

.social-icon {
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  border: 1px solid white;
  padding: 6px 8px;
  border-radius: 6px;
}

.scale-up {
  transition: transform 0.3s ease;
  height: 150px;
  object-fit: cover;
}

.scale-up:hover {
  transform: scale(1.1);
}

.btn-hover {
  transition: all 0.3s ease;
}

.btn-hover:hover {
  background-color: #dc3545;
  color: white;
  border-color: #dc3545;
}

.custom-select-danger {
  background-color: #9c1f33;
  border-color: #dc3545;
}

.custom-select-danger option {
  background-color: #fff;
  color: black;
}

/* Custom tab styles to avoid conflicts */
.custom-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  border-bottom: 1px solid #dee2e6;
}

.custom-nav-item {
  margin-bottom: -1px;
}

.custom-nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: #495057;
  text-decoration: none;
  background-color: transparent;
  border: 1px solid transparent;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  transition: all 0.3s ease;
}

.custom-nav-link:hover {
  color: #495057;
  border-color: #e9ecef #e9ecef #dee2e6;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.custom-nav-link.active {
  color: #9c1f33;
  border-bottom: 3px solid #9c1f33;
}

.custom-tab-content {
  border: 1px solid #dee2e6;
  border-top: none;
  padding: 1rem;
  background: #fff;
  border-radius: 0 0 0.25rem 0.25rem;
}

.custom-tab-pane {
  display: none;
}

.custom-tab-pane.active {
  display: block;
}

.custom-tab-pane.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.custom-tab-pane.fade.show {
  opacity: 1;
}

.nutritional-table {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nutritional-table th {
  color: white;
  border: none;
}

.nutritional-table td {
  border-color: #e9ecef;
}

/* @media (min-width: 576px) {
  .modal-dialog {
    max-width: 950px;
    margin: 1.75rem auto;
  }
} 
  
.detail-img {
  max-width: 100%;
  height: 300px;
  object-fit: cover;
}*/

.card-img-top {
  max-height: 180px;
  width: auto;
  object-fit: contain;
}

.detail-img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

@media (max-width: 576px) {
  .product-header h1 {
    font-size: 1.5rem;
  }
  .product-header li {
    font-size: 0.9rem;
  }
  .form-select {
    width: 100% !important;
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .modal-dialog {
    margin: 1rem;
  }
  .modal-body .row {
    flex-direction: column;
  }
  .modal-body .col-md-6 {
    width: 100%;
  }
}
