.contact-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.contact-container h1 {
  font-size: 4em;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact-container .subtitle {
  font-size: 1.4rem;
  color: #555;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  font-size: 16px;
  width: 100%;
  border-radius: 2px;
  transition: border-color 0.3s ease;
  font-family:  sans-serif;
}

.contact-form button {
  padding: 14px;
  background-color: #222;
  color: #fff;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #000;
}
 @media (max-width: 1000px) {
      .container {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 600px) {
      .container {
        grid-template-columns: 1fr;
      }
    }

    /* Existing styles remain unchanged above */

@media (max-width: 1000px) {
  /* Adjust header layout for tablets and smaller screens */
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  /* Logo adjustments */
  .logo {
    flex-direction: column;
    align-items: center;
  }

  /* Navigation menu adjustments */
  nav {
    width: 100%;
    margin-top: 10px;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 15px;
  }

  /* Dropdown menu adjustments */
  .dropdown {
    width: 100%;
    justify-content: space-between;
  }
  #categoryMenu {
    width: 100%;
  }

  /* Hero carousel adjustments */
  .carosal {
    flex-direction: column;
  }
  .carosal-item {
    flex-direction: column;
  }
  .carosal-text {
    max-width: 100%;
    text-align: center;
  }
  .carosal-text h1 {
    font-size: 2rem;
  }
  /* Buttons inside carousel */
  .carosal-text button {
    width: 100%;
    max-width: 250px;
  }

  /* Card container adjustments */
  .card-container {

    align-items: center;
  }
  /* Cards adjustments */
  .card {
    flex-direction: column;
   text-align: center;
  

  }
  .card img {
    max-height: 200px;
    margin-bottom: 15px;
  }
  /* Product grid adjustments */
  .home-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px;
  }
  /* Product card adjustments */
  .product {
    width: 100%;
  }
  /* Marquee adjustments */
  .marquee {
    flex-direction: column;
  }

  /* Footer adjustments */
  
}

/* For smaller mobile screens */
@media (max-width: 600px) {
  /* Further reduce font sizes */
  header {
    padding: 10px 15px;
  }
.logo {
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  align-items: center;     /* horizontal centering */
  text-align: center;
}

.logo span {
  font-size: 10px;
  text-align: center;
  display: block;
  width: 100%;
  margin-top: 5px;
}
.search-bar {
    display: none; /* Hide search bar on mobile */
  }
  
  .logo span {
    font-size: 10px;
    text-align: center;
    padding-bottom: 30px;
  }
.carosal-text {
    font-size: 1.2rem; /* Adjust carousel text size for mobile */
    position: relative;
    top: 50px; /* Adjust position for mobile */
  }
  .carosal-text p {
    font-size: 0.9rem; /* Adjust paragraph size for mobile */
  }
  .carosal-text h1 {
    font-size: 1.5rem; /* Adjust heading size for mobile */
  }
  .carosal-text button {
    width: 100%;
    max-width: none; /* Remove max-width for buttons on mobile */
  }
   .carosal-item img {
    width: 300px;
    height: 300px; /* Adjust image size for mobile */
    }
  
  .card-container {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 100%;
    padding: 20px;
    margin: 10px;
}
 

  /* If you want to implement a hamburger menu, additional JS and CSS are required */

  /* Adjust hero carousel text and buttons */
  .carosal-text h1 {
    font-size: 1.5rem;
  }

  /* Buttons */
  button, .shop-btn {
    width: 100%;
    max-width: 100%;
  }

  /* Product grid for mobile */
  .home-container {
    grid-template-columns: 1fr;
  }
  .top-bar{
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
  }

  .card-container{
    flex-direction: column;
    align-items: center;
    width: 90%;
  }
  .card.purple  img{
    width: 100%;
    height: 150px; /* Adjust image size for mobile */
  }
  .card.green img{
    width: 100%;
    height: 150px; /* Adjust image size for mobile */
  }
  @media (max-width: 600px) {
  .logo {
    flex-direction: column;         /* Stack image and text vertically */
    justify-content: center;
    align-items: center;            /* Center content inside .logo */
    margin: 0 auto;                 /* Center the .logo itself */
    text-align: center;
  }

  .logo img {
    height: 30px;                   /* Smaller logo for mobile */
    margin-right: 0;                /* Remove space between image and text */
    margin-bottom: 5px;             /* Add space below image */
  }

  .logo span {
    font-size: 12px;                /* Slightly smaller text */
    padding-bottom: 5px;            /* Optional spacing */
  }
  .dropdown h4{
display: none;
  }
  .dropdown .dropdown-arrow {
    display: none; /* Hide dropdown icon on mobile */
  }
  .dropdown{
    width: 100%;
  }
  .dropdown-menu{
    width: 100%; /* Make dropdown menu full width */
    left: 0; /* Align to the left */
  }
  .social-icons{
    display: none;
  }
  .contact-flex{
display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-info{
    flex-direction:row;
    align-items: center;
   
  }
}
}

.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
  color: black;
}

.nav-container {
  display: flex;
}

@media (max-width: 768px) {
  .nav-container {
    display: none;
    flex-direction: column;
    background-color: #ffc400;
    position: absolute;
    top: 230px;
    left: 26px;
    width: 80%;
    z-index: 1000;

  }

  .nav-container.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .nav-links li {
    list-style: none;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
  }
}


@media (max-width: 1000px) {
  .logo {
    flex-direction: column;         /* Stack image and text vertically */
    justify-content: center;
    align-items: center;            /* Center content inside .logo */
    margin: 0 auto;                 /* Center the .logo itself */
    text-align: center;
  }

  .logo img {
    height: 30px;                   /* Smaller logo for mobile */
    margin-right: 0;                /* Remove space between image and text */
    margin-bottom: 5px;             /* Add space below image */
  }

  .logo span {
    font-size: 12px;                /* Slightly smaller text */
    padding-bottom: 5px;            /* Optional spacing */
  }
  .dropdown h4{
display: none;
  }
  .dropdown .dropdown-arrow {
    display: none; /* Hide dropdown icon on mobile */
  }
  .dropdown{
    width: 100%;
  }
  .dropdown-menu{
    width: 100%; /* Make dropdown menu full width */
    left: 0; /* Align to the left */
  }
  .social-icons{
    display: none;
  }
  .contact-flex{
display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-info{
    flex-direction:row;
    align-items: center;
   
  }
}


@media (max-width: 1000px) {
  .nav-container {
    display: none;
    flex-direction: column;
    background-color: #ffc400;
    position: absolute;
    top: 230px;
    left: 26px;
    width: 80%;
    z-index: 1000;

  }
  .search-bar{
    display: none; /* Hide search bar on mobile */
  }

  .nav-container.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .nav-links li {
    list-style: none;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
  }
}


@media (max-width: 1024px) {
  .nav-container {
    display: none;
    flex-direction: column;
    background-color: #ffc400;
    position: absolute;
    top: 135px;
    left: 0px;
    width: 100%;
    z-index: 1000;
  }
  nav li{
    width: 100%;
    justify-content: space-between;
  }
  .search-bar{
    display: none; /* Hide search bar on mobile */
  }

  .nav-container.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .nav-links li {
    list-style: none;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
  }
}
@media (max-width: 984px) {
  .nav-container {
    display: none;
    flex-direction: column;
    background-color: #ffc400;
    position: absolute;
    top: 290px;
    left: 0px;
    width: 100%;
    z-index: 1000;
  }
}



@media (min-width: 600px) and (max-width: 993px) {
  /* Your custom styles for screens between 600px and 993px */

  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  .logo {
    flex-direction: column;
    align-items: center;
  }

  .logo img {
    height: 40px; /* or adjust as needed */
  }

  nav {
    width: 100%;
    margin-top: 10px;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 15px;
  }

  /* Adjust your other components like cards, carousel, etc. */
  .card {
    flex-direction: column;
    padding: 20px;
  }

  /* Resize images or text if necessary */
  .carosal-text h1 {
    font-size: 2rem; /* smaller size for tablets */
  }

  /* Any other adjustments specific for this range */
}