* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffff;
    -webkit-user-select: none; /* For Safari */
    -moz-user-select: none;    /* For Firefox */
    -ms-user-select: none;     /* For IE/Edge */
    user-select: none;
}

html {
  scroll-behavior: smooth;
}

/* Sticky Navbar */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
}

/* Rest of the CSS remains the same */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
}

.logo {
    padding: 0 2rem;
    font-size: 24px;
    font-weight: bold;
    color: #4a4a4a;
}

/* Hide the checkbox */
.menu-checkbox {
    display: none;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    text-decoration: none;
    color: #4a4a4a;
    font-size: 18px;
    padding: 0 6px;
    margin: 0 0px;
    transition: color 0.3s ease;
}

.menu a.active {
    color: #f39c12;
}

.menu a:hover {
    color: #f39c12;
}

.icons {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-right: 5px;
}

.icons i {
    font-size: 18px;
    color: #4a4a4a;
}

.cart {
    position: relative;
}

.cart .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #f39c12;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

/* Hamburger icon */
.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Media Queries for mobile devices */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 60px;
        right: 10px;
        background-color: white;
        border: 1px solid #ddd;
        padding: 6px;
    }

    .logo {
      padding: 0 1rem;
      font-size: 20px;
      font-weight: bold;
      color: #4a4a4a;
  }

    .menu-checkbox:checked + .menu-icon + .menu {
        display: flex;
    }

    .menu-icon {
        display: block;
        font-size: 28px;
        cursor: pointer;
    }

    /* Positioning icons in mobile */
    .icons {
        position: absolute;
        right: 60px;
        top: 37px;
    }
    .icons {
      display: flex;
      gap: 15px;
      align-items: center;
  }
}

/* For desktop screens */
@media (min-width: 769px) {
    .menu {
        display: flex !important;
    }

    .menu-icon {
        display: none;
    }
}

/* Hero Section */

.product-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  min-height: 100vh;
}

.content {
  flex: 1;
}

.title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-weight: bold;
}

.description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #7f8c8d;
  margin-bottom: 2rem;
  width: 400px;
}

.cta-button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background-color: #f39c12;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.cta-button:hover {
  background-color: #df9010;
}

.image-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-container img {
  width: auto;
  height: 500px;
  border-radius: 10px;
  margin-right: 10px;
}

/* Responsive layout for tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .product-section {
    flex-direction: column;
    text-align: center;
    padding: 4rem 2rem;
  }

  .content {
    width: 100%;
    order: 1;
  }

  .image-container {
    width: 100%;
    margin-top: 1rem;
    order: 2;
  }

  .image-container img {
    height: 400px; /* Reduce image height for tablets */
  }

  .description {
    width: 700px;
    margin: 0 auto;
  }
}

/* Responsive layout for mobile devices (max-width: 768px) */
@media (max-width: 768px) {
  .product-section {
    flex-direction: column;
    text-align: center;
    padding-top: 300px;
    padding: 4rem 2rem;  }

  .content {
    order: 1;
  }

  .image-container {
    order: 2;
    margin-top: .5rem;
  }

  .image-container img {
    height: 280px; /* Reduce image height for smaller devices */
  }

  .description {
    width: auto;
  }
}

  /* Product Section */
  .products-section {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .product-card {
    background-color: #f8f9fe;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
    width: calc(33.333% - 2rem); /* 3 items per row */
    margin-bottom: 2rem;
  }
  
  .product-card:hover {
    transform: translateY(-5px);
  }
  
  .product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
  }
  
  .product-title {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1rem;
  }
  
  .product-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  .product-price {
    color: #ff8c00;
    font-weight: bold;
    margin-bottom: 1rem;
  }
  
  .discover-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: 1px solid #333;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .discover-btn:hover {
    background: #333;
    color: white;
  }
  
  @media (max-width: 768px) {
    .product-card {
      width: calc(50% - 2rem); /* 2 items per row on smaller screens */
    }
  }
  
  @media (max-width: 576px) {
    .product-card {
      width: 100%; /* 1 item per row on mobile */
    }
  }
  
  .main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
  }

  .main-section-title {
    text-align: center;
  color: #555;
  font-size: 2rem;
  margin-bottom: 3rem;
  font-weight: 500;
  }

  .flex-product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
  }

  .single-product-card {
    background: #f8f9fe;
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    flex: 1 1 calc(33.33% - 2rem);
    box-sizing: border-box;
  }

  .product-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
  }

  .product-name {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }

  .product-cost {
    color: #666;
    font-weight: bold;
  }

  @media (max-width: 992px) {
    .single-product-card {
      flex: 1 1 calc(50% - 2rem);
    }
  }

  @media (max-width: 576px) {
    .single-product-card {
      flex: 1 1 100%;
    }
  }

  /* Featured Products */
.featured-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.featured-title {
  text-align: center;
  color: #555;
  font-size: 2rem;
  margin-bottom: 3rem;
  font-weight: 500;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.featured-item {
  text-align: center;
}

.featured-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.featured-photo:hover {
  transform: scale(1.05);
}

.featured-rating {
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.featured-reviews {
  color: #777;
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

.featured-name {
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.featured-cost {
  color: #666;
  font-weight: bold;
}

@media (max-width: 992px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .featured-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .featured-grid {
    grid-template-columns: 1fr;
    width: 300px;
    margin: 0 auto;
    margin-bottom: 50px;
  }
  
  .featured-title {
    font-size: 1.75rem;
  }

  .featured-wrapper {
    padding: 2rem 1rem;
  }
}


  /* Banner Section */
  .banner-section {
    margin-top: 50px;
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin-bottom: 50px;
  }

  .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: rgba(44, 51, 51, 0.9);
    padding: 4rem;
    display: flex;
    align-items: center;
  }

  .text-content {
    color: white;
  }

  .banner-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .banner-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
  }

  .price-tag {
    margin-bottom: 2rem;
    font-size: 1.1rem;
  }

  .price-tag span {
    color: #ff9966;
  }

  .action-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #ff9966;
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .action-button:hover {
    background-color: #ff8844;
  }

  @media (max-width: 992px) {
    .text-overlay {
      width: 50%;
    }
  }

  @media (max-width: 768px) {
    .text-overlay {
      width: 100%;
      background: rgba(44, 51, 51, 0.8);
    }

    .banner-title {
      font-size: 2rem;
    }
  }

  @media (max-width: 576px) {
    .text-overlay {
      padding: 2rem;
    }

    .banner-title {
      font-size: 1.75rem;
    }

    .banner-description {
      font-size: 0.9rem;
    }
  }

  /* footer section */
  .footer {
    display: flex;
    justify-content: space-between;
    padding: 40px 100px;
    background: #fff;
    color: #666;
    border-top: 1px solid #e0e0e0;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin: 10px 0;
}

.footer-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.newsletter p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.email-input {
    display: flex;
    align-items: center;
}

input[type="email"] {
    padding: 8px;
    width: 80%;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit-btn {
    background: #ff9900;
    color: white;
    border: none;
    padding: 9px 15px;
    margin-left: -1px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: row;
        flex-wrap: wrap; /* Allow columns to wrap */
        padding: 20px;
    }
    
    .footer-column {
        flex: 0 0 50%; /* Each column takes up 50% of the width */
        margin-bottom: 30px;
    }
    
    .email-input {
        flex-direction: column;
    }
    
    input[type="email"] {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .submit-btn {
        width: 100%;
        margin-left: 0;
    }
}

/* Copyright Section */
.footer-below {
  text-align: center;
  padding: 20px 0;
  color: #a0a4a8;
  background: #e9e9e9;
  font-size: 14px;
}