/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Body Styling */
  body {
    font-family: Arial, sans-serif;
    color: #333333;
    line-height: 1.5;
    background-color: #020810;
  }
  
  /* Header Styling */
 


  h1::before,
  h1::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(1.1);
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    animation: glow 2s infinite alternate;
  }

  h1::after {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.2;
  }

  @keyframes pop-up {
    0% {
      transform: scale(0.5);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  @keyframes glow {
    0% {
      opacity: 0.2;
    }
    100% {
      opacity: 0.5;
    }
  }
  
  header h1 {
    margin-bottom: 10px;
    font-size: 2rem;
    color: white;
  }
  
  #search-bar {
    width: 80%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  /* Hero Section */
 
  
  .slider {
    display: flex;
    animation: slide 12s infinite;
    flex-wrap: nowrap;

  }

  .hero {
    overflow: hidden;
    position: relative;
    height: 500px; /* Adjust height as needed */
   
    display: flex; /* Ensures that the slider aligns properly */
    justify-content: center;
    align-items: center;
  }
  
  
  
  .slider img {
    width: 100%; /* Image takes up full width of the container */
    height: 100%; /* Image height matches the container */
    object-fit: cover; /* Ensures correct aspect ratio and covers the area */
    flex-shrink: 0; /* Prevents shrinking in flexbox */
  }
  
  
  
  
  @keyframes slide {
    0%, 20% {
      transform: translateX(0%);
    }
    25%, 45% {
      transform: translateX(-100%);
    }
    50%, 70% {
      transform: translateX(-200%);
    }
    75%, 100% {
      transform: translateX(0%);
    }
  }
  
  /* Themes Section */
  .themes {
    padding: 20px;
   
  }
  
  .themes h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: white;
  }
  
  .cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
  }


  
  .card {
    width: 250px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
  }
  
  .card:hover {
    transform: translateY(-10px);
  }
  
  .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .card-content {
    padding: 15px;
    text-align: center;
  }
  
  .card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .card-content p {
    font-size: 0.9rem;
    color: #555;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .card {
      width: 45%;
    }
    .hero{
      height: 300px;
    }
  }
  
  @media (max-width: 480px) {
    .card {
      width: 100%;
    }
  
    header h1 {
      font-size: 1.2rem;
    }
    .hero{
      height: 300px;
    }
  }

  /* Trust Builder Section */
.trust-builder {
    padding: 20px;
   
    text-align: center;
  }
  
  .trust-builder h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
  }
  
  .features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .feature {
    width: 220px;
    text-align: center;
    border-radius: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
  }
  
  .feature:hover {
    transform: translateY(-10px);
  }
  
  .feature img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    object-fit: contain;
  }
  
  .feature h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  
  .feature p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .feature {
      width: 45%;
    }
  }
  
  @media (max-width: 480px) {
    .feature {
      width: 100%;
    }
  
    .trust-builder h2 {
      font-size: 1.5rem;
    }
  }

  /* Advertisement Section */
.advertisement {
  background: linear-gradient(135deg, #ba9aff 0%, #fad0c4 100%);
    color: #000;
    padding: 40px 20px;
    text-align: center;
  }
  
  .advertisement-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .advertisement-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  
  .cta-button {
    font-size: 1.2rem;
    padding: 12px 30px;
    background-color: #ffcc00;
    color: #333;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s;
  }
  
  .cta-button:hover {
    background-color: #ffaa00;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .advertisement-content h2 {
      font-size: 1.7rem;
    }
  
    .advertisement-content p {
      font-size: 1rem;
    }
  
    .cta-button {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .advertisement-content h2 {
      font-size: 1.5rem;
    }
  
    .advertisement-content p {
      font-size: 0.9rem;
    }
  
    .cta-button {
      padding: 10px 25px;
      font-size: 1rem;
    }
  }
  

  /* Products Section */
.products {
    padding: 20px;
   
  }
  
  .products h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: white;
  }
  
  .filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .filters select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
  }
  
  /* Product Cards */
  .products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    justify-content: center;
  }


  /* .testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    justify-content: center;
  } */

  .testimonial-container {
    display: flex; /* Change grid to flex for centering */
    flex-wrap: wrap; /* Ensure responsiveness */
    gap: 30px;
    justify-content: center; /* Centers all cards */
}
 
  
  .product-card {
    background: linear-gradient(135deg, #ba9aff 0%, #fad0c4 100%);
    border-radius: 10px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    position: relative;
  }

  .testimonial-card {
    background: linear-gradient(135deg, #3f0dab 0%, #fad0c4 100%);
    border-radius: 10px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    position: relative;
    width: fit-content; /* Ensures the card wraps tightly around the image */
    max-width: 100%;
  }


  
  .product-card:hover {
    transform: scale(1.05);
  }
  
   .product-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: opacity 0.3s ease;
  }

  .testimonial-card img {
    width: 93%;
    height: 250px;
    object-fit: contain;
    transition: opacity 0.3s ease;
  }
  
  .product-card img.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
  }
  
  .product-card:hover img.hover-image {
    opacity: 1;
  }

 
/*   
  .product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: none;
    transition: opacity 0.3s ease;
  } */
  
  .product-card img.main-image {
    opacity: 1; /* Main image is visible by default */
  }
  
  .product-card:hover img.hover-image {
    animation: cycle-images 3s infinite; /* Start cycling only for hover images on hover */
  }
  
  .product-card img.hover-image:nth-child(2) {
    animation-delay: 0s; /* First hover image starts immediately */
  }
  
  .product-card img.hover-image:nth-child(3) {
    animation-delay: 1s; /* Second hover image starts after 1 second */
  }
  
  .product-card img.hover-image:nth-child(4) {
    animation-delay: 2s; /* Third hover image starts after 2 seconds */
  }
  
 
  @keyframes cycle-images {
    0%, 100% {
      opacity: 0;
    }
    25% {
      opacity: 1;
    }
  }
  
  
  .product-info {
    padding: 2px;
    text-align: center;
  }
  
  .product-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: rgb(5, 25, 29);
    /* background-color: rgb(17, 2, 2); */
  }
  
  .product-price {
    font-size: 1.1rem;
    color: #28a745;
   
  }
  
  .product-mrp {
    font-size: 0.9rem;
    color: #888;
    text-decoration: line-through;
  }
  
  .product-discount {
    font-size: 0.9rem;
    color: #dc3545;
    margin-bottom: 10px;
  }
  
  .product-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  
  .product-actions button {
    /* padding: 10px 20px; */
    font-size: 0.9rem;
    border-radius: 20px;
    border: none;
    cursor: pointer;
  }
  
  .product-actions .view-live {
    background-color: #007bff;
    color: #fff;
    padding: 10px 10px;
  }
  
  .product-actions .buy-now {
    background-color: #28a745;
    color: #fff;
    padding: 10px 25px;
   
  }

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

  /* Dialog Styles */
.dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.dialog-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  gap: 20px;
  width: 600px;
  max-width: 90%;
  justify-content: space-between;
}


.dialog-right {
  width: 50%;
  text-align: center;
  background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
  padding: 10px;
  border-radius: 10px;
}

.dialog-left {
  width: 50%;
  text-align: center;
  background: linear-gradient(135deg, #ba9aff 0%, #fad0c4 100%);
  padding: 10px;
  border-radius: 10px;
}
.dialog-left-v {
  width: 50%;
  text-align: center;
  /* background: linear-gradient(135deg, #ba9aff 0%, #fad0c4 100%); */
  padding: 10px;
  border-radius: 10px;
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Optional: Centers vertically if the parent has height */
 

}
.dialog-button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top:5px ;
}

.view-desktop-btn{
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top:5px ;
}

.dialog-right img {
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
}

.hidden {
  display: none;
}

/* Dialog Divider */
.dialog-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10%;
  position: relative;
}

.dialog-divider::before,
.dialog-divider::after {
  content: '';
  display: block;
  height: 1px;
  background-color: #ccc;
  flex-grow: 1;
}

.dialog-divider span {
  margin: 0 10px;
  font-size: 1rem;
  color: #666;
  font-weight: bold;
}


/* Buy Now Dialog Layout */
.buy-dialog {
  gap: 20px;
}

.buy-dialog .dialog-left {
  width: 30%;
  text-align: center;

}

.buy-dialog .dialog-right {
  width: 70%;
 
}



.buy-dialog h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.buy-dialog img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
}

.buy-dialog p {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

/* Form Styling */
form h4 {
  margin-bottom: 15px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 5px;
  text-align:left;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 0.8rem;
}

form button {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #28a745;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .buy-dialog {
    flex-direction: column;
    max-height: 97vh; 
    gap: 10px;
  }

  .buy-dialog .dialog-left,
  .buy-dialog .dialog-right {
    width: 100%;
   
    
  }
  .dialog-left{
   height: 300px;
  }
  .dialog-left, .dialog-right {
    max-height: 50%; 
     overflow-y: auto;  
  }

  .form-row {
    flex-direction: column;
    gap: 2px;
  }
}
/* 
@media (max-width: 768px) {
  .buy-dialog {
    flex-direction: column; /* Stack columns vertically */
    /* gap: 10px; */
    /* max-height: 100vh;  
  }

  .dialog-left, .dialog-right {
    max-height: 50%; 
     overflow-y: auto;  
  }
} */


.video-btn {
 
  position: absolute;
  bottom: 10px; /* Position near the bottom */
  right: 10px; /* Position near the right edge */
  z-index: 10; /* Ensures the button is on top of the image */
  
  border: none;
  border-radius: 50%;

  cursor: pointer;
}





.video-btn img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: none;
}

.video-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16 / 9; /* Ensures proper video aspect ratio */
}

.video-content iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.close-video {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 40%;
  padding: 5px 10px;
}


/* new
 */
 /* General Dialog Styles */
 .product-close-dialog{
  padding: 10px;
 }

.product-details-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}


.product-dialog-content {
  background: #fff;
  border-radius: 12px;
  width: 80%;
  max-width: 800px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.product-dialog-body {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 20px;
}

.product-left-column {
  flex: 1;
  text-align: center;
}

.product-left-column img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
  object-fit: contain;
}

.product-left-column h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.product-right-column {
  flex: 2;
  overflow-y: auto;
  max-height: 400px; /* Adjust based on available space */
}

.product-right-column .section {
  margin-bottom: 20px;
}

.product-right-column h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.product-right-column ul {
  list-style: disc;
  padding-left: 20px;
}

.place-order-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: #007bff;
  color: #fff;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.place-order-btn:hover {
  background: #0056b3;
}

/* Responsive Layout for Mobile */
@media (max-width: 768px) {
  .product-dialog-content {
    width: 90%;
    flex-direction: column;
    padding: 15px;
    max-height: 90vh; /* Ensure it doesn't take up the entire viewport */
    overflow-y: auto; /* Allow vertical scrolling */
  }

  .product-dialog-body {
    flex-direction: column;
  }

  .product-left-column img {
    max-width: 100%;
  }

  .product-left-column h3 {
    font-size: 1.2rem;
  }

  .product-right-column {
    max-height: unset; /* Let the content flow naturally */
  }
}



.product-details-dialog .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 1.5rem;
}

/* footer */

.footer {
  background-color: #363535;
  color: #f5f5f5;
  padding: 20px 0;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-section p,
.footer-section ul {
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-section.quick-links {
  margin-left: 50px; /* Add margin to the left */
}

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

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

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

.footer-section ul li a:hover {
  color: #e4e7e9;
}

.footer-section .social-icons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-section .social-icons a img {
  width: 25px;
  height: 25px;
  transition: transform 0.3s ease;
}

.footer-section .social-icons a img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  font-size: 0.8rem;
  border-top: 1px solid #444;
  margin-top: 20px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 768px) {
  .footer-section.quick-links {
    margin-left: 0; /* Reset margin for smaller screens */
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section .social-icons {
    justify-content: center;
  }
}


.bn-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  z-index: 10;
}

.bn-close-btn:hover {
  color: #ff0000;
}


.dialog-actions {
  display: flex;
  justify-content: flex-end; /* Align buttons to the right */
  gap: 8px; /* Add space between buttons */
  margin-top: 20px; /* Optional spacing from form content */
 
}

/* .dialog-button {
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.dialog-button.submit-button {
  background-color: #007bff;
  color: white;
  padding: 20px 35px;
}

.dialog-button.cancel-button {
  background-color: #f0f0f0;
  color: #333;
  padding: 8px 15px; 
}

.dialog-button.cancel-button:hover {
  background-color: #e0e0e0;
}

.dialog-button.submit-button:hover {
  background-color: #0056b3;
} */


.vid-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;


}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
}
iframe {
  width: 100%;
  height: 100%;
  border: 0;
}