* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Segoe UI;
}

body {
  background: #0f0f0f;
  color: white;
  min-height: 100vh;
}

/* TOPBAR */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 50px;
  background: #1a1a1a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
}

/* .topbar-login{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 50px;
background:#979494;
box-shadow:0 4px 15px rgba(0,0,0,0.5);
position:sticky;
top:0;
} */

.logo {
  font-weight: bold;
  color: #ff8c00;
}

.menu a {
  margin-left: 25px;
  text-decoration: none;
  color: #ddd;
  font-weight: 500;
  transition: 0.3s;
}

.menu a:hover {
  color: #ff8c00;
}

/* MAIN CARD */

.main-card {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.main-card-login {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
  background: #979494;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.main-card h1 {
  text-align: center;
  margin-bottom: 35px;
  color: #ff8c00;
}
.main-card-login h1 {
  text-align: center;
  margin-bottom: 35px;
  color: white;
}

/* PRODUCTS GRID */

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* PRODUCT CARD */

.card {
  background: #242424;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-8px);
  border-color: #ff8c00;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.card h3 {
  margin-top: 10px;
}

.card p {
  color: #ff8c00;
  font-weight: bold;
  margin: 8px 0;
}

.card button {
  border: none;
  background: #ff8c00;
  color: black;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.card button:hover {
  background: #ffa733;
}

/* MOBILE */

@media (max-width: 900px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }

  .topbar {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 500px) {
  .products {
    grid-template-columns: 1fr;
  }

  .main-card {
    padding: 45px;
  }
  .main-card h1 {
    font-size: 22px;
  }
  .main-card-login h1 {
    font-size: 22px;
  }
  .card {
    padding: 45px;
  }
}
body {
  font-family: Arial;
  background: #f4f4f4;
  margin: 0;
  padding: 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
  color: white;
  padding: 15px 30px;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

.navbar nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

.navbar nav a:hover {
  color: #f4c542;
}

/* mobile */

@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
  }

  .navbar nav a {
    margin: 0 10px;
  }
}

/* Cart Item */
body {
  font-family: Arial;
  background: #f4f4f4;
  margin: 0;
  padding: 20px;
}

.cart-box {
  max-width: 700px;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.info {
  flex: 1;
  margin-left: 15px;
}

.qty button {
  padding: 5px 10px;
  margin: 0 5px;
}

.right {
  text-align: right;
}

.remove {
  background: red;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

.total {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
}

.checkout {
  background: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 15px;
  cursor: pointer;
}
/* loggin page */
.login-box {
  width: 300px;
  margin: 50px auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-box input {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.login-box button {
  margin-top: 15px;
  width: 100%;
  padding: 10px;
  background: black;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
/* Welcome Banner*/
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #0f172a;
  color: white;
}

/* Banner */
.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  flex-wrap: wrap;
}

/* Text */
.banner-text {
  max-width: 500px;
  margin-bottom: -25px;
}

.banner-text-two h1 {
  font-size: 48px;
  margin-bottom: 10px;
}
.banner-text-two h3 {
  font-size: px;
  margin-bottom: 10px;
}

.banner-text-two p {
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 25px;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-text-two {
  max-width: 500px;
}

/* Screen */
/* .screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
} */

.btn {
  border-bottom: 60px;
  padding: 12px 28px;
  background: #3b82f6;
  border-radius: 30px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.btn:hover {
  background: #2d6cf4;
}

/* iPhone mockup */
.phone {
  width: 260px;
  height: 520px;
  border: 10px solid #111;
  border-radius: 40px;
  position: relative;
  background: black;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
}
.footer-text {
  color: #f97c07;
  text-align: center;
}

/* Responsive */
/* Base styles already apply for large screens (1200px+) */

/* Large screens (below 1200px) */
@media (max-width: 1200px) {
  .banner {
    padding: 50px 6%;
  }

  .banner-text h1 {
    font-size: 42px;
  }

  .phone {
    width: 240px;
    height: 480px;
  }
}

/* Tablets (below 992px) */
@media (max-width: 992px) {
  .banner {
    flex-direction: column;
    text-align: center;
  }

  .banner-text {
    max-width: 100%;
  }

  .banner-text h1 {
    font-size: 36px;
  }

  .phone {
    margin-top: 30px;
    width: 220px;
    height: 440px;
  }
}

/* Small tablets / large phones (below 768px) */
 @media (max-width: 768px) {
  .banner-text h1 {
    font-size: 30px;
  }

  .banner-text p {
    font-size: 16px;
  }

  .btn {
    padding: 10px 22px;
  }

  .phone {
    width: 200px;
    height: 400px;
  }
} 

/* Mobile phones (below 576px) */
/*@media (max-width: 576px) {*/
/*  .banner {*/
/*    padding: 30px 20px;*/
/*  }*/

/*  .banner-text h1 {*/
/*    font-size: 26px;*/
/*  }*/

/*  .banner-text p {*/
/*    font-size: 15px;*/
/*  }*/

/*  .phone {*/
/*    width: 170px;*/
/*    height: 340px;*/
/*  }*/
/*}*/

/* Extra small devices (below 400px) */
/*@media (max-width: 400px) {*/
/*  .text h1 {*/
/*    font-size: 22px;*/
/*  }*/

/*  .phone {*/
/*    width: 150px;*/
/*    height: 300px;*/
/*  }*/
/*  .footer-text {*/
/*    color: #f97c07;*/
/*    text-align: center;*/
/*  }*/
/*}*/
/* MOBILE VIEW */
@media (max-width: 576px) {

    .products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 10px;
    }

    .card {
        width: 100%;
        margin: 0;
    }

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

    .card h3 {
        font-size: 14px;
    }

    .card p {
        font-size: 13px;
    }

    .card button {
        width: 100%;
        font-size: 13px;
        padding: 8px;
    }

    .banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .banner-img img {
        width: 220px;
    }

    .navbar {
        padding: 10px;
    }

    .logo {
        font-size: 18px;
    }

    nav a {
        font-size: 20px;
        margin-left: 10px;
    }
}
/* MOBILE VIEW */
@media (max-width: 400px) {

    .products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 10px;
    }

    .card {
        width: 100%;
        margin: 0;
    }

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

    .card h3 {
        font-size: 14px;
    }

    .card p {
        font-size: 13px;
    }

    .card button {
        width: 100%;
        font-size: 13px;
        padding: 8px;
    }

    .banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .banner-img img {
        width: 220px;
    }

    .navbar {
        padding: 10px;
    }

    .logo {
        font-size: 18px;
    }

    nav a {
        font-size: 20px;
        margin-left: 10px;
    }
}