/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #545353;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #222;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* Banner */
.banner {
  background: url('https://img.freepik.com/free-photo/small-grocery-cart-with-black-friday-sale-inscription_23-2147957597.jpg?t=st=1739613101~exp=1739616701~hmac=04865218c4b3c2a4563aad61f9b2b8a7b1189829c04dd10043b4cd3268fbe6a1&w=996') no-repeat center center;
  background-size: cover;
  color: rgb(11, 6, 6);
  text-align: center;
  
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  font-size: 24px;
  font-weight: bold;
  width: 100%;
  min-height: 50vh; /* Responsive height */
}
.banner h1 {
  margin-bottom: 50px;
}


/* Category Cards */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px;
  text-align: center;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.card a {
  text-decoration: none;
  font-size: 20px;
  color: #333;
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.faq-section {
  width: 100%; /* Full width */
padding: 0 15px;
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

/* FAQ Container */
.faq-container {
  margin-top: 20px;
  width: 100%;
  padding: 0;
  margin: 0;
}

/* FAQ Item */
.faq-item {
  margin-bottom: 15px;
}

/* FAQ Question (Full-Width Box) */
.faq-question {
  display: block;
  font-size: 1.1rem;
  font-weight:600;
  cursor: pointer;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 100%;
  margin: 0;
}


/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* Show Answer When Checked */
.faq-item input[type="checkbox"] {
  display: none;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 200px; /* Adjust for answer length */
  padding: 10px 15px;
}

/* Spacing Between Questions */
.faq-item:not(:last-child) {
  margin-bottom: 20px;
}
.footer {
  background-color: #545353; /* Dark background */
  color: #fff; /* White text */
  padding: 20px 0; /* Padding for top and bottom */
  text-align: center; /* Center the content */
  position: relative;
  bottom: 0;
  width: 100%;
}

/* Footer Container */
.footer-container {
  
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Footer Left */
.footer-left {
  font-size: 1rem;
  margin-bottom:30px;
}

/* Footer Right */
.footer-right ul {
  list-style-type: none;
  padding: 0;
  margin: 20px;
}

.footer-right ul li {
  display: inline-block;
  margin-right: 20px;
}

.footer-right ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-right ul li a:hover {
  color: #ff7c7c;
}
.social-link img {
  width: 40px;  
  height: 40px;
  border-radius: 50%;  
  transition: transform 0.3s ease; 
}
.social-link img:hover {
  transform: scale(1.1); 
}

.social-link {
  text-decoration: none; 
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #545353;
    padding: 10px 0;
    text-align: center;
  }

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

  .nav-links li {
    margin: 10px 0;
  }

  .banner {
    padding: 40px 20px;
    font-size: 20px;
    min-height: 40vh;
  }

  .categories {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

