* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("./image/pink.webp") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 2rem;
  color: #333;
  z-index: 9999;
}

.loading-text {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.main-content {
  display: none;
  padding: 20px;
  text-align: center;
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1d2671, #c33764);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 55px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.logo img {
  width: 140px;
  height: auto;
  filter: brightness(0) invert(1);
  
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ffde59;
}

.loginbtn {
  background: #ffffff;
  color: #c33764;
  border: none;
  outline: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.loginbtn:hover {
  background: #ffde59;
  color: #1d2671;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.menu-icon {
  display: none;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 70px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  list-style: none;
  padding: 10px 0;
  z-index: 1001;
}


.dropdown-menu li a {
  display: block;
  text-align: center;
  /* padding: 10px 20px; */
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
  color: #f1c40f;
  border-radius: 5px;
}


.dropdown:hover .dropdown-menu {
  display: block;
}

#homeLink {
  display: inline-block;
  transition: transform 0.3s ease;
}

.dropdown:hover #homeLink {
  transform: rotate(180deg);
}


@media (max-width: 900px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    flex-direction: column;
    align-items: center;
    width: 220px;
    height: 0;
    overflow: hidden;
    padding-left: 32px;
    border-radius: 0 0 0 12px;
    transition: height 0.4s ease;
    gap: 25px;
  }

  .nav-links.open {
    height: 510px;
    width: 100%;
    padding-top: 18px;
  }

  .nav-links li {
    margin-bottom: 16px;
  }

  .loginbtn {
    margin-bottom: 16px;
  }
}


/* section main */

.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh; 
  text-align: center;
  padding: 0 10%;
  color: #ffffff;

  background: linear-gradient(rgba(111, 111, 180, 0.6), rgba(99, 99, 155, 0.6)),
              url('./image/hom2.webp') center/cover no-repeat;
  background-attachment: fixed; 
}

.main h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
  animation: fadeInDown 1s ease-in-out;
}

.main p {
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f1f1f1;
  animation: fadeInUp 1.3s ease-in-out;
}

.btn-primary {
  display: inline-block;
  background: #4a90e2;
  color: white;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background: #357abd;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transform: scale(1.05);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .main h1 {
    font-size: 34px;
  }

  .main p {
    font-size: 16px;
  }

  .btn-primary {
    padding: 10px 25px;
  }
}


/* section category */


.categories {
  padding: 80px 10%;
  background-color: #f9f9f9;
  text-align: center;
}

.categories h2 {
  font-size: 36px;
  color: #222;
  margin-bottom: 50px;
  font-weight: 700;
}


.category-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
}


.category-box {
  background: #ffffff;
  width: 220px;      
  height: 280px;    
  border-radius: 12px;
  padding: 20px 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.category-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #4a90e2, #5f2c82);
  color: #fff;
}


.category-box img {
  width: 100px;     
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}


.category-box h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
  transition: color 0.3s;
}

.category-box p {
  font-size: 15px;
  color: #777;
  transition: color 0.3s;
}


.category-box:hover h3,
.category-box:hover p {
  color: #fff;
}

@media (max-width: 768px) {
  .categories {
    padding: 60px 5%;
  }

  .categories h2 {
    font-size: 28px;
  }

  .category-box {
    width: 180px;
    height: 250px;
  }

  .category-box img {
    width: 80px;
    height: 80px;
  }
}

/* section main */

.about {
  padding: 80px 10%;
  background: url('./image/home2bg.webp') center center / cover no-repeat fixed;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}


.about-text {
  flex: 1;
  max-width: 550px;
}

.about-text h2 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-text ul {
  list-style: none;
  margin-bottom: 25px;
}

.about-text ul li {
  font-size: 15px;
  color: #444;
  margin-bottom: 10px;
}

.about-text ul li i {
  color: #4a90e2;
  margin-right: 10px;
}

.btn-primary {
  display: inline-block;
  padding: 10px 25px;
  background-color: #4a90e2;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background-color: #357ac8;
}


.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  width: 480px;
  height: 350px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}


@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    max-width: 100%;
  }

  .about-image img {
    width: 100%;
    height: auto;
  }
}


/* section trending */


.trending-products {
  padding: 80px 10%;
  background: #f8f8f8;
  text-align: center;
}

.trending-products h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #333;
}


.product-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  justify-items: center;
}


.product-box {
  position: relative;
  width: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s ease;
  text-align: center;
}

.product-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


.discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff3e6c;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 5px;
}


.product-box img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 10px;
}

.product-box h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.price {
  margin-bottom: 10px;
}

.new-price {
  color: #27ae60;
  font-weight: 600;
  margin-right: 8px;
}

.old-price {
  color: #999;
  text-decoration: line-through;
  font-size: 14px;
}


.icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.icons i {
  font-size: 18px;
  color: #555;
  cursor: pointer;
  transition: 0.3s ease;
}

.icons i:hover {
  color: #4a90e2;
  transform: scale(1.2);
}


@media (max-width: 768px) {
  .trending-products h2 {
    font-size: 28px;
  }
  .product-box {
    width: 180px;
  }
  .product-box img {
    width: 120px;
    height: 120px;
  }
}


/* section testimonials */

.testimonials {
  padding: 80px 10%;
  background: url('./image/home2bg.webp') center center / cover no-repeat fixed;
  text-align: center;
}

.testimonials h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #333;
}

.testimonial-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.testimonial-box {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.testimonial-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.testimonial-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.testimonial-box p {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}


.testimonial-box h4 {
  font-size: 16px;
  color: #222;
  margin-bottom: 10px;
}


.stars i {
  color: #f5b50a;
  margin: 0 2px;
}

@media (max-width: 768px) {
  .testimonials h2 {
    font-size: 28px;
  }

  .testimonial-box {
    padding: 25px 15px;
  }
}




/* sectiion footer */

.footer {
  background: url('./image/footer.avif') center center / cover no-repeat fixed;
  color: #f1f5f9;
  padding: 80px 20px 30px;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.comlogo {
  width: 160px;        
  height: auto;        
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}



.comlogo:hover {
  transform: scale(1.05);
  filter: brightness(0) saturate(100%) invert(29%) sepia(90%) saturate(3000%) hue-rotate(210deg) brightness(100%) contrast(100%);
}


.footer-about h3 {
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-about p {
  color: white;
  font-size: 15px;
  line-height: 1.8;
}


.footer-links h4,
.footer-support h4,
.footer-contact h4 {
  font-size: 18px;
  color: white;
  margin-bottom: 15px;
  position: relative;
}

.footer-links h4::after,
.footer-support h4::after,
.footer-contact h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #0f62fe, #2563eb);
  margin-top: 6px;
  border-radius: 2px;
}

.footer-links ul,
.footer-support ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-support li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-support a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 16 px;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-support a:hover {
  color: #00ff44;
}


.footer-contact p {
  color: white;
  font-size: 16px;
  margin-bottom: 8px;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #1e293b;
  text-decoration: none;
  color: #ffffff;
  margin-right: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #0f62fe;
  transform: translateY(-3px);
}


.footer-bottom {
  text-align: center;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 13px;
}


@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .social-icons a {
    margin: 8px;
  }

  .footer-links h4::after,
  .footer-support h4::after,
  .footer-contact h4::after {
  display: none;
}
}










