* {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color: #fccf55;
  font-size: 14px;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.con-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}
header {
  margin: 0;
  padding: 0;
}

.navi {
  display: flex;
  align-items: center;
  background-color: #967b30;
  justify-content: center;
  padding: 10px;
  gap: 20px;
  color: white;
}
.searnav {
  display: none;
  align-items: center;
  background-color: #967b30;
  justify-content: center;
  padding: 10px;
  gap: 20px;
  color: white;
}
nav h2 {
  color: white;
  font-size: 1.6rem;
  margin-top: -10px;
}

.nav-field {
  display: flex;
  gap: 20px;
  margin-right: 20px;
  font-size: 1.1rem;
  cursor: pointer;
}
.nav-field .user-profile {
  font-size: 1.8rem;
}
.nav-field a {
  text-decoration: none;
  color: white;
}
/* notification */
.dropdown-noti {
  display: none;
  position: absolute;
  background-color: #f4f4f4;
  color: black;
  height: 37%;
  overflow-y: auto;
  width: 100%;
  max-width: 200px;
  margin-right: 70px;
  margin-top: 20px;
  right: 0;
  border-radius: 5px;
  z-index: 10;
}
.dropdown-noti h4 {
  background-color: white;
  font-size: 1.2rem;
  padding: 15px;
  padding-bottom: 10px;
}

.noti-badge {
  position: absolute;
  top: -5px;
  right: -15px;
  background: #e74c3c;
  color: white;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 50%;
  font-weight: bold;
}

.nav-items {
  position: relative; 
}

.noti {
  display: flex;
  flex-direction: column-reverse;
  font-size: 0.8rem;
}
.noti p {
  padding: 10px 15px; 
}
.noti p:hover {
  background-color: #e3e3e3;

}
.dropdown-noti,
.dropdown-profile {
  position: absolute;
  z-index: 9999; 
}
/* profile */
/* Base Styles */
.dropdown-profile {
  display: none;
  position: absolute;
  background-color: #f4f4f4;
  color: black;
  width: 90%;
  max-width: 200px;
  height: auto;
  margin-right: 10px;
  margin-top: 20px;
  right: 0;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-profile h4 {
  font-size: 1.3rem;
  padding: 20px;
}

.profileNav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 30px;
  margin-top: -30px;
  font-size: 0.9rem;
}

.profileNav > div:nth-child(n):hover {
  background-color: #e3e3e3;
}
.nav-field a:hover {
  color: #eae9e9;
}
/* Founder Profile */
#logo {
  width: 2rem;
  height: 2rem;
  border-radius: 100%;
  position: relative;
  left: 10px;
  cursor: pointer;
}
.popDiv {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 70%;
  width: 90%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  overflow-y: auto; /* Scrollable content on mobile */
}


#popup {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.popDiv {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 70%;
  width: 90%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  overflow-y: auto;
  position: relative;
}

#logos {
  width: 7rem;
  height: 7rem;
  border-radius: 100%;
  position: relative;
  left: 0;
  margin-bottom: 1rem;
  cursor: pointer;
}

.brand-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.brand-description {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.founder-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.founder-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.founder-card {
  border: 1px solid #ddd;
  border-radius: 0.75rem;
  padding: 1rem;
  background: #f9f9f9;
  text-align: center;
  width: 30%;
  min-width: 200px;
}

.founder-card h4 {
  margin: 0.5rem 0;
  color: #222;
  font-size: 1rem;
}

.founder-card img {
  width: 6rem;
  height: 6rem;
  border-radius: 100%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.founder-card p {
  font-size: 0.9rem;
  color: #444;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
}

.close-btn:hover {
  color: #555;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .popDiv {
    max-width: 90%;
    height: 80%;
    overflow-y: scroll;
  }

  .founder-section {
    flex-direction: column;
    gap: 1rem;
  }

  .founder-card {
    width: 100%;
  }
}

.cart {
  font-size: 2em;
  color: white;
  margin-left: 5px;
}
.search {
  position: relative;
  width: 100%;
}

.search input {
  padding: 10px 40px 10px 10px; /* Leave space for the icon */
  width: 100%;
  height: 2rem;
  border-radius: 5px;
  border: none;
  outline: none;
  box-sizing: border-box;
}
.search-btn {
  color: #888;
  position: absolute;
  top: 0.4rem;
  right: 0.7rem;
  font-size: 1.2rem;
  cursor: pointer;
}
.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  cursor: pointer;
}


.suggestions {
  position: absolute;
  background-color: white;
  margin-top: 2px;
  padding: 0;
  list-style: none;
  width: 54%;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  color: black;
}

.suggestions li {
  padding: 10px 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.suggestions li:hover {
  background-color: #f0f0f0;
}
.searchi {
  display: none;
  cursor: pointer;
}
@media (max-width:768px) {
  .search {
    display: none;
  }
  .searchi {
    display: block;
  }
  .suggestions {
    margin-top: 36px;
  }
}
.topnav {
  overflow: hidden;
  background-color: #2d4257;
}
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
.active {
  background-color: indianred;
  color: white;
}
.topnav .icon {
  display: none;
}
.dropdown {
  float: left;
  overflow: hidden;
}
.dropdown .dropbtn {
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover,
.dropdown:hover .dropbtn {
  background-color: indianred;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Slideshow container */
.banner {
  max-width: 100%;
  height: 300px;
  position: relative;
  margin: auto;
  overflow: hidden;
}

.banner img {
  object-fit: cover;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Caption text */

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}
/* Categories*/

/*Responsive*/
@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
footer {
  background-color: #f8f8f8; 
  padding: 20px 20px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  border-top: 1px solid #ddd; 
  position: relative;
  bottom: 0;
}
.footer-section {
  margin: 20px;
}
.footer-section h3 {
  margin-bottom: 15px;
  font-size: 1.1em;
}
.footer-section p,
.footer-section a {
  display: block;
  margin-bottom: 8px;
  color: #333;
  text-decoration: none;
  font-size: 0.9em;
}
.footer-section a:hover {
  text-decoration: underline;
}
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.2em;
}
.app-store-links img {
  height: 40px;
  margin-right: 10px;
}
.payment-icons img {
  height: 30px;
  margin-right: 5px;
}
.copyright {
  text-align: center;
  width: 100%;
  margin-top: 20px;
  font-size: 0.85em;
}
footer #info {
  text-align: center;
  line-height: 25px;
}
@media (max-width: 768px) {
  footer {
    text-align: center;
    font-size: 1.3rem;
  }
  nav h2 {
    position: relative;
    top: 1.5vh;
  }
  #coTitle {
    top: 0;
  }
}
@media screen and (max-width: 480px) {
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
  }
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {
    float: none;
  }
  .topnav.responsive .dropdown-content {
    position: relative;
  }
  .topnav.responsive .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}
@media screen and (max-width: 480px) {
  .topnav.responsive {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {
    float: none;
  }
  .topnav.responsive .dropdown-content {
    position: relative;
  }
  .topnav.responsive .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

.banner img {
  height: 300px;
  object-fit: cover;
}
