
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
  }
  
  body {
    background-color: black;
    color: white;
    line-height: 1.5;
    overflow-x: hidden;
  }
  
  header {
    background: black;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    height: 7rem;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: relative;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgb(70, 130, 180);
    margin-left: 2rem;
    background-clip: text;
    text-decoration: none;
    letter-spacing: .1rem;
    transition: 1s;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: .5rem;
    list-style: none;
    margin-left: 35rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1.2rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: .5rem 1rem;
    border-radius: .75rem;
}

.nav-links a:hover {
    color: rgb(70, 130, 180);
    background: rgba(23, 94, 3, 0.1);
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -.25rem;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #0896d8, #062173);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-links a:hover::after {
    width: 100%;
}


/* Dropdown Styling */

.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-trigger::before {
    content: '▼';
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-trigger::before {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 1rem;
    margin-left: -12rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 2rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-column {
    flex: 1;
}

.dropdown-column h4 {
    color: #111827;
    font-weight: 600;
    margin-bottom: .75rem;
    font-size: .9rem;
    text-transform: uppercase;
}

.dropdown-column a {
    display: block;
    color: #6b7280;
    text-decoration: none;
    padding: .5rem 0;
    font-size: .9rem;
    transition: 1s;
    border-radius: .5rem;
    padding-left: .75rem;
    margin-left: -.75rem;
}

.dropdown-column a:hover {
    color: linear-gradient(135deg, #0896d8, #062173);
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(4px);
}


/* Modern Cart Icon */

.cart-icon {
    position: relative;
    margin-right: 2rem;
    background: linear-gradient(135deg, #0896d8, #062173);
    color: black;
    border: none;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.cart-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.cart-icon:active {
    transform: translateY(0);
}

.cart-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.cart-count {
    background: rgb(70, 130, 180);
    color: black;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    top: -8px;
    right: -8px;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

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

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.overlay.show {
  display: block;
}

.cart-modal {
  position: fixed;
  top: 0;
  right: -100%;
  width: 400px;
  height: 100%;
  color: black;
  background: white;
  z-index: 1000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-modal.open {
  right: 0;
}

/* Mobile responsive cart */
@media (max-width: 768px) {
  .cart-modal {
      width: 90%;
      max-width: 350px;
  }
}

.empty-cart-message {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-size: 1.1rem;
}


/* Hamburger Menu for Mobile */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: 1s;
}

.hamburger:hover {
    background: rgba(102, 126, 234, 0.1);
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: linear-gradient(135deg, #0896d8, #062173);
    border-radius: 2px;
    margin: 2px 0;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}


/* Responsive Design */

@media (max-width: 1024px) {
    .dropdown-menu {
        min-width: 400px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    .logo {
      margin-left: -.5rem;
      padding-left: 1rem;
      margin-top: .5rem;
    }

    .hamburger {
        display: flex;
    }

    .header-container {
      padding: 1rem;
  }

  .logo {
      margin-left: -.5rem;
      padding-left: 1rem;
      margin-top: .5rem;
  }

  .hamburger {
      display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    gap: 1rem;
    margin-left: 0;
    z-index: 999;
    transform: translateX(-100%); /* Start completely to the left */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

  .nav-links.active {
      opacity: 1;
      visibility: visible;
      transform: translateX(0); /* Changed from translateY(0) to translateX(0) */
  }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: auto;
        flex-direction: column;
        gap: 1rem;
        margin-top: -4rem;
        border-radius: .75rem;
        width: 23rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    #cartIcon {
      margin-top: 1.2rem;
    }

    .cart-icon {
        padding-top: 1.5rem;
        padding: .5rem;
        border-radius: .75rem;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }
}


  /* Hero */
  
  .hero {
    width: 90%;
    margin-top: 5rem;
    margin-right: auto;
    margin-left: auto;
    height: 30rem;
    background-image: url('images/mainproducts3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 3rem;
    border-radius: 1rem;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
  }
  
  .btn {
    padding: .8rem 1.5rem;
    border: none;
    border-radius: .5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
    display: inline-block;
  }
  
  .btn-primary {
    background-color: black;
    color: white;
  }
  
  .btn-primary:hover {
    background: linear-gradient(135deg, #0896d8, #062173);
    color: black;
    transform: translateY(-3px);
  }

  @media (max-width: 768px) {
    .header-container {
      position: relative;
      justify-content: center;
    }
  
    .hamburger {
      margin-top: .9rem;
      margin-left: 1rem;
      position: absolute;
      left: 1rem;
      top: 1rem;
      display: flex;
      flex-direction: column;
      gap: 5px;
      z-index: 11;
    }
  
    .hamburger span {
      height: 5px;
      width: 25px;
      background-color: white;
    }

    .cart-icon {
      position: absolute;
      margin-top: .9rem;
      margin-right: 1.7rem;
      right: 1rem;
      top: 1rem;
      z-index: 11;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 5.5rem; 
      left: 0;
      width: 100%;
      background-color: white;
      padding: 1rem 0;
      z-index: 9;
      text-align: center;
    }
  
    .nav-links.active {
      display: flex;
    }


  .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.3); /* Black overlay with 50% opacity */
      z-index: 1;
  }
  
  .hero > * {
      position: relative;
      z-index: 2; 
  }

    .hero h1  {
      margin-top: -1.5rem;
      text-align: center;
    }

    .hero p  {
      text-align: center;
    }

    .hero .btn-primary  {
      margin: 0 auto;
    }
  
  }
  


  /* Products */

  .products-title {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    margin-left: 5rem;
    position: relative;
    display: inline-block;
  }
  
  .products-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background-color: rgb(70, 130, 180);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
  }
  
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    margin-left: 5rem;
    margin-right: 5rem;
  }
  
  .product-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 400px; /* Fixed height for consistent cards */
    cursor: pointer;
  }
  
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }
  
  .product-image {
    width: 100%;
    height: 100%; /* Fill entire card height */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  
  .product-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(
      to bottom, 
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
  }
  
  .product-title {
    color: white;
    font-size: 1.3rem;
    text-align: center;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    /* Remove text truncation for better visibility */
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
  }
  
  .product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .product-details {
    flex: 1;
    min-width: 0;
  }
  
  .product-category {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  }
  
  .product-price {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }
  
  .product-actions {
    display: flex;
    flex-shrink: 0;
  }


  #btn-1 {
    margin-left: 3.5rem;
   
  }
  
  #btn-2 {
    margin-left: 3.5rem;
  }
  
  #btn-3 {
    margin-left: 3.5rem;
  }

  #btn-4 {
    margin-left: 3.5rem;
  }

  #btn-5 {
    margin-left: 3.5rem;
   
  }
  
  #btn-6 {
    margin-left: 3.5rem;
  }
  
  #btn-7 {
    margin-left: 3.5rem;
  }

  #btn-8 {
    margin-left: 3.5rem;
  }

  #btn-9 {
    margin-left: 3.5rem;
  }
  
  


  .add-to-cart {
    background-color: white;
    color: black;
    border: none;
    margin: 0 auto;
    padding: .7rem 5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 1s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
  }
  
  .add-to-cart:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  }
  

  /* Responsive adjustments */

  @media (max-width: 768px) {
    .products-grid {
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.5rem;
      margin-left: 2rem;
      margin-right: 2rem;
    }
    
    .product-card {
      height: 350px;
    }
    
    .product-info {
      padding: 1rem;
    }

    /* .product-image {
      padding-top: 1rem;
    } */
    
    .product-title {
      font-size: 1.5rem;
    }

    .products-title::after {
        margin-left: 5rem;
    }
    
    .product-price {
      font-size: 1.2rem;
    }
    
    .product-actions {
      display: flex;
      margin-left: -3rem;
      justify-content: center;
      align-items: center; /* Centers vertically too if there's height */
   }
  }

  .cart-modal {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
  }
  
  .cart-modal.open {
    right: 0;
  }
  
  .cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .cart-title {
    font-size: 1.5rem;
    font-weight: 600;
  }
  
  .close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
  }
  
  .cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
  }
  
  .cart-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
  }
  
  .cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-right: 1rem;
  }
  
  .cart-item-details {
    flex: 1;
  }
  
  .cart-item-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .cart-item-price {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .cart-item-actions {
    display: flex;
    align-items: center;
  }
  
  .quantity-btn {
    background-color: var(--light);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
  }
  
  .item-quantity {
    margin: 0 1rem;
    font-weight: 600;
  }
  
  .remove-item {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--error);
    cursor: pointer;
    font-size: 0.9rem;
  }
  
  .cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
  }
  
  .cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }
  
  .checkout-btn {
    width: 100%;
    background-color: var(--success);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .checkout-btn:hover {
    background-color: linear-gradient(135deg, #0896d8, #062173);
  }
  
  .empty-cart-message {
    text-align: center;
    padding: 2rem;
    color: var(--gray);
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
  }
  
  .overlay.show {
    opacity: 1;
    visibility: visible;
  }
  
  .toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--success);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
  }
  
  .toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }


  /* Categories */

  .categories-title {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    margin-left: 5rem;
    position: relative;
    display: inline-block;
  }
  
  .categories-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background-color: var(--primary);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
  }
  
  .categories-section {
    margin-bottom: 4rem;
  }
  
  .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-left: 5rem;
    margin-right: 5rem;
  }
  
  .category-card {
    background: linear-gradient(135deg, #0896d8, #062173);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
  }
  
  .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
  
  .category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .category-card:hover::before {
    opacity: 1;
  }
  
  .category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
  }
  
  .category-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .category-count {
    font-size: 0.9rem;
    opacity: 0.8;
  }


/* Banner */

.banner {
  display: flex;
  margin-top: 3rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url('images/banner.jpg');
  background-position: center center;  /* Center image horizontally and vertically */
  background-size: cover;              /* Make sure it fills the area */
  background-repeat: no-repeat;        /* Prevent it from repeating */
  
  height: 40vh;
}


  .banner-title {
    font-size: 2.5rem;
    color: black;
    margin-bottom: 2rem;
  }
  
  #banner .banner-tagline span {
    color: white;
  }

  .banner-tagline {
    margin-bottom: 2rem;
  }

  .banner-btn {
    padding: 1rem 2rem;
    background-color: black;
    outline: none;
    border: none;
    color: white;
    border-radius: .2rem;
  }


  .banner-btn:hover {
    background-color: lightgrey;
    color: black;
    transition: 1s;
  }



 /* Grid Banner */
 .grid-banner-title {
  font-size: 2rem;
}

.grid-banner-main {
  font-size: 1.2rem;
}

.grid-banner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

.grid-banner .banner-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  height: 50vh;
  min-width: 30%;
  margin-top: 1rem;
}

/* Image overrides per grid box */
.grid-banner .banner-box:nth-child(1) {
  background-image: url('images/mainproducts.jpg');
  grid-column: span 3;
}

.grid-banner .banner-box:nth-child(2) {
  background-image: url('images/mainproducts1.jpg');
  grid-column: span 3;
}

.grid-banner .banner-box:nth-child(3) {
  background-image: url('images/mainproducts2.jpg'); /* updated image */
  grid-column: span 2;
}

.grid-banner .banner-box:nth-child(4) {
  background-image: url('images/coffee.jpg'); /* updated image */
  grid-column: span 2;
}

.grid-banner .banner-box:nth-child(5) {
  background-image: url('images/mainproduct4.jpg'); /* updated image */
  grid-column: span 2;
}

.grid-banner-btn {
  margin-top: 1rem;
  padding: 1rem 2rem;
  background-color: black;
  color: white;
  border: none;
  border-radius: 0.5rem;
}

@media (max-width: 768px) {
  .grid-banner .banner-box:nth-child(1) {
    border-radius: .5rem;
  }
  
  .grid-banner .banner-box:nth-child(2) {
    border-radius: .5rem;
  }
  .grid-banner .banner-box:nth-child(3),
  .grid-banner .banner-box:nth-child(4),
  .grid-banner .banner-box:nth-child(5) {
      grid-column: 1 / -1 !important; /* Takes full width of grid */
      border-radius: .5rem;
      height: 15rem;
  }
}

/* Newsletter */

/* Background around the card */
.newsletter-wrapper {
  background: url('images/banner1.jpg') no-repeat center center / cover;
  padding: 6rem 1rem;
  margin-top: 2rem;
}

/* Newsletter card (glassmorphic style) */
.newsletter-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  max-width: 600px;
  width: 100%;
  margin-left: 46rem;
  text-align: center;
  box-shadow: 
      0 25px 50px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  border-radius: 24px;
  opacity: 0;
  transition: opacity 1s;
}

.newsletter-section:hover {
  transform: translateY(-8px);
  box-shadow: 
      0 35px 70px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.newsletter-section:hover::before {
  opacity: 1;
}

/* Logo text animation */
.newsletter-brand-logo {
  font-size: 2.5rem;
  font-weight: 700;
  color: linear-gradient(135deg, #0896d8, #062173);
  margin-bottom: 1rem;
}

@keyframes shimmer {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(20deg); }
}


.newsletter-header {
  margin-bottom: 2rem;
}

.newsletter-title {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.newsletter-subtitle {
  color: #ddd;
  font-size: 1rem;
}

.newsletter-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-input {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
}

.newsletter-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  background-color: #ff6b6b;
  color: white;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
  background-color: #e25555;
}

.newsletter-features {
  margin-top: 2rem;
  display: flex;
  justify-content: space-around;
  color: #fff;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.trust-indicators {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  color: #ccc;
  font-size: 0.85rem;
}

.success-message {
  margin-top: 2rem;
  color: #90ee90;
  font-weight: 600;
  display: none;
}

/* Add this to your existing CSS */

/* Mobile responsive styles for newsletter */
@media (max-width: 768px) {
  .newsletter-wrapper {
    padding: 3rem 1rem; /* Reduce padding on mobile */
  }

  .newsletter-section {
    margin-left: 0; /* Reset the desktop margin */
    margin: 0 auto; /* Center the card */
    padding: 2rem 1.5rem; /* Reduce padding for mobile */
    max-width: 90%; /* Make it more mobile-friendly */
  }

  .newsletter-brand-logo {
    color: black;
    font-size: 2rem; /* Slightly smaller on mobile */
  }

  .newsletter-subtitle {
    font-size: 0.9rem; /* Adjust text size */
    line-height: 1.5; /* Better readability */
  }

  .newsletter-form {
    gap: 1.5rem; /* More space between form elements */
  }

  .newsletter-input,
  .newsletter-btn {
    padding: 1rem; /* Larger touch targets for mobile */
    font-size: 1rem;
  }

  .newsletter-features {
    flex-direction: column; /* Stack features vertically */
    gap: 1rem;
    align-items: center;
  }

  .feature-item {
    flex-direction: row; /* Horizontal layout for each feature */
    gap: 0.5rem;
  }

  .trust-indicators {
    flex-direction: column; /* Stack trust indicators */
    gap: 0.5rem;
    text-align: center;
  }
}


/* Footer */

.footer {
  background: black;
  color: #ffffff;
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  /* background: linear-gradient(90deg, transparent 0%, #6366f1 50%, transparent 100%); */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  animation: slideInLeft 0.8s ease-out;
}

.footer-brand h2 {
  font-size: 32px;
  font-weight: 700;
  background: rgb(70, 130, 180);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #a1a1aa;
  line-height: 1.6;
  margin-bottom: 24px;
  width: 85%;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: #6366f1;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.footer-column {
  animation: slideInUp 0.8s ease-out;
}

.footer-column:nth-child(2) { animation-delay: 0.1s; }
.footer-column:nth-child(3) { animation-delay: 0.2s; }
.footer-column:nth-child(4) { animation-delay: 0.3s; }

.footer-column h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links a:hover::before {
  width: 100%;
}

.newsletter {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.newsletter h3 {
  margin-bottom: 12px;
}

.newsletter p {
  color: #a1a1aa;
  font-size: 14px;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: #71717a;
}

.newsletter-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.newsletter-btn {
  padding: 12px 20px;
  background: linear-gradient(135deg, #0896d8, #062173);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.newsletter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #71717a;
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: #71717a;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

@keyframes slideInLeft {
  from {
      opacity: 0;
      transform: translateX(-30px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

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

@media (max-width: 768px) {
  .footer-grid {
      grid-template-columns: 1fr;
      gap: 30px;
  }

  .footer-brand h2 {
      font-size: 24px;
  }

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

  .footer-bottom {
      flex-direction: column;
      text-align: center;
  }

  .footer-legal {
      justify-content: center;
  }
}

  
  @media (max-width: 992px) {
    .header-container {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero {
        padding: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cart-modal {
        width: 350px;
    }
  }
  
  @media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .cart-modal {
        width: 300px;
    }
  }
  
  @media (max-width: 576px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-modal {
        width: 100%;
        right: -100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
  }