body,
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.swiper-pagination {
  position: relative !important;
  margin-top: 20px;
}

.swiper-pagination .swiper-pagination-bullet {
  background-color: #4a5568;
  width: 12px;
  height: 12px;
  margin: 5px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.swiper-pagination .swiper-pagination-bullet-active {
  background-color: #1e40af;
  transform: scale(1.2);
}

.active-link {
  font-weight: bold;
  color: #1d4ed8;
}

.inactive-link {
  color: #4b5563;
}

#product-item.active,
#project-item.active,
#blog-item.active {
  background-color: #4c51bf;
  /* Change this to your desired active color */
  color: white;
}

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Card Hover Effect */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Gradient Overlay */
.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  transition: height 0.3s ease;
}

.card:hover .gradient-overlay {
  height: 100%;
}

/* products page css */
.animate-spin-slow {
  animation: spin 12s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.animate-width-expand {
  animation: widthGrow 2s ease-out forwards;
}

@keyframes widthGrow {
  0% {
    width: 0;
  }

  100% {
    width: 80px;
  }
}

/* About Page css */

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* contact page css */
.animate-stagger > * {
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-stagger > *:nth-child(1) {
  animation-delay: 0.1s;
}

.animate-stagger > *:nth-child(2) {
  animation-delay: 0.2s;
}

.animate-stagger > *:nth-child(3) {
  animation-delay: 0.3s;
}

.animate-stagger > *:nth-child(4) {
  animation-delay: 0.4s;
}

.bg-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Dashboard CSS */
/* Custom animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Custom gradient for buttons */
.gradient-btn {
  background: linear-gradient(45deg, #3b82f6, #60a5fa);
}

.gradient-btn:hover {
  background: linear-gradient(45deg, #2563eb, #3b82f6);
}

.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glass-effect {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hover-scale {
  transition: transform 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.03);
}
.floating {
  animation: floating 3s ease-in-out infinite;
}
@keyframes floating {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.product-card {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
}
.hero-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slide-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in {
  animation: fade-in 1.2s ease-out forwards;
}
.animate-slide-up {
  animation: slide-up 1.2s ease-out forwards;
}

/* Notification animation */
#notification {
  transition: all 0.3s ease;
  transform: translateX(100%);
}

#notification.show {
  transform: translateX(0);
}

/* Modal styles */
#category-modal {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#category-modal .modal-content {
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

#category-modal.show {
  opacity: 1;
  visibility: visible;
}

#category-modal.show .modal-content {
  transform: translateY(0);
}
/* Modal styles */
#category-modal {
  transition: opacity 0.3s ease, visibility 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

#category-modal.show {
  opacity: 1;
  visibility: visible;
}

/* Prevent scrolling when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Add this to your existing styles */
#category-modal,
#update-category-modal {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#category-modal .modal-content,
#update-category-modal .modal-content {
  animation: modalFadeIn 0.3s ease;
}

/* Prevent scrolling when modal is open */
body.modal-open {
  overflow: hidden;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.gallery-item img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.thumbnail {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.thumbnail:hover {
  opacity: 1;
  transform: scale(1.1);
}
.thumbnail.active {
  opacity: 1 !important;
  border: 2px solid #4f46e5 !important;
  transform: scale(1.05);
}
.lightbox {
  transition: opacity 0.3s ease;
}
.lightbox-content img {
  animation: fadeIn 0.3s ease;
}
.size-card,
.color-card {
  transition: all 0.3s ease;
}
.size-card:hover,
.color-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* products page css */
@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes pulse-slow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}
@keyframes spin-subtle {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes slide-up {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slide-up-delayed {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes width-expand-smooth {
  0% {
    width: 0;
  }
  100% {
    width: 6rem;
  }
}
@keyframes wave-ripple {
  0% {
    d: path(
      "M0,100 C180,80 360,60 540,70 C720,80 900,60 1080,70 C1260,80 1440,60 1440,100 H0 Z"
    );
  }
  25% {
    d: path(
      "M0,100 C180,70 360,50 540,60 C720,70 900,50 1080,60 C1260,70 1440,50 1440,100 H0 Z"
    );
  }
  50% {
    d: path(
      "M0,100 C180,60 360,70 540,50 C720,60 900,70 1080,50 C1260,60 1440,70 1440,100 H0 Z"
    );
  }
  75% {
    d: path(
      "M0,100 C180,50 360,60 540,70 C720,50 900,60 1080,70 C1260,50 1440,60 1440,100 H0 Z"
    );
  }
  100% {
    d: path(
      "M0,100 C180,80 360,60 540,70 C720,80 900,60 1080,70 C1260,80 1440,60 1440,100 H0 Z"
    );
  }
}
.animate-gradient-flow {
  background-size: 200% 200%;
  animation: gradient-flow 15s ease infinite;
}
.animate-pulse-slow {
  animation: pulse-slow 4s ease-in-out infinite;
}
.animate-spin-subtle {
  animation: spin-subtle 10s linear infinite;
}
.animate-slide-up {
  animation: slide-up 0.8s ease-out forwards;
}
.animate-slide-up-delayed {
  animation: slide-up-delayed 1s ease-out forwards 0.3s;
}
.animate-fade-in {
  animation: fade-in 1.2s ease-out forwards 0.5s;
  opacity: 0;
}
.animate-width-expand-smooth {
  animation: width-expand-smooth 1s ease-out forwards 1s;
}
.wave-path {
  animation: wave-ripple 5s ease-in-out infinite;
  transform-origin: bottom;
}
/* Ensure no pointer cursor */
svg,
.wave-path {
  pointer-events: none;
}










/* Custom styles can be added here if needed */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Smooth transitions for inputs */
input:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}