* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    background: #f9fafc;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1;
}

/* Header Styles */
header {
 background: #ffffff;
 padding: 0.6rem 2rem;
 position: fixed;
 width: 100%;
 top: 0;
 z-index: 1000;
 display: flex;
 align-items: center;
 justify-content: space-between;
 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 transition: box-shadow 0.3s ease;
}

header.active {
 box-shadow: none; /* Remove shadow when menu opens */
}

.logo {
 display: inline-block;
}

.logo-link {
 text-decoration: none;
 display: inline-block; /* Restrict clickable area to text */
}

.logo h1 {
 font-size: 2rem;
 color: #007aff; /* iOS-inspired blue */
 font-weight: 600;
 transition: color 0.3s ease;
}

.logo h1:hover {
 color: #ff3b30; /* Vibrant red */
}

.menu-toggle {
 font-size: 1.8rem;
 color: #007aff;
 cursor: pointer;
 display: none; /* Hidden on desktop */
 transition: color 0.3s ease;
}

.menu-toggle:hover {
 color: #ff3b30;
}

.nav-menu {
 position: relative;
}

/* Remove separator for desktop */
@media (min-width: 769px) {
 .nav-menu::before {
 display: none; /* Remove blue line in desktop */
 }
}

nav ul.menu {
 list-style: none;
 display: flex;
 align-items: center;
}

nav ul.menu li {
 margin: 0 0.5rem;
}

nav ul.menu li a {
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s, background 0.3s;
}

nav ul.menu li a:hover {
 color: #007aff;
 background: #f1f5ff;
 border-radius: 8px;
}      

/* Hero Section */
.hero {
 text-align: center;
 padding: 100px 2rem 50px;
 background: linear-gradient(to bottom, #f9fafc, #ffffff);
 color: #333;
 animation: fadeIn 1s ease-in;
}

.hero h1 {
 font-size: 2.5rem;
 margin-bottom: 1rem;
 color: #007aff;
}

/* Content Section (for About, Policy, Contact) */
.content {
 max-width: 900px;
 margin: 0 auto;
 padding: 100px 1rem 2rem;
 text-align: left;
 background: #ffffff;
 border-radius: 12px;
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
 animation: fadeIn 1s ease-in;
}

.content h1 {
 font-size: 2.2rem;
 color: #007aff;
 margin-bottom: 1rem;
}

.content p {
 font-size: 1rem;
 color: #666;
 margin-bottom: 1rem;
}

.content ul {
 list-style: none;
 padding: 0;
 margin: 1rem 0;
}

.content ul li {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 margin: 0.5rem 0;
 font-size: 1rem;
 color: #666;
}

.content ul li i {
 color: #007aff;
}

.content .contact-form {
 margin-top: 1.5rem;
}

.content .contact-form label {
 display: block;
 font-size: 1rem;
 color: #333;
 margin-bottom: 0.5rem;
}

.content .contact-form input,
.content .contact-form textarea {
 width: 100%;
 padding: 0.8rem;
 margin-bottom: 1rem;
 border: 1px solid #ddd;
 border-radius: 8px;
 font-size: 1rem;
 color: #333;
}

.content .contact-form button {
 background: #007aff;
 color: #ffffff;
 padding: 0.8rem 2rem;
 border: none;
 border-radius: 25px;
 font-size: 1.1rem;
 cursor: pointer;
 transition: background 0.3s, transform 0.3s;
}

.content .contact-form button:hover {
 background: #005bb5;
 transform: scale(1.05);
}

/* Product List */
.product-list {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
 padding: 1rem;
}

.product-card {
 background: #ffffff;
 border-radius: 12px;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
 padding: 1rem;
 text-align: center;
 transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
 transform: translateY(-5px);
 box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-card img {
 width: 100%;
 height: auto;
 max-width: 1280px;
 aspect-ratio: 1280 / 720;
 border-radius: 8px;
 object-fit: cover;
}

.product-card h3 {
 font-size: 1.2rem;
 margin: 0.5rem 0;
 color: #007aff;
}

.product-card p {
 color: #666;
}

.product-card a {
 display: inline-block;
 background: #007aff;
 color: #ffffff;
 padding: 0.5rem 1rem;
 border-radius: 8px;
 text-decoration: none;
 margin-top: 0.8rem;
 transition: background 0.3s, transform 0.3s;
}

.product-card a:hover {
 background: #005bb5;
 transform: scale(1.05);
}

/* Load More Button */
.load-more-container {
 text-align: center;
 padding: 1rem 2rem;
}

.load-more {
 background: #007aff;
 color: #ffffff;
 padding: 0.8rem 2rem;
 border: none;
 border-radius: 25px;
 font-size: 1.1rem;
 cursor: pointer;
 transition: background 0.3s, transform 0.3s;
}

.load-more:hover {
 background: #005bb5;
 transform: scale(1.05);
}

.load-more.hidden {
 display: none;
}

/* Product Details */
.product-details {
 padding: 100px 1rem 2rem;
 text-align: center;
 max-width: 900px;
 margin: 0 auto;
 animation: fadeIn 1s ease-in;
}

.product-details .product-title {
 font-size: 2.2rem;
 margin-bottom: 1rem;
 color: #007aff;
 font-weight: 600;
}

.product-details .product-img {
 width: 100%;
 height: auto;
 max-width: 1280px;
 aspect-ratio: 1280 / 720;
 border-radius: 12px;
 margin-bottom: 1.5rem;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 object-fit: cover;
}

.product-details .product-overview {
 background: #ffffff;
 padding: 1rem;
 border-radius: 12px;
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
 margin-bottom: 1.5rem;
}

.product-details .product-subtitle {
 font-size: 1.5rem;
 margin: 0.5rem 0;
 color: #ff3b30;
 font-weight: 500;
}

.product-details .product-price {
 font-size: 1.2rem;
 margin: 0.5rem 0;
 color: #333;
 font-weight: 600;
}

.product-details .product-text {
 font-size: 1rem;
 color: #666;
 max-width: 600px;
 margin: 0 auto;
}

.product-details .product-description {
 background: #ffffff;
 padding: 1rem;
 border-radius: 12px;
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
 margin-bottom: 1.5rem;
 text-align: center;
}

.product-details .description-title {
 font-size: 1.3rem;
 color: #007aff;
 margin-bottom: 1rem;
}

.product-details .feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.product-details .feature-list li {
  text-align: center;
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-details .feature-list li i {
  color: #007aff; /* সবুজ রঙের টিক */
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.product-details .description-text {
 font-size: 1rem;
 color: #666;
 font-style: italic;
 max-width: 600px;
 margin: 0 auto;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 59, 48, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}

.product-details .order-now {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ff3b30;
  color: #ffffff;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  margin-top: 1.5rem;
  margin-bottom: 6.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.3s, transform 0.3s;
  animation: pulseGlow 2.5s infinite;
}

.product-details .order-now:hover {
  background: #d32f2f;
  transform: scale(1.05);
}

/* Footer */
footer {
    background: #ffffff;
    color: #333;
    text-align: center;
    padding: 0.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

footer .social a {
 color: #007aff;
 margin: 0 0.5rem;
 font-size: 1.5rem;
 transition: color 0.3s;
}

footer .social a:hover {
 color: #ff3b30;
}

/* Animations */
@keyframes fadeIn {
 from { opacity: 0; transform: translateY(20px); }
 to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromTop {
 from { opacity: 0; transform: translateY(-20px); }
 to { opacity: 1; transform: translateY(0); }
}


/* 404 Page Button */
.back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #007aff;
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background 0.3s, transform 0.3s;
}

.back-home:hover {
    background: #005bb5;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
 header {
 padding: 1.9rem 2rem;
 justify-content: space-between;
 position: relative;
 }

 .menu-toggle {
 display: block; /* Show on mobile */
 order: 1; /* Left side */
 position: absolute;
 left: 1.5rem;
 }

 .nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  padding: 0.1rem 1rem;
  animation: slideInFromTop 0.4s ease-out;

  /* নিচের দিকে shadow */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  /* নিচের দুই কোণে রাউন্ড শেপ */
  border-bottom-left-radius: 0.7rem;
  border-bottom-right-radius: 0.7rem;
}

 .nav-menu.active {
 display: block;
 }

 nav ul.menu {
 flex-direction: column;
 align-items: flex-start;
 }

 nav ul.menu li {
 margin: 0.5rem 0;
 }

 nav ul.menu li a {
 padding: 0.5rem 0.5rem;
 width: 100%;
 justify-content: flex-start;
 }

 .logo {
 order: 2; /* Center */
 flex: 1;
 text-align: center;
 position: absolute;
 left: 50%;
 transform: translateX(-50%);
 }

 .logo h1 {
 font-size: 1.5rem;
 }

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

 .content h1 {
 font-size: 1.8rem;
 }

 .product-details .product-title {
 font-size: 1.8rem;
 }

 .product-details .product-subtitle {
 font-size: 1.3rem;
 }

 .product-details .product-img {
 max-width: 100%;
 }
}