* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.main-content {
  display: none;
  padding: 20px;
  text-align: center;
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1d2671, #c33764);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 55px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.logo img {
  width: 140px;
  height: auto;
  filter: brightness(0) invert(1);
  
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ffde59;
}

.loginbtn {
  background: #ffffff;
  color: #c33764;
  border: none;
  outline: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.loginbtn:hover {
  background: #ffde59;
  color: #1d2671;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.menu-icon {
  display: none;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    flex-direction: column;
    align-items: center;
    width: 220px;
    height: 0;
    overflow: hidden;
    padding-left: 32px;
    border-radius: 0 0 0 12px;
    transition: height 0.4s ease;
    gap: 25px;
  }

  .nav-links.open {
    height: 510px;
    width: 100%;
    padding-top: 18px;
  }

  .nav-links li {
    margin-bottom: 16px;
  }

  .loginbtn {
    margin-bottom: 16px;
  }
}


/* section hero */

.product-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 10%;
  background: url('./image/back1.webp') center center / cover no-repeat fixed;
  flex-wrap: wrap;
  gap: 40px;
}


.hero-content {
  flex: 1;
  max-width: 550px;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  color: white;
  line-height: 1.7;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background-color: #4a90e2;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s ease;
}

.btn-primary i {
  margin-right: 8px;
}

.btn-primary:hover {
  background-color: #357ac8;
}


.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  width: 480px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  object-fit: contain;
}


@media (max-width: 900px) {
  .product-hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 60px 5%;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-image img {
    width: 100%;
    max-width: 400px;
  }
}


/* section product */

.product-details {
  width: 100%;
  padding: 80px 0;
  background-color: #f8f9fa;
}

.product-content {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.product-content.reverse {
  flex-direction: row-reverse;
}


.product-image {
  flex: 1;
  text-align: center;
}

.product-image img {
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.product-image img:hover {
  transform: scale(1.05);
}


.product-info {
  flex: 1;
  text-align: center;
}

.product-info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.product-info .tagline,
.product-info .short-desc {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
}


.price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.current-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #007bff;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 1rem;
}

.discount {
  background-color: #28a745;
  color: #fff;
  font-size: 0.9rem;
  padding: 3px 10px;
  border-radius: 12px;
}


.description {
  font-size: 1rem;
  color: #444;
  margin-bottom: 25px;
  line-height: 1.6;
}

.features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: inline-block;
  text-align: left;
}

.features li {
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
}

.features i {
  color: #007bff;
  margin-right: 10px;
}


.product-buttons,
.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary {
  background-color: #007bff;
  color: #fff;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-secondary {
  background-color: #e9ecef;
  color: #333;
}

.btn-secondary:hover {
  background-color: #d6d8db;
}


@media (max-width: 900px) {
  .product-content,
  .product-content.reverse {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .product-image img {
    max-width: 300px;
  }

  .features {
    text-align: center;
  }
}


/* Features */
.features {
  list-style: none;
  margin-bottom: 30px;
}

.features li {
  font-size: 15px;
  color: #444;
  margin-bottom: 10px;
}

.features li i {
  color: #4a90e2;
  margin-right: 10px;
}


.buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #4a90e2;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background-color: #357ac8;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #f1f1f1;
  color: #333;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-secondary:hover {
  background-color: #ddd;
}


@media (max-width: 900px) {
  .product-content,
  .product-content.reverse {
    flex-direction: column;
    text-align: center;
  }

  .product-info {
    text-align: center;
  }

  .buttons {
    justify-content: center;
  }

  .product-image img {
    width: 100%;
    height: auto;
  }
}


/* section laptops */

.laptops {
    background: white;
    padding-top: 150px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #1d2671;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-box {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding: 20px;
    text-align: center;
    overflow: hidden;
}

.product-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.product-box img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-name {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.price {
    font-size: 17px;
    color: #c33764;
    font-weight: 700;
    margin-bottom: 8px;
}

.review {
    color: #ffb400;
    font-size: 16px;
}

.pro-btn {
    margin-top: 10px;
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, red, blue);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s ease;
}

.pro-btn:hover {
   opacity: 0.85;
}

@media (max-width: 992px) {
  .product-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .product-box img {
    height: 160px;
  }

  .product-name {
    font-size: 17px;
  }

  .price {
    font-size: 16px;
  }
}


@media (max-width: 600px) {
  .product-container {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 15px;
  }

  .product-box {
    padding: 15px;
  }

  .product-box img {
    height: 150px;
  }

  .product-name {
    font-size: 16px;
  }

  .price {
    font-size: 15px;
  }

  .pro-btn {
    font-size: 13px;
    padding: 7px 14px;
  }

  h1 {
    font-size: 24px;
  }
}
/* sectiion footer */

.footer {
  background: url('./image/footer.avif') center center / cover no-repeat fixed;
  color: #f1f5f9;
  padding: 80px 20px 30px;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.comlogo {
  width: 160px;        
  height: auto;        
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}



.comlogo:hover {
  transform: scale(1.05);
  filter: brightness(0) saturate(100%) invert(29%) sepia(90%) saturate(3000%) hue-rotate(210deg) brightness(100%) contrast(100%);
}


.footer-about h3 {
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-about p {
  color: white;
  font-size: 15px;
  line-height: 1.8;
}


.footer-links h4,
.footer-support h4,
.footer-contact h4 {
  font-size: 18px;
  color: white;
  margin-bottom: 15px;
  position: relative;
}

.footer-links h4::after,
.footer-support h4::after,
.footer-contact h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #0f62fe, #2563eb);
  margin-top: 6px;
  border-radius: 2px;
}

.footer-links ul,
.footer-support ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-support li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-support a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 16 px;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-support a:hover {
  color: #00ff44;
}


.footer-contact p {
  color: white;
  font-size: 16px;
  margin-bottom: 8px;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #1e293b;
  text-decoration: none;
  color: #ffffff;
  margin-right: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #0f62fe;
  transform: translateY(-3px);
}


.footer-bottom {
  text-align: center;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 13px;
}


@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .social-icons a {
    margin: 8px;
  }

  .footer-links h4::after,
  .footer-support h4::after,
  .footer-contact h4::after {
  display: none;
}
}










