a:link, a:visited, a:active, a:hover, a:focus {
  text-decoration: none;
  color: inherit;
}

/* CSS */
:root {
  --primary-color: #0a0a0a;
  --secondary-color: #1a1a1a;
  --accent-: linear-gradient(45deg, #00f2fe, #4facfe);
  --white: #f8f9fa;
  --border-color: rgba(45, 52, 54, 0.1);
}

.hero-section {
  min-height: 100vh;
  background: var(--primary-color);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-heading {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 2rem !important;
}

.dynamic-text {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.cursor {
  animation: blink 1s infinite;
  color: #4facfe;
}

.hero-subheading {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.1em;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Typewriter effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* Add these CSS adjustments */
.dynamic-text-container {
  display: inline-block;
}

@media (max-width: 768px) {
  .dynamic-text-container {
    display: block !important;
    margin-top: 0.5rem;
  }
  
  .hero-heading {
    display: block !important;
    text-align: center;
  }
  
  .cursor {
    margin-left: 0.2rem;
  }
}


/* Products section styles */
.products-section {
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

.section-heading {
  font-size: 4rem;
  font-weight: 800;
  text-align: center;
  margin: 4rem;
  background: linear-gradient(45deg, #000000, #474747);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  z-index: 2;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.category-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.03);
  cursor: pointer;
}

.card-content {
  position: relative;
  height: 500px;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-overlay {
  position: relative;
  height: 100%;
  padding: 2rem;
  background: linear-gradient(180deg, #00f2fe80, #4facfe 80%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: #474747;
  opacity: 0.8;
}

.card-title {
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 1rem 0;
  color: #000;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.card-details p {
  color: #474747;
  font-size: 1.1rem;
  line-height: 1.4;
  max-width: 80%;
}

.card-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  font-weight: 600;
  color: #000;
  transition: transform 0.3s ease;
}

.arrow-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

/* Hover Effects */
.category-card:hover {
  transform: translateY(-10px) rotateX(3deg) rotateY(2deg);
}

.category-card:hover .card-bg {
  transform: scale(1.05);
}

.category-card:hover .card-cta {
  transform: translateX(10px);
}

.category-card:hover .arrow-icon {
  transform: translateX(5px);
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.category-card:nth-child(odd) {
  animation: float 6s ease-in-out infinite;
}

.category-card:nth-child(even) {
  animation: float 6s ease-in-out infinite 3s;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .section-heading {
    font-size: 2.5rem;
  }
  
  .card-title {
    font-size: 2rem;
  }
  
  .category-card {
    animation: none !important;
  }
}

/* Mobile-First Enhancements */

/* Base Mobile Styles */
.hero-heading {
font-size: 2.5rem;
}

.hero-subheading {
font-size: 1.1rem;
letter-spacing: 0.05em;
}

.section-heading {
font-size: 2.2rem;
margin: 2rem 0;
}

.category-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}

.category-card {
height: auto;
animation: none !important;
}

.card-content {
height: 400px;
}

.card-title {
font-size: 1.8rem;
}

.card-details p {
font-size: 1rem;
max-width: 100%;
}

/* Tablet Styles (768px+) */
@media (min-width: 768px) {
.hero-heading {
  font-size: 3.5rem;
}

.section-heading {
  font-size: 3rem;
}

.category-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card-content {
  height: 450px;
}
}

/* Desktop Styles (1024px+) */
@media (min-width: 1024px) {
.hero-heading {
  font-size: 4rem;
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card-content {
  height: 500px;
}
}

/* Mobile-Specific Adjustments */
@media (max-width: 480px) {
.hero-section {
  padding: 40px 0;
}

.hero-heading {
  font-size: 2rem;
  line-height: 1.2;
}

.cta-btn {
  width: 100%;
  padding: 1rem;
}

.card-overlay {
  padding: 1.5rem;
}

.card-number {
  font-size: 1rem;
}

.card-title {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.card-cta {
  margin-top: 1rem;
}
}

/* Touch Optimization */
@media (hover: none) {
.category-card:hover {
  transform: none;
}

.category-card:hover .card-bg {
  transform: none;
}

.category-card:active {
  transform: scale(0.98);
}
}

/* Fluid Typography */
html {
font-size: 100%;
}

@media (min-width: 600px) {
html {
  font-size: 106.25%;
}
}

@media (min-width: 900px) {
html {
  font-size: 112.5%;
}
}

/* Image Optimization */
.card-bg {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

/* Button Tap Targets */
.cta-btn {
min-width: 160px;
padding: 1rem 2rem;
}


/* Animation Enhancements */
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-4px); }
}

.add-to-cart:hover {
animation: float 1.2s ease infinite;
}

/* === Contrast and Readability === */
.card-overlay {
background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85));
color: #fff;
}

.card-title,
.card-details p,
.card-cta {
color: #ffffff;
}

.modal-title {
color: #111 !important;
background: none;
}

/* === Improved Spacing and Layout === */
.section-heading {
margin: 2rem 0 3rem;
}

.card-details p {
margin-bottom: 1rem;
}

/* === Accessibility Enhancements === */
a:focus,
.cta-btn:focus,
.add-to-cart:focus,
.btn-close:focus {
outline: 3px solid #4facfe;
outline-offset: 4px;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
.hero-section {
  padding: 60px 0;
}

.card-content {
  height: auto;
}

.modal-title {
  font-size: 1.8rem;
}

.modal-content {
  padding: 1.25rem;
}
}

@media (max-width: 480px) {
.cta-btn {
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
}

.section-heading {
  font-size: 2rem;
}
}



.hero-gallery {
margin-top: 4rem;
padding-inline: 1rem;
}

.gallery-carousel {
height: 280px;
background: rgba(255, 255, 255, 0.05);
border-radius: 24px;
backdrop-filter: blur(18px);
box-shadow: 0 0 30px rgba(0, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
position: relative;
overflow: hidden;
}

.gallery-track {
display: flex;
gap: 2rem;
padding: 1.5rem;
animation: scrollGallery 35s linear infinite;
}

.gallery-item {
flex: 0 0 auto;
min-width: 320px;
max-width: 320px;
transition: transform 0.3s ease-in-out;
}

.gallery-card {
position: relative;
border-radius: 20px;
overflow: hidden;
height: 100%;
background-color: #111;
box-shadow: 0 10px 30px rgba(0, 255, 255, 0.08);
transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-card::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 60%);
z-index: 1;
}

.gallery-card img {
width: 100%;
height: 100%;
object-fit: cover;
filter: brightness(0.85) saturate(1.1);
transition: transform 0.4s ease, filter 0.4s ease;
z-index: 0;
position: relative;
}

.gallery-card:hover {
transform: translateY(-6px) scale(1.04);
box-shadow: 0 15px 45px rgba(0, 255, 255, 0.25);
}

.gallery-card:hover img {
filter: brightness(1) saturate(1.3);
transform: scale(1.06);
}

@keyframes scrollGallery {
0% {
  transform: translateX(0);
}
100% {
  transform: translateX(-50%);
}
}

/* Mobile optimizations */
@media (max-width: 768px) {
.gallery-carousel {
  height: 200px;
}

.gallery-item {
  min-width: 240px;
  max-width: 240px;
}
}

/* Gallery Section Styling */
.scrolling-wrapper {
overflow: hidden; /* Hide extra images */
position: relative;
width: 100%;
display: flex;
}

.gallery-track {
display: flex;
transition: transform 0.3s ease-in-out;
}

.gallery-item {
flex: 0 0 100%; /* One image takes up 100% of the container width */
height: 400px; /* Increased height to make the image larger */
display: flex;
justify-content: center;
align-items: center;
position: relative;
}

.gallery-item img {
width: 100%; /* Make the image take up the entire width of the container */
height: 100%; /* Make the image take up the entire height of the container */
object-fit: cover; /* Ensure the image fills the space without distorting */
border-radius: 12px;
}

/* Lightbox Modal Styling */
.modal-content {
background-color: rgba(0, 0, 0, 0.8);
border-radius: 15px;
padding: 20px;
}

#lightboxImage {
max-width: 100%;
border-radius: 12px;
}

/* Responsive Design for Different Screens */

/* Mobile Devices */
@media (max-width: 576px) {
.gallery-item {
  height: 250px; /* Smaller height for mobile */
}
}

/* Tablet Devices */
@media (min-width: 577px) and (max-width: 768px) {
.gallery-item {
  height: 300px; /* Medium height for tablets */
}
}

/* Desktop Devices */
@media (min-width: 769px) {
.gallery-item {
  height: 400px; /* Default height for desktop */
}
}


/* Loading Animation Styles */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader {
  width: 48px;
  height: 48px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-bottom-color: #000;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

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

.loader-container.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-text {
  margin-top: 20px;
  font-family: sans-serif;
  font-size: 16px;
  color: #333;
  letter-spacing: 1px;
}

/* For fade-in effect on page content */
.page-content {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.page-content.loaded {
  opacity: 1;
}

/* Pulse Loading Animation */
.pulse-loader {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  position: relative;
}

.pulse-loader div {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  animation: pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.pulse-loader div:nth-child(2) {
  animation-delay: -0.5s;
}

.pulse-loader div:nth-child(3) {
  animation-delay: -1s;
}

@keyframes pulse {
  0% {
    transform: scale(0.1);
    opacity: 1;
  }
  70% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    opacity: 0;
  }
}


/* Modern Checkout Panel */
/* Modern Checkout Panel CSS */
.checkout-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.checkout-panel.active {
  display: block;
  opacity: 1;
}

.checkout-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
}

.checkout-container {
  position: absolute;
  right: -100%;
  top: 0;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background: #fff;
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  transition: right 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  will-change: transform;
}

.checkout-panel.active .checkout-container {
  right: 0;
}

/* Header Styles */
.checkout-header {
  padding: 24px;
  background: linear-gradient(135deg, #000428 0%, #004e92 100%);
  color: white;
}

.header-content {
  position: relative;
}

.cart-icon {
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(255,255,255,0.8);
}

.checkout-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-left: 40px;
  margin-bottom: 20px;
}

/* Progress Tracker */
.progress-tracker {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 30px;
}

.progress-tracker::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.3);
  z-index: 1;
}

.step {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-bubble {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.step.active .step-bubble {
  background: #fff;
  color: #004e92;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.step span {
  font-size: 0.8rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.step.active span {
  opacity: 1;
  font-weight: 500;
}

/* Body Styles */
.checkout-body {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.empty-state {
  text-align: center;
  padding: 40px 0;
  color: #64748B;
}

.empty-state svg {
  margin-bottom: 16px;
}

.empty-state h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #1E293B;
}

.empty-state p {
  font-size: 0.9rem;
}

/* Checkout Items */
.checkout-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F1F5F9;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.checkout-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.checkout-item-details {
  flex: 1;
}

.checkout-item-title {
  font-weight: 600;
  margin-bottom: 6px;
  color: #1E293B;
}

.checkout-item-price {
  color: #64748B;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.checkout-item-actions {
  display: flex;
  align-items: center;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #E2E8F0;
  border-radius: 50px;
  overflow: hidden;
  margin-right: 15px;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  background: #F8FAFC;
  color: #1E293B;
}

.quantity-value {
  width: 30px;
  text-align: center;
  border: none;
  border-left: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
  font-weight: 500;
}

.remove-item {
  background: none;
  border: none;
  color: #EF4444;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.remove-item:hover {
  color: #DC2626;
}

/* Summary Styles */
.checkout-summary {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 20px;
  margin-top: 30px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.summary-row.total {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #E2E8F0;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1E293B;
}

/* Footer Styles */
.checkout-footer {
  padding: 20px 24px;
  border-top: 1px solid #F1F5F9;
  background: white;
}

.btn-continue {
  width: 100%;
  background: linear-gradient(135deg, #000428 0%, #004e92 100%);
  color: white;
  border: none;
  padding: 16px;
  font-weight: 600;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 78, 146, 0.2);
}

.btn-continue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 78, 146, 0.3);
}

.btn-continue:active {
  transform: translateY(0);
}

.secure-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  color: #64748B;
  font-size: 0.8rem;
}

/* Close Button */
.checkout-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,255,255,0.2);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: white;
}

.checkout-close-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 576px) {
  .checkout-container {
    max-width: 100%;
  }
  
  .checkout-header {
    padding: 20px;
  }
  
  .checkout-body {
    padding: 20px;
  }
  
  .checkout-footer {
    padding: 15px 20px;
  }
}

/* Cart Notification */
.cart-notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #000;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-notification.show {
  transform: translateX(-50%) translateY(0);
}

.cart-notification svg {
  color: #4ade80;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 8px;
}
