body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* Minimum height to fill the viewport */
}

#content {
  text-align: center;
  background-color: #f9f9f9;
  padding: 20px;
  margin: 20px 0;
}

#product {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.float {
  margin: 10px;
  text-align: center;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  /* Required for absolute positioning of the cart icon */
}

.float:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.float img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
}

.float h3 {
  margin: 10px 0;
  font-size: 18px;
  color: #333;
}

.float p {
  margin: 5px 0;
  font-size: 16px;
  color: #007bff;
}

.float a {
  text-decoration: none;
  color: inherit;
}

/* Cart Icon */
.cart-icon {
  position: absolute;
  top: 10px;
  /* Adjust as needed */
  right: 10px;
  /* Adjust as needed */
  background-color: rgba(255, 255, 255, 0.8);
  /* Semi-transparent background */
  border-radius: 50%;
  /* Circular shape */
  padding: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cart-icon:hover {
  background-color: rgba(255, 255, 255, 1);
  /* Solid background on hover */
}

.cart-icon img {
  width: 24px;
  /* Adjust icon size */
  height: 24px;
  /* Adjust icon size */
}

#footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
  margin-top: auto;
  /* Ensures footer stays at the bottom */
}

#footer .foot,
#footer #develop {
  margin: 10px 0;
}

#develop ul {
  list-style-type: none;
  padding: 0;
}

.nav1 {
  text-align: center;
  padding: 30px 0;
  /* Increase padding for more spacing */
}

.nav1 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 25px;
  /* Add gap for better spacing between links */
}

.nav1 ul li {
  margin: 0;
  /* Removed redundant margin */
}

.nav1 ul li a {
  text-decoration: none;
  color: #111;
  font-size: 18px;
  /* Increase font size */
  font-weight: bold;
  /* Make the text bolder */
  position: relative;
  padding-bottom: 8px;
  /* Add extra padding for clickable area */
}

.nav1 ul li a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  /* Increase underline thickness */
  background-color: #111;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav1 ul li a:hover::after,
.nav1 ul li a.active::after {
  width: 100%;
  /* Expand underline to full width */
  left: 0;
  /* Align underline with the link text */
}

#fcontainer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #f0f0f0, #e4e4e4);
  min-height: 58vh;
  /* Adjust to fill the full viewport height */
  margin: 0;
  /* Ensure no margins on the body */
}

.form-container {
  max-width: 400px;
  width: 100%;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.form-container h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
  font-family: 'Arial', sans-serif;
  font-size: 26px;
  font-weight: bold;
}

.form-container label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #555;
}

.form-container input {
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-container input:focus {
  border-color: #007bff;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.25);
  background-color: #fff;
}

.form-container button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.form-container button:hover {
  background: linear-gradient(135deg, #0056b3, #003f7f);
  transform: scale(1.02);
}

.form-container button:active {
  transform: scale(0.98);
}

.form-container .signup-link {
  display: inline;
  margin-top: 20px;
  margin-left: 5px;
  text-align: center;
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.form-container .signup-link:hover {
  color: #0056b3;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  /* Space between links */
  flex-wrap: wrap;
  /* Allow wrapping on smaller screens */
}

/* General Social Link Styling */
.social-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 50px;
  /* Rounded corners */
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Subtle shadow */
}

/* Hover Effect */
.social-link:hover {
  transform: translateY(-5px);
  /* Lift the button on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  /* Enhanced shadow on hover */
}

/* Gmail Link Styling */
.social-link.email {
  background: linear-gradient(135deg, #dd4b39, #c23321);
  /* Gradient background */
}

.social-link.email:hover {
  background: linear-gradient(135deg, #c23321, #dd4b39);
  /* Reverse gradient on hover */
}

/* Facebook Link Styling */
.social-link.facebook {
  background: linear-gradient(135deg, #3b5998, #2d4373);
  /* Gradient background */
}

.social-link.facebook:hover {
  background: linear-gradient(135deg, #2d4373, #3b5998);
  /* Reverse gradient on hover */
}

/* Instagram Link Styling */
.social-link.instagram {
  background: linear-gradient(135deg, #e4405f, #c13584);
  /* Gradient background */
}

.social-link.instagram:hover {
  background: linear-gradient(135deg, #c13584, #e4405f);
  /* Reverse gradient on hover */
}

/* Icon Styling */
.social-link i {
  margin-right: 8px;
  /* Space between icon and text */
  font-size: 18px;
  /* Slightly larger icon */
}

.product-image {
  width: 400px; /* Fixed width */
  height: 350px; /* Fixed height */
  object-fit: contain; /* Ensures the whole image fits within the container */
  border-radius: 8px; /* Optional: Rounded corners */
  border: 1px solid #ddd; /* Optional: Border for design */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Subtle shadow */
  background-color: #fff; /* Optional: White background to handle transparency */
}

.product-image:hover {
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* More prominent shadow on hover */
}
