body {
  background-color: #f0f0f0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
}
html,
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
.navbar-custom {
  background: #fff;
  /* border-radius: 8px; */
  padding: 10px 20px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px;
  position: sticky;
  top: 0;
  z-index: 1050;
}
/* Top Announcement Bar */
.announcement-bar {
  background: #7d4eb7;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0;
  overflow: hidden;
  position: relative;
}
.announcement-track {
  display: inline-flex;
  white-space: nowrap;
  animation: scroll-left 25s linear infinite;
}
.announcement-track span {
  padding: 0 40px;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .product-image {
        display: block; /* ya hidden na ho */
    }
}


/* Navbar */
.navbar-custom {
  background: #7d4eb7;
  /* border-radius: 20px; */
  padding: 20px 20px;
  margin: 1px auto;
  max-width: 100%;
}

.navbar-brand img {
  max-height: 40px;
}
.navbar-nav .nav-link {
  color: #fff;
  font-weight: 600;
  margin: 0 5px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #f49bab;
}
.icon-links .bi {
  font-size: 1.2rem;
  color: #fff;
  margin-left: 20px;
  cursor: pointer;
}

/* Mega Menu */
.navbar .dropdown-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #8b4fcf, #7d4eb7);
  padding: 25px;
  border-radius: 12px;
  min-width: 850px;
  color: #fff;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  margin-top: 0;
}

.navbar .nav-item:hover .dropdown-menu {
  display: grid !important;
  opacity: 1;
  visibility: visible;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dropdown-menu h6 {
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  font-size: 15px;
}
.dropdown-menu a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}
.dropdown-menu a:hover {
  color: #f49bab;
}
/* ------------------- Responsive for Mobile/Tablet ------------------- */
@media (max-width: 992px) {
  .navbar .dropdown-menu {
    position: static; /* no absolute positioning */
    transform: none;
    width: 100%;
    min-width: auto;
    display: none; /* hide initially */
    opacity: 1;
    visibility: visible;
    padding: 10px 0;
    border-radius: 0;
    grid-template-columns: 1fr !important; /* stack vertically */
    border-radius: 8px;
  }

  .navbar .nav-item:hover .dropdown-menu {
    display: none; /* disable hover effect on mobile */
  }

  .dropdown-menu div {
    padding: 10px 20px;
  }

  .dropdown-menu h6 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .dropdown-menu a {
    font-size: 14px;
    margin-bottom: 5px;
  }
}
.carousel-item {
  transition: transform 1s ease-in-out;
}

#heroCarousel {
  margin-top: 0;
}

#heroCarousel .carousel-item img {
  height: 500px;
  object-fit: cover;
}
.navbar-toggler:focus {
  box-shadow: none !important;
  outline: none;
}

#productCarousel .card {
  transition: transform 0.3s;
  cursor: pointer;
}
#productCarousel .card:hover {
  transform: translateY(-8px);
}
#productCarousel img {
  height: 200px;
  object-fit: cover;
  background-color: #00000080;
}
.card-img-top {
  width: 100%;
  height: auto;
}
.carousel-item .d-flex::-webkit-scrollbar {
  display: none;
}
.carousel-item .d-flex {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.card {
  min-height: 100%;
}
.text-styling {
  text-transform: capitalize !important;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #845cb4 !important;
}

/* box background color #00000080*/
.fw-bolds {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #845cb4 !important;
  padding: 0 10px;
}
.fwb {
  color: #845cb4 !important;
}

.text-stylings {
  font-family: "Montserrat", sans-serif;
  color: #845cb4 !important;
}

/* 3rd section */
.custom-carousel-container {
  width: 100%;
  margin: 50px auto;
}

.custom-carousel-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.custom-carousel {
  position: relative;
  overflow: hidden;
}

.custom-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.custom-card {
  min-width: 250px;
  margin-right: 15px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.custom-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.custom-card-caption {
  padding: 10px;
  text-align: center;
  font-weight: bold;
}

.custom-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  opacity: 0.8;
  border-radius: 50%;
}

.custom-carousel-btn.prev {
  left: 10px;
}

.custom-carousel-btn.next {
  right: 10px;
}

@media screen and (max-width: 768px) {
  .custom-card {
    min-width: 140px;
  }
  .custom-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }
}

/* Footer Styles */
footer {
  background: var(--dark);
  color: white;
  /* padding: 60px 0 20px; */
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary);
}

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
  }

  nav ul {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 5px 10px;
  }

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

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: 30px;
    margin-bottom: 10px;
  }

  .newsletter-form button {
    border-radius: 30px;
    padding: 15px;
  }
}

/* slider cards */
.cards-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding-bottom: 10px;
}

.cards-slider::-webkit-scrollbar {
  height: 8px;
}

.cards-slider::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

.cards {
  margin-top: 10px;
  flex: 0 0 auto;
  background: #fff;
  width: 240px;
  border-radius: 0;
  box-shadow: #0006 0 2px 4px, #0000004d 0 7px 13px -3px, #0003 0 -3px inset;
  overflow: hidden;
  transition: transform 0.3s ease;
  scroll-snap-align: start;
}

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

.cards img {
  width: 100%;
  height: auto;
}

.cards-content {
  padding: 15px;
}

.products-title {
  font-size: 16px;
  font-weight: bold;
  margin: 10px 0 5px;
}

.rating {
  color: #f5a623;
  font-size: 14px;
}

.price {
  margin-top: 8px;
  font-size: 15px;
  font-weight: bold;
  color: #333;
}

.old-price {
  text-decoration: line-through;
  color: gray;
  font-size: 13px;
  margin-left: 5px;
}

.color-options {
  margin-top: 10px;
}

.color-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  border: 1px solid #ccc;
}

.dot-black {
  background: #000;
}

.dot-white {
  background: #fff;
}

.dot-gold {
  background: #c9a46d;
}

@media (max-width: 767px) {
  .cards {
    width: 200px;
  }
  .custom-carousel-title {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  .custom-faq-heading {
    font-size: 20px !important;
    font-weight: bold;
    margin-bottom: 20px;
  }
}

.custom-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.custom-image-gallery {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.custom-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-thumbnail-img {
  width: 60px;
  cursor: pointer;
  border: 2px solid #fff;
  border-radius: 5px;
}

.custom-main-image {
  width: 400px;
  height: 400px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.custom-main-image img {
  max-width: 100%;
  max-height: 100%;
}

.custom-product-details {
  max-width: 500px;
  color: #222;
}

.custom-product-title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.custom-price {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.custom-description {
  font-size: 14px;
  margin-bottom: 20px;
}

.custom-quantity {
  margin-bottom: 15px;
}

.custom-quantity input {
  width: 50px;
  text-align: center;
}

.custom-buttons {
  display: flex;
  gap: 10px;
}

.custom-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.custom-add-to-cart {
  background-color: #f49bab;
  color: #fff;
}
.custom-add-to-cart:hover {
  background-color: #f7b1bb;
  color: #fff;
}
.custom-buy-now {
  background-color: #7d4eb7;
  color: #fff;
}

.custom-buy-now:hover {
  background-color: #9b7ebd;
  color: #fff;
}

.custom-video-call {
  margin-top: 10px;
  background-color: #000;
  color: #fff;
  display: inline-block;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .custom-container {
    flex-direction: column;
    align-items: center;
  }

  .custom-main-image {
    width: 300px;
    height: 300px;
  }

  .custom-product-details {
    max-width: 100%;
  }
}
.custom-image-gallery {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: flex-start;
}

.custom-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-thumbnail-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: border 0.3s ease;
}

.custom-thumbnail-img:hover,
.custom-thumbnail-img.active {
  border: 2px solid #000;
}

.custom-main-image {
  width: 400px;
  height: 400px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.custom-main-image img {
  max-width: 100%;
  max-height: 100%;
}

@media (max-width: 768px) {
  .custom-image-gallery {
    flex-direction: column;
    align-items: center;
  }

  .custom-main-image {
    width: 300px;
    height: 300px;
  }

  .custom-thumbnails {
    flex-direction: row;
    justify-content: center;
  }
}
.custom-faq-box {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.custom-faq-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.custom-faq-left {
  flex: 1;
}

.custom-faq-right {
  flex: 1;
}

@media (max-width: 768px) {
  .custom-faq-content {
    flex-direction: column;
    text-align: left;
    gap: 20px; /* Smaller gap for mobile */
  }

  .custom-faq-left img {
    max-width: 100%;
    display: block;
    margin: auto;
  }
}

.custom-faq-left img {
  max-width: 400px;
  border-radius: 10px;
}

.custom-faq-right {
  flex: 1;
}

.custom-faq-heading {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.custom-faq-container {
  max-width: 600px;
}

.custom-faq-item {
  border-bottom: 1px solid #ddd;
}

.custom-faq-question {
  cursor: pointer;
  padding: 15px;
  background: #f5f5f5;
  font-weight: bold;
  position: relative;
}

.custom-faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 20px;
}

.custom-faq-question.active::after {
  content: "-";
}

.custom-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fafafa;
  padding: 0 15px;
}

.custom-faq-answer p {
  padding: 15px 0;
  margin: 0;
}

@media (max-width: 768px) {
  .custom-faq-content {
    flex-direction: column;
    text-align: left;
  }

  .custom-faq-left img {
    max-width: 300px;
    margin: auto;
    display: block;
  }
}
.custom-footer {
  background: #fff;
  color: #333;
  /* padding: 40px 25px; */
  font-family: Arial, sans-serif;
}

.custom-footer-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.footer-column {
  min-width: 200px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-column p {
  line-height: 1.5;
}

.footer-signup form {
  display: flex;
  gap: 10px;
}

.footer-signup input {
  padding: 10px;
  border: 1px solid #ddd;
  flex: 1;
  border-radius: 4px;
}

.footer-signup button {
  background: #333;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 14px;
}

.custom-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ddd;
  padding-top: 20px;
  /* margin-top: 30px; */
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-block;
  margin-right: 15px;
}

.social-icons img {
  width: 24px;
  height: 24px;
}

.footer-extra {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
}

.footer-extra img {
  height: 17px;
}

@media (max-width: 1200px) {
  .custom-footer-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .custom-footer-row {
    flex-direction: column;
    gap: 30px;
  }

  .custom-footer-bottom {
    justify-content: center;
  }
}

/* Container for the icons */
.icon-links {
  max-height:100%;
  display: flex;
  gap: 10px;
  position: relative;
}

/* Profile icon wrapper */
.profile-wrapper {
  position: relative;
}

/* Person icon cursor */
#profileIcon {
  cursor: pointer;
}

/* Popup sidebar */
.popup-sidebar {
  display: none;
  position: absolute;
  top: 35px;
  left: -50px;
  width: 170px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  z-index: 100;
  padding: 15px 0;
  border-radius: 0px;
}

/* Menu items */
.popup-sidebar .menu-item {
  display: flex;
  align-items: center;
  padding: 5px 0px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.2s;
}

/* Remove border from last item */
.popup-sidebar .menu-item:last-child {
  border-bottom: none;
}

/* Hover effect for menu items */
.popup-sidebar .menu-item:hover {
  background-color: #f5f5f5;
}

/* Icon inside menu items */
.popup-sidebar .menu-item i {
  margin-right: 12px;
  color: #fff;
  background-color: #7d4eb7;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
