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

        body {
            font-family: Arial, sans-serif;
            color: #333;
            line-height: 1.6;
        }

        .top-bar {
            background-color: hsla(0, 0%, 96%, 1);
            padding: 8px 0;
            font-size: 12px;
            color: #666;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .top-bar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .top-bar-item{
            display: flex; 
            gap: 20px;
        }

        .top-bar-images{
            display: flex;
               align-items: center;
               gap: 5px;
        }

        header {
            background-color: #fff;
            padding: 15px 0;
            border-bottom: 1px solid #e0e0e0;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
        }

        .logo {
            display: flex;
            gap: 4px;
            font-size: 15px;
            font-weight: bold;
            color: #0095DA;
        }

        .search-bar {
            flex: 1;
            max-width: 500px;
            position: relative;
        }

        .search-bar input {
            width: 100%;
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
            background-color: hsla(198, 46%, 97%, 1);
                    
        }

       .search-bar .search-right{
        position: absolute;
        left: 2%;
        z-index: 1;
        top: 20%;
        gap: 5px;
        display: block;
        cursor: pointer;
       } 

       .search-bar .search-left{
         position: absolute;
        right: 3%;
        z-index: 1;
        top: 20%;
        gap: 3px;
        display: block;
        cursor: pointer;
       }

        .header-actions {
            display: flex;
            gap: 20px;
            align-items: center;
        }


        .header-actions a {
            color: #333;
            text-decoration: none;
            font-size: 14px;
            display: flex;
            gap: 4px;
            align-items: center;
        }

        nav {
            background-color: #fff;
            padding: 15px 0;
            border-bottom: 1px solid #e0e0e0;
        }

        .nav-links {
            display: flex;
            gap: 30px;
            list-style: none;
            flex-wrap: wrap;
        }

        .nav-links li button {
            background-color: hsla(195, 50%, 97%, 1);
            color: hsla(0, 0%, 13%, 1);
            text-decoration: none;
            font-size: 14px;
            padding: 8px 20px;
            border-radius: 20px;
            border: hsla(195, 50%, 97%, 1);
            display: flex;
            gap: 10px;
            cursor: pointer;
        }

        .nav-links li:first-child button {
            background-color: hsla(198, 100%, 40%, 1);
            color: hsla(0, 0%, 100%, 1);
            padding: 8px 20px;
            border-radius: 20px;
        }


        .hero {
            background:linear-gradient(to right, hsla(228, 35%, 20%, 1), hsla(228, 28%, 33%, 1)); 
            padding: 40px 20px;
            border-radius: 10px;
            margin: 30px auto;
            width: 80%;
            position: relative;
        }

        .hero .direction1{
         position: absolute; 
         left: -50px; 
         bottom: 125px; 
         z-index: 1;
        }

        .hero .direction2{
         position: absolute; 
         right: -50px; 
         bottom: 125px; 
         z-index: 1;
        }

        .hero-content {
            color: #fff;
            display: flex;
            justify-content: space-around; 
        }
        .hero-content .hero-words img{
            padding-top: 70px;
        }

        .hero h1 {
            font-size: 48px;
            margin-bottom: 10px;
            line-height: 1.2;
        }

        .hero p {
            font-size: 18px;
            margin-bottom: 10px;
        }

        .hero .discount {
            font-size: 24px;
            font-weight: bold;
        }

        .section {
            margin: 50px auto;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            border-bottom: 1px solid hsla(0, 0%, 93%, 1);
        }

        .section-title {
            font-size: 24px;
            padding-bottom: 2px;
            border-bottom: 2px solid hsla(198, 100%, 40%, 1);
        }

        .section-title span {
            color: hsla(198, 100%, 40%, 1);
        }

        .view-all {
            color: hsla(198, 100%, 40%, 1);
            text-decoration: none;
            font-size: 14px;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }

        .product-card {
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 16px;
            padding: 15px;
            text-align: center;
            position: relative;
             background:linear-gradient(to bottom, hsla(0, 0%, 96%, 1)60%, hsla(0, 0%, 100%, 1)40%);
        }

        .discount-badge {
            position: absolute;
            top: 0px;
            right: 0px;
            background-color: hsla(198, 100%, 40%, 1);
            color: #fff;
            width: 51px;
            height: 53px;
            padding: 5px 8px;
            border-radius: 0px 16px 0px 16px;
            font-size: 12px;
            font-weight: bold;
        }



        .product-card img {
            width: 100%;
            height: 158px;
            object-fit: contain;
            margin-bottom: 15px;
            
        }

        .product-name {
            font-size: 14px;
            margin-bottom: 10px;
    
        }

        .product-price {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .old-price {
            color: #999;
            text-decoration: line-through;
            font-size: 14px;
        }

        .savings {
            color:hsla(133, 62%, 38%, 1);
            font-size: 12px;
            border-top: 1px solid hsla(0, 0%, 93%, 1);
        }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 20px;
            text-align: center;
            width: 90%;
        }

        .category-item {
            text-align: center;
        }

        .category-icon {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background-color: #f5f5f5;
            margin: 0 auto 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #e0e0e0;
        }

        

        .category-icon img {
            width: 70px;
            height: 80px;
            object-fit: contain;
        }

        .category-name {
            font-size: 14px;
            color: #333;
        }

        .brand-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(345px, 1fr));
            gap: 20px;
            width: auto;     
        }

        .brand-card {
            background: #fff;
            border-radius: 8px;
            padding: 15px;
            position: relative;
            overflow: hidden;
        }

        .brand-card.iphone {
            background: linear-gradient(135deg, #333 0%, #555 100%);
            color: #fff;
            display: flex;
        }
   
        .brand-name h3{
            width: 134px;
        }

        
        .brand-icon img{
            background-color: white;
            width: 50px;
            height: 40px;
            border-radius: 15px;
            padding: 4px 4px;
            margin-right: 30px;
           display: flex;
           align-items: start;
        }

        .brand-card.realme {
            background-color: hsla(46, 100%, 90%, 1);
            display: flex;
            justify-content: space-between;
        }

        .brand-card.xiaomi {
            background-color: hsla(25, 100%, 94%, 1);
            color: #fff;
            display: flex;
             justify-content: space-between;
        }

        .brand-name .b1 {
            width: 80px;
            height: 35px;
            background-color: hsla(0, 0%, 29%, 1);
            text-transform: uppercase;
            color: hsla(0, 0%, 100%, 1);
            border-radius: 8px;
        }

         .brand-name .b2 {
            width: 80px;
            height: 35px;
            background-color: hsla(46, 86%, 76%, 1);
            text-transform: uppercase;
            color: hsla(0, 0%, 13%, 1);
            border-radius: 8px;
            border-color: hsla(46, 86%, 76%, 1);
        }

         .brand-name .b3 {
            width: 80px;
            height: 35px;
            background-color: hsla(25, 100%, 85%, 1);
            text-transform: uppercase;
            color: hsla(0, 0%, 13%, 1);
            border-radius: 8px;
            border-color:hsla(25, 100%, 85%, 1);
        }

        .brand-name{
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
    

        footer {
            background-color: #0095DA;
            color: #fff;
            padding: 50px 0 20px;
            margin-top: 80px;
            width: 100%;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section p{
            padding: 7px;
        }

        .footer-section h3 {
            margin-bottom: 20px;
            font-size: 18px;
        }

        .footer-section .border{
            border-bottom: 3px solid white;
            width: fit-content;
            padding: 4px;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 10px;
        }

        .footer-section ul li a {
            color: #fff;
            text-decoration: none;
            font-size: 14px;
            
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.2);
            font-size: 14px;
        }

        .app-buttons {
            display: flex;
            gap: 10px;
            margin-top: 15px;
            flex-direction: column;
            
        }

        .app-button{
            border-radius: 5px;
            font-size: 8px;
            display: inline-block;
            height: 1px;
        }

        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
            }

            .search-bar {
                width: 80%;
            }


            .nav-links {
                gap: 15px;
                font-size: 12px;
            }

            .hero h1 {
                font-size: 32px;
            }

            .hero-content {
                max-width: 100%;
            }

            .product-grid {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            }

            .category-grid {
                grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            }

              /* .hero .direction1,
              .hero .direction2 {
                display: none;
           } */
        }

        @media (max-width: 480px) {
            .top-bar {
                font-size: 10px;
            }

            .logo {
                font-size: 20px;
            }

            .hero h1 {
                font-size: 24px;
            }

            .search-bar{
                width: 80%;
            }

            .search-bar .search-left{
                display: none;
            }

            .hero{
                width: 90%;
            }

             .hero-content{
              display: flex;
              flex-direction: column;
             }

             .hero-content .hero-words img{
                display: none;
             }
            .product-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            .category-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 15px;
            }

              .hero .direction1,
             .hero .direction2 {
             display: none;
          }

    
        }