/* === Global Styles === */
.ads{
  max-width:340px;
  width: 100%;   /* choose your ad size */
  height: 100px;  /* choose your ad size */ 
  display: flex;
  justify-self: center;
  overflow: hidden;  /* stops ads from expanding too big */
}

.toggle-name-btn,
.toggle-info-btn {
  width:5px;
  heght:5px:
  background: none;
  border: none;
  cursor: pointer;
  font-size: 6px;
  color: #00bfff;
  margin-left: 5px;
}

.toggle-name-btn:hover,
.toggle-info-btn:hover {
  transform: scale(1.2);
}


.c-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #007bff, #00e0ff);
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  position: fixed;
 bottom:30%;
  right:25px
  
}

.c-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.c-button:active {
  transform: scale(0.95);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

body {
  font-family: "Poppins", Arial, sans-serif;
  margin: 0;
  background-color:#E4F1FF;
  color: #eee;
  overflow-x: hidden;
  min-height: 100vh;
}

audio{
 width: 25px;
 position: fixed;
 bottom:20%;
 right:40px;
  color:black;
}

/*flex container */
 .flex{
display:flex:
  justify-items:center;
   align-items:center;
   gap:10px;
}

/* === Banner Header === */
.h1{

  animation: bannerGlow 5s infinite alternate;
   font-size:20px;
  color: #EFECE3;
  text-align: center;
  margin-top: 13px;

}



/* === Banner Image === */
.top-banner {
   width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  flex-direction: row;
  background: #687EFF;

}
/*image banner*/
.img{
  width:auto;
  height:auto;
  margin-top: 2px;
  margin-left: 10px;


}

@keyframes bannerGlow {
  from { box-shadow: 0 0 15px rgba(4, 78, 189, 0.5); }
  to { box-shadow: 0 0 40px rgba(4, 78, 189, 0.9); }
}

/* === Top Section (Search + Button) === */
#d1{
margin-top: 20px;
  display: flex;
  justify-self: center;
}

/* === Search Box === */
.search-box {
  border: 2px solid black;
  border-radius: 14px;
margin-right: 3px;
 margin-top: 2%;
}

.search-box:focus {
  box-shadow: 0 0 25px rgba(4, 78, 189, 0.8);
  transform: scale(1.03);
}

/* === Glowing Animated Button === */
button {
  position: relative;
  overflow: hidden;
  padding: 14px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background-color: #044ebd;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.3s ease;
}

button:hover {
  transform: translateY(-3px) scale(1.03);
}

button::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  border-radius: 14px;
  background: linear-gradient(120deg, #00bfff, #0ff, #0051ff, #00bfff);
  background-size: 300% 300%;
  animation: stream 3s linear infinite;
  z-index: 0;
  opacity: 0.8;
}

button span {
  position: relative;
  z-index: 2;
}

@keyframes stream {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === Product Grid === */
#product-list {
  display: grid;
  grid-template-row: repeat(2, 1fr);
  gap: 20px;
  padding: 16px;
}

@media (min-width: 768px) {
  #product-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  #product-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* === Product Cards === */
.product {
  position: relative; /* for profile pic positioning */
  background: #1a1a1a;
  border-radius: 16px;
  padding: 60px 18px 18px; /* extra top padding for profile */
  text-align: center;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(4, 78, 189, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(4, 78, 189, 0.6);
  border-color: #0a5cff;
}

.product h2 {
  font-size: 1.3rem;
  color: #6499E9;
  margin-bottom: 8px;
}

.product p {
  font-size: 1rem;
  color: #ccc;
  margin: 5px 0;
}

.product img {
  width: 70%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin: 12px 0;
  box-shadow: 0 0 20px rgba(4, 78, 189, 0.3);
  transition: transform 0.3s ease;
}

.product img:hover {
  transform: scale(1.05);
}

/* === Profile Picture inside Product === */


/* === Floating Info Icon === */
.info-icon {
  position: fixed;
  bottom: 10%;
  right: 25px;
  font-size: 32px;
  background: linear-gradient(145deg, #fff, #e0e0e0);
  color: #044ebd;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  text-align: center;
  line-height: 58px;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-icon:hover {
  transform: rotate(15deg) scale(1.1);
  box-shadow: 0 0 35px rgba(0, 153, 255, 0.9);
}

/* === Responsive Tweaks === */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  .top-section {
    flex-direction: column;
  }

  button {
    width: 80%;
  }
}

/* === Modal Styles === */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
}

#caption {
  margin: 15px auto;
  text-align: center;
  color: #fff;
  font-size: 16px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #ccc;
}













































































