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

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7fb;
  color: #222;
}

html {
  scroll-behavior: smooth;
}

header {
  width: 100%;
  background: #0f172a;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #38bdf8;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  min-height: 90vh;
  background: linear-gradient(rgba(15,23,42,0.7), rgba(15,23,42,0.7)),
  url('https://images.unsplash.com/photo-1472851294608-062f824d29cc?q=80&w=1600&auto=format&fit=crop') center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero-content {
  max-width: 700px;
  color: #fff;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: #38bdf8;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #0ea5e9;
}

.btn.secondary {
  background: transparent;
  color: #0f172a;
  border: 2px solid #0ea5e9;
  padding: 12px 24px;
}

.btn.secondary:hover {
  background: #0ea5e9;
  color: #fff;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 70px 8%;
}

.feature-box {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-box i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #0ea5e9;
}

.products {
  padding: 80px 8%;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-card h3,
.product-card p {
  padding: 0 20px;
}

.product-card h3 {
  margin-top: 20px;
}

.product-card p {
  margin: 12px 0;
  font-weight: 600;
  color: #0ea5e9;
}

.product-card button {
  margin: 20px;
  width: calc(100% - 40px);
  padding: 12px;
  border: none;
  background: #0f172a;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.product-card button:hover {
  background: #0ea5e9;
}

.about {
  padding: 80px 8%;
  background: #fff;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
}

.contact {
  padding: 80px 8%;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-info {
  background: #0f172a;
  color: #fff;
  padding: 40px;
  border-radius: 16px;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-info i {
  margin-right: 10px;
  color: #38bdf8;
}

.social-links {
  margin-top: 30px;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background: #1e293b;
  color: #fff;
  border-radius: 50%;
  margin-right: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.social-links a:hover {
  background: #38bdf8;
}

form {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

form input,
form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
}

form button {
  width: 100%;
  padding: 14px;
  border: none;
  background: #0ea5e9;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #0284c7;
}

footer {
  background: #0f172a;
  color: #fff;
  text-align: center;
  padding: 25px;
}

@media(max-width: 768px) {

  nav {
    position: absolute;
    top: 80px;
    right: -100%;
    width: 250px;
    background: #0f172a;
    transition: 0.3s;
    padding: 20px;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}

/* Chatbot styles */
.chatbot {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2000;
  font-family: inherit;
}

.chatbot-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #0ea5e9;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(2,6,23,0.2);
  cursor: pointer;
}

.chatbot-window {
  width: 340px;
  max-width: calc(100vw - 40px);
  height: 460px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.2);
  overflow: hidden;
  margin-bottom: 12px;
  display: none;
  flex-direction: column;
}

.chatbot-header {
  background: #0f172a;
  color: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-messages {
  padding: 14px;
  height: calc(100% - 120px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f7fafc;
}

.chatbot-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #eee;
  background: #fff;
}

.chatbot-form input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.chatbot-form button {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  background: #0ea5e9;
  color: #fff;
  cursor: pointer;
}

.msg { max-width: 80%; padding: 10px 12px; border-radius: 12px; }
.msg.user { align-self: flex-end; background: #0f172a; color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: #e6f6ff; color: #022b3a; border-bottom-left-radius: 4px; }

@media (max-width: 480px) {
  .chatbot-window { width: 92vw; height: 60vh; }
  .chatbot-toggle { width: 48px; height: 48px; }
}

/* Team section */
.team-section {
  padding: 80px 8%;
  background: #f8fafc;
}

.team-section .section-title p {
  margin-top: 8px;
  color: #475569;
  font-weight: 500;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.team-card {
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(2,6,23,0.06);
}

.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
}

.team-card .role {
  color: #0ea5e9;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Cart styles */
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-link { color: #fff; position: relative; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.cart-link i { font-size: 1.2rem; }
.cart-link #cart-count { background: #ef4444; color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 0.8rem; }

.cart-page { padding: 60px 8%; }
.cart-container { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.cart-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; padding: 14px; border-radius: 12px; box-shadow: 0 6px 18px rgba(2,6,23,0.06); margin-bottom: 12px; }
.cart-item { display: flex; gap: 12px; align-items: center; }
.cart-item img { width: 90px; height: 70px; object-fit: cover; border-radius: 8px; }
.cart-item-info { display: flex; flex-direction: column; }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.cart-qty button { padding: 6px 10px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; cursor: pointer; }
.cart-qty .qty-value { min-width: 28px; text-align: center; display: inline-block; }
.cart-remove button { background: transparent; border: none; color: #ef4444; cursor: pointer; }

.cart-summary { background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 6px 18px rgba(2,6,23,0.06); height: fit-content; }
.cart-summary h3 { margin-bottom: 12px; }

@media (max-width: 900px) {
  .cart-container { grid-template-columns: 1fr; }
}
