* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Be Vietnam Pro", sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title.left {
  text-align: left;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 12px;
  color: #0f172a;
}

.section-title p {
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

.section-title.left p {
  margin: 0;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-outline {
  border: 2px solid #cbd5e1;
  color: #0f172a;
  background: white;
}

.btn-outline:hover {
  background: #f1f5f9;
}

.btn-light {
  background: white;
  color: #0f172a;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
}

.logo span {
  color: #2563eb;
}

.menu {
  display: flex;
  gap: 30px;
}

.menu a {
  font-weight: 500;
  color: #334155;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: 0.3s;
}

.menu a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-btn,
.cart-btn,
.menu-toggle {
  border: none;
  background: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.menu-toggle {
  display: none;
}

.hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.12), transparent 30%),
    #f8fafc;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: 999px;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-text h1 {
  font-size: 54px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #0f172a;
}

.hero-text p {
  color: #64748b;
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
}

.hero-card img {
  height: 520px;
  object-fit: cover;
}

.floating-card {
  animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
}

.features {
  padding: 40px 0 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-box {
  background: white;
  padding: 28px 22px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: 0.3s ease;
  text-align: center;
}

.feature-box:hover {
  transform: translateY(-8px);
}

.feature-box .icon {
  font-size: 30px;
  margin-bottom: 12px;
}

.feature-box h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.feature-box p {
  color: #64748b;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.category-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.category-card img {
  height: 325px;
  object-fit: cover;
  transition: 0.5s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.72), transparent 50%);
  display: flex;
  align-items: end;
  padding: 24px;
  color: white;
  font-size: 24px;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
  transition: 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-thumb {
  position: relative;
  overflow: hidden;
}

.product-thumb img {
  height: 280px;
  object-fit: cover;
  transition: 0.4s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.06);
}

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.price {
  color: #2563eb;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.promo-box {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 30px;
  color: white;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.promo-box h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.about-image img {
  border-radius: 28px;
  height: 500px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.about-content ul {
  margin-top: 20px;
}

.about-content li {
  padding: 10px 0;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
}

.contact-form {
  background: white;
  padding: 35px;
  border-radius: 28px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  max-width: 850px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  font-size: 16px;
  outline: none;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2563eb;
}

.footer {
  background: #0f172a;
  color: #cbd5e1;
  margin-top: 20px;
}

.footer-grid {
  padding: 70px 0 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer h3,
.footer h4 {
  color: white;
  margin-bottom: 16px;
}

.footer li {
  margin-bottom: 10px;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #94a3b8;
}

/* Animation when scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-wrap,
  .about-grid,
  .feature-grid,
  .category-grid,
  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .promo-box {
    flex-direction: column;
    text-align: center;
  }

  .menu {
    position: absolute;
    top: 78px;
    right: 4%;
    width: 260px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    flex-direction: column;
    padding: 20px;
    display: none;
  }

  .menu.show {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 768px) {
  .hero-wrap,
  .feature-grid,
  .category-grid,
  .product-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-card img,
  .about-image img {
    height: 360px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .promo-box h2 {
    font-size: 26px;
  }
}

.page-banner {
  padding: 70px 0;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  text-align: center;
}

.page-banner h1 {
  font-size: 42px;
  color: #0f172a;
  margin-bottom: 10px;
}

.page-banner p {
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

.product-list-page {
  padding: 70px 0;
}

.product-list-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}

.product-sidebar {
  position: sticky;
  top: 100px;
}

.filter-box {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.filter-box h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #0f172a;
}

.filter-box input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  outline: none;
}

.filter-box ul li {
  margin-bottom: 12px;
}

.filter-box ul li a {
  color: #475569;
  transition: 0.3s;
}

.filter-box ul li a:hover {
  color: #2563eb;
  padding-left: 4px;
}

.product-toolbar {
  background: #fff;
  border-radius: 22px;
  padding: 18px 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 20px;
}

.product-toolbar p {
  color: #475569;
  font-weight: 500;
}

.product-toolbar select {
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  outline: none;
  background: #fff;
}

.product-grid-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 35px;
}

.pagination a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  font-weight: 600;
  transition: 0.3s;
}

.pagination a:hover,
.pagination a.active {
  background: #2563eb;
  color: #fff;
}

@media (max-width: 991px) {
  .product-list-wrap {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    position: static;
  }

  .product-grid-page {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-banner h1 {
    font-size: 30px;
  }

  .product-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .product-grid-page {
    grid-template-columns: 1fr;
  }
}


.footer ul{
    padding-left: 0;
}



