/* Background for entire page */
body {
  background: linear-gradient(135deg, #cce7ff 0%, #e6f2ff 100%);
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Optional overlay pattern */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: 
    radial-gradient(circle at top left, rgba(255,255,255,0.15) 15%, transparent 40%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.15) 15%, transparent 40%);
  z-index: 0;
  opacity: 0.3;
}

.content.container {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.15);
  padding: 30px 25px;
  position: relative;
  z-index: 1;
}


/* Utility container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1em;
}
.header {
    background: #f8f9fa;
    padding: 1em 0;
    border-bottom: 2px solid #007bff; /* Blue bottom border */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Optional subtle shadow */
}


.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 60px;
}

.logo img.site-logo {
  height: 100px; /* Adjust as needed */
  width:auto;
 
}


.logo {
  display: flex;
  align-items: center;
   margin-left: -12%;
}


/* Navigation Menu */
.nav-menu {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.nav-menu a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

/* Underline animation on hover */
.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: #007bff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-menu a:hover {
    color: #0056b3;
}

/* Auth Links */
.auth-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-links a, .auth-links span {
    font-size: 0.95rem;
    color: #007bff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.auth-links a:hover {
    color: #0056b3;
    transform: translateY(-2px);
    text-decoration: underline;
}
.header-tagline {
    background: #e9f4ff;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.1);
}

.header-tagline h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #007bff;
    margin: 0;
}

.header-tagline h2 span {
    color: #0056b3;
    font-weight: 700;
}


/* Main */
.content {
    padding: 2em 0;
}

/* ===================== FOOTER STYLING ===================== */
.footer {
  background: linear-gradient(135deg, #0d2f45, #001f30);
  color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
  padding: 50px 20px 20px;
  border-top: 5px solid #34aadc;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  gap: 20px;
}

.footer-section {
  flex: 1 1 220px;
  margin: 10px;
}

/* Headings */
.footer-section h2, .footer-section h3 {
  color: #34aadc;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Text & Links */
.footer-section p, 
.footer-section li, 
.footer-section a {
  color: #e0e0e0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-section a {
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-section a:hover {
  color: #ffffff;
  text-decoration: underline;
  transform: translateY(-2px);
}

/* Lists */
.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin: 6px 0;
}

/* Social Icons */
.footer-section.social a {
  display: inline-block;
  margin-right: 12px;
  font-size: 18px;
  color: #ffffff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-section.social a:hover {
  transform: scale(1.3) rotate(10deg);
  color: #34aadc;
}

/* Footer Bottom */
.footer-bottom {
  background: linear-gradient(135deg, #002f4b, #001a2a);
  color: #f0f0f0;
  text-align: center;
  padding: 20px 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  letter-spacing: 0.03em;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.25);
  user-select: none;
  border-radius: 0 0 20px 20px;
}

.footer-bottom .heart {
  color: #e63946;
  font-weight: bold;
  margin: 0 6px;
  animation: pulse 2s infinite;
  display: inline-block;
}

.footer-bottom .asstridee {
  font-style: italic;
  font-weight: 600;
  color: #a8dadc;
  text-shadow: 0 0 8px #a8dadc;
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

/* ===================== MOBILE RESPONSIVE ===================== */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px; /* Reduced spacing between sections */
  }

  .footer-section {
    margin: 6px 0; /* Compact margin */
    flex: unset;
  }

  .footer-section.social a {
    margin: 0 6px; /* Smaller spacing between social icons */
    font-size: 18px;
  }

  .footer-section p, 
  .footer-section li, 
  .footer-section a {
    font-size: 14px; /* Slightly smaller font for compact view */
    line-height: 1.4;
  }

  .footer-bottom {
    font-size: 13px;
    padding: 12px 10px; /* Reduced padding */
  }
}






/* ===================== General App Styling ===================== */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(160deg, #e0f7fa, #ffffff);
  color: #333;
  min-height: 100vh;
  scroll-behavior: smooth;
}

/* ===================== Container Spacing ===================== */
.products, .how-it-works-section {
  padding: 16px 12px;
}

/* ===================== Products Section ===================== */
.products {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-card {
  position: relative;
  background-color: #ffffffdd; 
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Product Image */
.product-card img {
  width: 120px;
  height: 180px;
  object-fit: cover;
  
  margin-bottom: 12px;
 
  transition: transform 0.3s;
}

.product-card img:hover {
  transform: scale(1.05);
}

.product-card h3 {
  font-size: 16px;
  margin: 8px 0;
  text-align: center;
  white-space: nowrap;       /* Prevent line break */
  overflow: hidden;          /* Hide overflow if too long */
  text-overflow: ellipsis;   /* Add ... if text is too long */
}


.product-card p {
  font-size: 14px;
  color: #ff5722;
  font-weight: bold;
  margin: 4px 0 12px 0;
}

/* Add to Cart Button */
.product-card a {
  text-decoration: none;
  background: linear-gradient(135deg, #29b6f6, #0288d1);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-card a:hover {
  background: linear-gradient(135deg, #0288d1, #0277bd);
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Badge / Label */
.product-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #ff5252;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ===================== How It Works Section ===================== */
.how-it-works-section {
  background: linear-gradient(180deg, #b3e5fc, #e1f5fe);
  padding: 28px 16px;
  margin-top: 16px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}

.how-it-works-section h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 20px;
  color: #0288d1;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  background: #ffffffdd;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.step h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #0288d1;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* ===================== Explore Products Section ===================== */
.explore-products-section {
  text-align: center;
  margin-top: 32px;
  padding: 16px;
  background: #ffffffbb;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  animation: fadeInUp 0.8s ease;
}

.explore-products-section h2 {
  font-size: 18px;
  color: #0288d1;
  margin-bottom: 8px;
}

.explore-products-section p {
  font-size: 14px;
  color: #555;
}

/* ===================== Floating Cart Button ===================== */
.floating-cart {
  position: fixed;
  bottom: 24px;
  right: 20px;
  background: linear-gradient(135deg, #29b6f6, #0288d1);
  color: #fff;
  padding: 14px 20px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  z-index: 999;
  transition: transform 0.3s, box-shadow 0.3s;
}

.floating-cart:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}

/* ===================== Bottom Navigation Bar ===================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffffdd;
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  z-index: 999;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.bottom-nav a {
  color: #0288d1;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  transition: color 0.2s;
}

.bottom-nav a:hover {
  color: #0277bd;
}

/* ===================== Animations ===================== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================== Responsive ===================== */
@media (min-width: 600px) {
  .products {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .product-card {
    width: 160px;
  }

  .steps {
    flex-direction: row;
    gap: 16px;
  }

  .step {
    flex: 1;
  }
}







  


.user-icon {
  position: absolute;
  right: 20px; /* Adjust spacing */
  top: 15px;
  font-size: 18px;
  z-index: 11;
  cursor: pointer;
}

.user-icon a {
  color: #007bff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-arrow {
  font-size: 12px;
  margin-left: 4px;
}

/* Dropdown menu - hidden by default */
.user-dropdown {
  display: none;
  position: absolute;
  top: 40px; /* below user icon */
  right: 0;
  background-color: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  border-radius: 4px;
  min-width: 120px;
  z-index: 20;
}

.user-dropdown a {
  display: block;
  padding: 8px 12px;
  color: #007bff;
  text-decoration: none;
}

.user-dropdown a:hover {
  background-color: #e0f0ff;
}

/* Hide user icon on desktop */
@media (min-width: 769px) {
  .user-icon {
    display: none;
  }
}








/* Checkout Wrapper */
.checkout-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 10px;
  max-width: 1200px;
  margin: auto;
}

/* Checkout Form */
.checkout-form {
  flex: 1 1 300px;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: transparent; /* ← Removed gray fade */
  backdrop-filter: none;   /* ← Removed background blur */
  animation: fadeIn 0.3s ease;
  margin-top: 30%;
  
}


/* Modal Content Box */
.modal-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 30px 25px;
  width: 80%;
  max-width: 420px;
  margin: 10% auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  animation: slideUp 0.3s ease;
}

/* Modal Headings */
.modal-content h3 {
  font-size: 20px;
  color: #222;
  margin-bottom: 15px;
}

.modal-content p {
  color: #555;
  font-size: 15px;
  margin-bottom: 25px;
}

/* Buttons */
.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.modal-btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.modal-btn.confirm {
  background: #28a745;
  color: white;
}

.modal-btn.confirm:hover {
  background: #218838;
  transform: scale(1.05);
}

.modal-btn.cancel {
  background: #dc3545;
  color: white;
}

.modal-btn.cancel:hover {
  background: #c82333;
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.checkout-form h2 {
  margin-bottom: 20px;
  color: #007bff;
}

.checkout-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  transition: border 0.3s;
}

.checkout-form input:focus,
.checkout-form select:focus {
  border-color: #007bff;
  outline: none;
}

.checkout-form button {
  width: 100%;
  padding: 12px;
  background: #28a745;
  color: #fff;
  border: none;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.checkout-form button:hover {
  background: #218838;
}

/* Cart Summary */
.cart-summary {
  flex: 1 1 300px;
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.cart-summary h3 {
  color: #333;
  margin-bottom: 20px;
}

.cart-summary .item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.cart-summary .item img {
  width: 80px;
  height: 100px;
  border-radius: 8px;
  object-fit: fill;
}

.cart-summary .item .details {
  flex: 1;
}

.cart-summary strong {
  font-size: 18px;
  display: block;
  margin-top: 10px;
}

/* Thank You Section */
.thank-you-wrapper {
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #719ebe;
}

.success-animation {
  background: #fff;
  padding: 50px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.checkmark {
  width: 100px;
  height: 100px;
  stroke-width: 4;
  stroke: #28a745;
  stroke-miterlimit: 10;
  animation: scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke: #28a745;
  fill: none;
  animation: strokeCircle 0.6s ease-in-out forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: strokeCheck 0.4s ease-in-out 0.6s forwards;
}

@keyframes strokeCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes strokeCheck {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale(1.1);
  }
}




h2 {
  color: #28a745;
  font-size: 24px;
  margin: 20px 0;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  margin-top: 10px;
  transition: background 0.3s ease;
  font-weight: bold;
}

.btn:hover {
  background: #0056b3;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .checkout-wrapper {
    flex-direction: column;
    padding: 1px;
    margin-right: 10%;
  
  }

  .checkout-form,
  .cart-summary {
    width: 100%;
  }
}





  /* Hamburger Icon */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #007bff;
}


/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px; /* start hidden offscreen */
  width: 250px;
  height: 100%;
  z-index: 9999;
  background-color: #f9f9f9;
  overflow-y: auto;
  transition: left 0.3s ease;
  padding-top: 60px;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
}

/* Sidebar links */
.sidebar a {
  padding: 12px 20px;
  text-decoration: none;
  font-size: 1rem;
  color: #007bff;
  display: block;
  transition: background 0.3s, color 0.3s;
}

.sidebar a:hover {
  background-color: #e0f0ff;
  color: #0056b3;
}

/* Close button */
.sidebar .closebtn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

/* Sidebar active state */
.sidebar.active {
  left: 0; /* slide in from left */
}

/* Optional: dimmed overlay behind sidebar */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* Responsive: Show hamburger on small screens */
@media (max-width: 768px) {
  .nav-menu,
  .auth-links {
    display: none;
  }

  .hamburger {
    display: block;
    z-index: 11;
  }
}

@media screen and (max-width: 768px) {
  .logo {
    position: absolute;
    left: 55%;
    transform: translateX(-50%);
    /* adjust for vertical alignment */
    z-index: 10;
  }


  .logo img.site-logo {
    height: 70px;
    margin: 1px auto;
  }

 
}
/* Hide cart icon by default (desktop) */
.cart-icon {
  display: none;
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 20px;
}

/* Show cart icon only on mobile */
@media screen and (max-width: 768px) {
  .cart-icon {
    display: block; /* show on mobile */
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 20px;
    z-index: 11; /* ensure above other items */
  }

  .cart-icon a {
    color: #007bff;
    text-decoration: none;
  }
}


