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

    body {
      font-family: Arial, sans-serif;
    }

    header {
      height: 500px;
      background: url("electronic store home.jpg") no-repeat center center/cover;
      position: relative;
    }

    header::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.6);
      z-index: 1;
    }

    nav {
      width: 100%;
      padding: 20px 30px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      z-index: 3;
    }

    .logo {
      color: #00ffe7;
      font-size: 1.8rem;
      font-weight: bold;
    }

    .nav-links {
      display: flex;
      gap: 30px;
    }

    .nav-links a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      position: relative;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background-color: #00ffe7;
      transition: 0.3s;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      z-index: 6;
      width: 30px;
      height: 22px;
      justify-content: space-between;
    }

    .hamburger span {
      height: 3px;
      width: 100%;
      background: white;
      border-radius: 2px;
      transition: 0.4s;
    }

    /* Animation for X icon */
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      text-align: center;
      z-index: 2;
    }

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

    .hero-content p {
      font-size: 1.2rem;
      color: #ccc;
    }

    .hero-content button {
      margin-top: 20px;
      padding: 12px 30px;
      font-size: 1rem;
      border: none;
      border-radius: 30px;
      background: #00ffe7;
      color: #000;
      cursor: pointer;
      transition: 0.3s;
    }

    .hero-content button:hover {
      background: #00c9b7;
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        z-index: 5;
      }

      .nav-links.active {
        display: flex;
      }

      .hamburger {
        display: flex;
      }
    }
   
    /*about section*/
    
    .about-us {
  background-color: #666;
  padding: 50px 20px;
  text-align: center;
  margin-top: 60px;
  color: #111;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
}

.about-us h2 {
  font-size: 32px;
  color: #00ffe7; /* Accent color for heading */
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-us p {
  font-size: 16px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 15px;
}
    
    /*promotion section*/
    .promo-section {
  padding: 3rem 1rem;
  background: #f4f7fc;
  text-align: center;
  margin-top: 60px;
}

.promo-section h2 {
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 2rem;
}

.promo-banner {
  background: linear-gradient(135deg, #00c9b7, #007bff);
  color: #fff;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.promo-banner h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.promo-banner p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.promo-banner a {
  text-decoration: none;
  background: #fff;
  color: #007bff;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.promo-banner a:hover {
  background: #e6e6e6;
}

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

.promo-card {
  background: #fff;
  border-left: 5px solid #007bff;
  padding: 1.2rem;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-5px);
}

.promo-card h4 {
  font-size: 1.3rem;
  color: #007bff;
  margin-bottom: 8px;
}

.promo-card p {
  color: #333;
  margin-bottom: 5px;
}

.promo-card span {
  font-size: 0.9rem;
  color: #999;
}

.timer {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 15px 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 16px;
  border-radius: 30px;
  display: inline-block;
}
    
    /* products section*/
    .featured-products {
    margin-top: 60px;
  padding: 60px 30px;
  background-color: #f7f7f7;
  text-align: center;
}

.featured-products h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 40px;
}

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

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

.product-card img {
  width: 100%;
  height: auto;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  color: #333;
  margin-bottom: 10px;
}

.product-info p {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.price {
  font-weight: bold;
  color: #00bfa6;
  display: block;
  margin-bottom: 15px;
}

.product-info button {
  padding: 10px 20px;
  background: #00ffe7;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.product-info button:hover {
  background: #00c9b7;
}
/*why choose us */
.why-choose-us {
  background-color: #0d0d0d;
  color: #eee;
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
}

.choose-container {
  max-width: 1000px;
  margin: auto;
}

.why-choose-us h2 {
  font-size: 32px;
  color: #00ffe7;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.reason {
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 20px;
  border-radius: 12px;
  width: 280px;
  transition: transform 0.3s ease, border-color 0.3s;
}

.reason:hover {
  transform: translateY(-5px);
  border-color: #00ffe7;
}

.reason h3 {
  color: #00ffe7;
  margin-bottom: 10px;
  font-size: 20px;
}

.reason p {
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
}

/* catagories*/

     .nav-bar {
      display: flex;
      margin-top: 60px;
    }

    .nav-btn {
      flex: 1;
      padding: 1rem;
      cursor: pointer;
      border: none;
      outline: none;
      background-color: #ccc;
      color: #000;
      font-size: 16px;
      transition: background 0.3s ease;
    }

    .nav-btn.active {
      color: #fff;
    }

    .section {
      padding: 2rem;
      color: #fff;
      transition: background 0.3s ease;
      text-align: center;
    }

    #images-container {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 1.5rem;
    }

    #images-container img {
      max-width: 200px;
      margin: 10px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    
    
    /* blog section*/
    /* General Styles */


h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Blog Section */
#blog-section {
  padding: 2rem;
  margin-top: 60px;
}

/* Featured Post */
.featured-post {
  display: flex;
  margin-bottom: 2rem;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.featured-image {
  width: 40%;
  object-fit: cover;
  border-radius: 8px 0 0 8px;
}

.featured-content {
  width: 60%;
  padding: 1rem;
}

.featured-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.featured-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.read-more-btn {
  font-size: 1rem;
  color: #007bff;
  text-decoration: none;
}

.read-more-btn:hover {
  text-decoration: underline;
}

/* Blog Post Grid */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.post {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post h4 {
  font-size: 1.5rem;
  margin: 1rem;
}

.post p {
  font-size: 1rem;
  margin: 0 1rem;
}

.read-more-btn {
  display: block;
  font-size: 1rem;
  color: #007bff;
  text-decoration: none;
  margin: 1rem;
}

.read-more-btn:hover {
  text-decoration: underline;
}

/* Sidebar */
.sidebar {
  margin-top: 2rem;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin-bottom: 0.5rem;
}

.sidebar ul li a {
  font-size: 1rem;
  color: #007bff;
  text-decoration: none;
}

.sidebar ul li a:hover {
  text-decoration: underline;
}

 /* contact section*/
 .contact-section {
  background-color: #0c0c0c;
  color: #f2f2f2;
  margin-top: 60px;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.contact-container {
  max-width: 1100px;
  margin: auto;
}

.contact-section h2 {
  font-size: 2.5rem;
  text-align: center;
  color: #00ffd5;
  margin-bottom: 10px;
}

.contact-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: #ccc;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.info-box {
  margin-bottom: 30px;
}

.info-box h3 {
  color: #00ffe7;
  margin-bottom: 8px;
  font-size: 18px;
}

.info-box p {
  margin: 0;
  font-size: 15px;
  color: #bbb;
}

.contact-map {
  flex: 2;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
}

/* footer */
.footer {
  background-color: #0b0b0b;
  color: #f0f0f0;
  padding: 60px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}

.footer-column h3, .footer-column h4 {
  color: #00ffd5;
  margin-bottom: 15px;
}

.footer-column p, .footer-column ul, .footer-column a {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #00ffd5;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  width: 24px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 13px;
  color: #777;
  border-top: 1px solid #333;
  margin-top: 40px;
}