:root {
  --primary-color: #ff5722;
  --secondary-color: #ffffff;
  --bg-color: #f9f9f9;
  --accent-color: #faf201;
  --hover-color: #e64a19;
  --card-bg: #fff;
  --a-color: #ff7300;
}

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

a {
  text-decoration: none;
  color: var(--bg-color);
}

body {
  font-family: sans-serif;
  background-color: var(--bg-color);
}


a {
  text-decoration: none;
  color: var(--a-color);
}


/* হিরো সেকশন */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  background: linear-gradient(135deg, rgba(255,87,34,0.9), rgba(230,74,25,0.8)), url('/img/login-bac.jpg') center/cover no-repeat;
  color: var(--secondary-color);
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.hero-desc {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
  color: #222;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.shop-btn {
  background: var(--accent-color);
  color: #222;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.shop-btn:hover {
  background: var(--hover-color);
  color: var(--secondary-color);
}

/* Hero CTA & badges */
.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.outline-btn {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.8);
  padding: 0.8rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.outline-btn:hover {
  background: #ffffff;
  color: var(--primary-color);
}

.hero-badges {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Home features */
.home-features {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  text-align: center;
}

.feature-card i {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  margin-bottom: 0.25rem;
}

.feature-card p {
  color: #555;
}

/* Home products */
.home-products {
  max-width: 1100px;
  margin: 0 auto 2rem auto;
  padding: 0 1rem;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-title {
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.view-all {
  color: var(--primary-color);
  font-weight: 600;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.product-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.product-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: #f5f5f5;
  display: grid;
  place-items: center;
}

.product-thumb img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.pc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--success-color, #10b981);
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.pc-badge.danger {
  background: var(--danger-color, #ef4444);
}

.pc-info {
  padding: 0.9rem 1rem 1.1rem;
}

.pc-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #222;
}

.pc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #444;
}

.pc-meta .price {
  color: var(--primary-color);
  font-weight: 700;
}

.pc-meta .rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* আমাদের সম্পর্কে ও যোগাযোগ সেকশন */
.about-section,
.contact-section {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-section h2,
.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.about-section p,
.contact-section p {
  margin-top: 1rem;
  color: #333;
}

.foter-fast {
  display: none;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 2rem;
  }

  .about-section,
  .contact-section {
    padding: 2rem 0.5rem;
    max-width: 98vw;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 40vh;
    padding: 2rem 0.5rem;
  }

  .hero h1 {
    font-size: 1.3rem;
  }

  .hero-desc {
    font-size: 1rem;
    padding: 0.7rem 0.5rem;
    max-width: 98vw;
  }

  .shop-btn {
    width: 100%;
    font-size: 1rem;
    padding: 0.7rem 0;
  }
  .outline-btn {
    width: 100%;
    text-align: center;
  }

  .about-section,
  .contact-section {
    padding: 1.2rem 0.2rem;
    max-width: 100vw;
  }

  .foter-fast {
    flex-direction: column;
  }
}

/* Footer Styles */
footer {
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: start;
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-info a {
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.footer-info a:hover {
  color: var(--secondary-color);
}

.quick-links h4,
.social-links h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.quick-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quick-links ul li a {
  color: var(--secondary-color);
  transition: color 0.3s ease;
  display: inline-block;
}

.quick-links ul li a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--secondary-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Social Media Icon Colors */
.social-icon.facebook:hover {
  background: #1877f2;
  color: white;
}

.social-icon.whatsapp:hover {
  background: #25d366;
  color: white;
}

.social-icon.messenger:hover {
  background: #0084ff;
  color: white;
}

.social-icon.phone:hover {
  background: #4caf50;
  color: white;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .quick-links ul {
    align-items: center;
  }
  
  .quick-links ul li a:hover {
    transform: translateX(0) translateY(-2px);
  }
}

@media (max-width: 480px) {
  footer {
    padding: 1.5rem 0.5rem;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .social-icons {
    gap: 0.8rem;
  }
}