#head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: white;
    position: sticky;
    top: 0;
   z-index: 1000;

}
.logos a:hover{
    color: orangered;
}

#left{
    display: flex;
    align-items: center;
}

.logos a{
    text-decoration: none;
    color: black;
    font-size: 20px;
    font-weight: 500;
}
.logos{
    justify-content: baseline;
    gap: 30px;
   display: flex;
   align-items: center;
   
   
  
}
.logos svg{
    width: 30px;
    height: 30px;
}
.right{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 40px;

}

.right a{
    text-decoration: none;
    color: black;
    font-size: 20px;
    margin-left: 10px;  
    font-weight: 500; 
    justify-content: end;
}
.right i{
    font-size: 18px;
    margin-left: 20px;
    
}
.carousel-item  img{
    width: 500px;
    height: 500px;
    padding-top: 3%;   
}
.IMG{
    display: flex;
    justify-content: center;
    width: 100%;
    width: auto;
    padding: 5%;
    box-shadow: 0 2px 2px ;
    border-radius: 20px;
}
.image{
    margin-right: 10%;
}
.cont h1{
    font-size: 30px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-bottom: 1rem;
    padding-top: 10%;
}
.cont p{
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.cont button{
    margin-left: 25%;
    background-color: #000;
    color: white;
    border-radius: 8px;
}
.products{
    padding-top: 8%;
}
.products h1{
    text-align: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.sub-products{
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.sub-products a{
    text-decoration: none;
    color: black;
    font-size: large;

}
.Ex-offer h1{
     text-align: center;
     padding-top: 8%;
     font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
     font-size: xx-large;
}

#main{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    align-items: center;
    padding-top: 50px;
    gap: 10px;
    margin-left: 5%;   
}
.offer h1,p {
    font-size: 25px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    padding: 10px;   
    
}

.offer img:hover{
    border: 2px solid darkgray;
    box-shadow: 0 2px 4px;
    border-radius: 9px;
    width: 100%;
}

.carousel-item img{
    width: 500px;
    height: 500px;
}


#explore{
    text-align: center;
    padding-top: 6%;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
#explore-title {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
    gap: 20px;
}

#explore-card img{
    width: 500px;
}
#explore-card {
    min-width: 500px;
    flex-shrink: 0;
    padding: 10px;
    box-sizing: border-box;
    scroll-snap-align: start;
}

#explore-card h1{
    font-size: larger;
    text-align: center;
}
#support{
    text-align: center;
    padding: 60px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
#end{
    display: flex;
    justify-content: center;
    text-align: center;
}
#sub-support h1 {
    font-size: 25px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
#sub-support p{
    font-size: 20px;
}
.footer{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: black;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 10%;
      
}
.footer div{
    min-width: 180px;
    margin-left: 90px;
}
.footer h1{
    font-size: 20px;
    color: #fff;
    margin-bottom: 30px;
    padding-top: 25px;
}
.footer a{
    display: block;
    text-decoration: none;
    color: #ccc;;
    font-size: 18px;
    margin: 9px;
}
.footer a:hover{
    color: white;
}

#follow h1{
    font-size: 25px;
    text-align: center;
    
}
#follow{
    font-family: Arial, Helvetica, sans-serif;
}
.social-icon{
    display: flex;
    justify-content: baseline;


}
#follow,input [type="email"]{
    font-size: 20px;
    color: white;   
}                                
.top{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    padding: 10%;
    gap: 60px;
}

.phone-head img{
    width: 191px;
    height: 191px;
    padding-left: 29px;
    margin-left: 50px;
}
.phone-head{
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 8px solid white;
    border-radius: 8px;
    background-color: white;
}
.phone-head h1,p{
     font-size: 30px;
     text-align: center;
     padding-top: 20px;
   
 }
 .phone-head button {
   margin-left: 12%;
   width: 100px;
   border-radius: 7px;
   background-color: black;
   color:white;
   font-size: 17px;
 } 
 .phone-head button:hover{
    color: grey;
 }
 #redmi{
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 2px 4px;
    gap: 2px;
 }
 #redmi h1{
    font-size: 20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
     padding-top: 10px;
}
#redmi p{
    font-size: small;
}
#redmi button{
    font-size: large;
    background-color: black;
    color: white;
    border-radius: 10px;
}
#Redmi-a{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15%;
    width: 80%;
    max-width: 800px;
    margin-left: 5%;
    padding-top: 10%; 
}
#Redmi-card img{
    width: 300px;
    height: 300px;
}
#Redmi-card h1,p{
    font-size: 25px;
    text-align: center;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
#Redmi-card button{
    font-size: medium;
    border-radius: 10px;
    background-color: black;
    color: #ccc;
    margin-left: 40px;
}
#Redmi-card{
box-shadow:  1px 2px 2px rgba(0, 0,0, 0.1);
border: #ccc;
}
#Redmi-card button:hover{
    color: grey;
}
#tablet{
    display: grid;
    grid-template-columns: repeat(2,1fr);    
    padding-top: 10%;
    margin-left: 8%;
    gap: 30px;
}
#tab{
    box-shadow: 0 2px 4px;
    border-radius: 8px;
    margin-right: 9%;

}
#tab img{
    width: 300px;
    height: 300px;
    margin-left: 27%;
}
#tab h1,p{
    font-size: 30px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    padding-top: 15px;

}
#tab button{
    margin-left: 20%;
    font-size: large;
    background-color: #000;
    color: white;
    border-radius: 5px
}
#tab button:hover{
    color: #ccc;
}
                                

#tb img{
    width: 100%;
    height: 400px;
    padding-top: 30px;
}
#tbl{
    padding-top: 30%;
}
.Accessories{
    display: flex;
    justify-content: center;
    gap: 50px;
    padding-top: 10%;
}
.acce img{
    width: 300px;
    height: 300px;
}
.acce h1{
    font-size: 23px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    padding-top: 20px;
}
.acce {
     box-shadow: 0 2px 4px;
    border-radius: 2px;
}   
.acce button{
    margin-left: 30%;
    font-size: medium;
    background-color: #000;
    color: white;
    border-radius: 5px;
    margin-top: 10%;

}                
#tv{
    text-align: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 30px;
    
}
#view{
    background: #000;
    color: white;
   border-radius: 5px;
    margin-left: 48%;
    font-size: mrdium;
}
#tss{
    text-align: center;
    font-size: x-large;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
     padding-top: 70px;
    
}
#more{
    margin-left: 46%;
    background-color: #000;
    color: #ccc;
    font-size: 22px;
    border-radius: 10px;
}
#smart{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    padding-top: 8%;
    justify-content: center;
    margin-left: 5%;  
    gap: 40px;  

}
#smat-Tv img{
    width: 200px;
    height: 200px;
    margin-left: 30%;

}
#smat-Tv h1{
    font-size: large;
    text-align: center;  
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
#smat-Tv button{
   
  padding: 5px 40px;
  margin-left: 16%;
  justify-content: center;  
  background-color: #000; 
  color: white;
  border-radius: 9px;
}
#smat-Tv{
    box-shadow: 0 2px 4px;
    padding-top: 50px;
    margin-right: 30px;
    border-radius: 10px;
    margin-left: 3%;
    
}
#tvs-32{
   display: flex;
   justify-content: center;
   align-items: center;
   padding-top: 8%;
   margin-left: 7%;
   gap: 15px;
   box-sizing: 10px;
}
#a-tvs img{
    width: 300px;
    height: 300px;
    margin-left: 9%;
    padding-bottom: 10%;
}
#a-tvs{
     box-shadow:0 2px 4px ;
    text-align: center;
    border-radius: 30px;
}
#a-tvs h1{
    font-size: 20px;
    text-align: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    padding-top: 30px;
}

#a-tvs button{
    margin-left: 20%;
    background-color: #000;
    color:white;
}
#acce-tv{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-top: 8%;
    margin-left: 15px;

}
#mi-acce img{
    width: 300px;
    height: 300px;
}
#mi-acce {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    box-shadow: 0 2px 4px;
    margin-right: 20px;
}
#mi-acce h1{
    font-size: 20px;
    padding-top: 15px;
}
#mi-acce button{
    background-color: #000;
    color: white;
    border-radius: 10px;
}
#vaccum{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    gap: 30px;
}
#v-cleaner img{
  width: 300px;
height: 300px;
margin-left: 25%;
}
#v-cleaner h1{
    font-size: 20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    padding-top: 20px;
}
#v-cleaner{
     box-shadow: 0 2px 4px;
}
#v-cleaner button{
    margin: 0 20px;
    padding: 5px 40px;
    margin-left: 14%;
    background-color: #000;
    color:white;
    border-radius: 10px;
}
#v-cleaner button:hover{
    color: #ccc;
}
#purifier{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    gap: 10px;
}
#vp img{
width: 300px;
height: 300px;
margin-left: 20%;
}

#vp{
    box-shadow: 0 2px 4px;
}
#vp h1{
    font-size: x-large;
    text-align: center;
    padding-top: 20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}  
#vp button{
    margin-left: 20%;
    background-color: #000;
    color:white;
    border-radius: 10px;
}
#vp button:hover{
    color: #ccc;
} 

/* Responsive layout for Mobile and Tablet */
@media (max-width: 768px) {
  * {
    box-sizing: border-box;
  }

  body {
    padding: 0 10px;
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Header section */
  #head {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .logos, .right {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Product main grid sections */
  #main,
  #Redmi-a,
  #tablet,
  #smart {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    padding: 10px;
  }

  /* Product card wrappers */
  #tab,
  #Redmi-card,
  #smat-Tv,
  #a-tvs,
  #mi-acce,
  #v-cleaner,
  #vp {
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    background-color: #fff;
  }

  /* Product images */
  #tab img,
  #Redmi-card img,
  #smat-Tv img,
  #a-tvs img,
  #mi-acce img,
  #v-cleaner img,
  #vp img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* Accessories and TV sections stack */
  .Accessories,
  #acce-tv,
  #vaccum,
  #purifier,
  #tvs-32 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-left: 0;
    padding: 10px;
  }

  /* Center buttons */
  button, #view, #more {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    font-size: 1rem;
  }

  /* Explore section */
  #explore-title {
    text-align: center;
    padding: 10px;
  }

  #explore-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 10px;
  }

  #explore-card .card {
    padding: 15px;
    text-align: center;
  }

  #explore-card .card img {
    width: 100%;
    height: auto;
  }

  /* Footer responsiveness */
  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }

  .footer div {
    margin-bottom: 20px;
  }

  #end {
    text-align: center;
    font-size: 0.9rem;
    padding: 20px;
  }

  /* Typography */
  h1, h2, h3 {
    font-size: 1.2rem;
    text-align: center;
  }

  p {
    font-size: 1rem;
    text-align: center;
  }

  #tb img {
    height: auto;
  }
}


@media (max-width: 500px) {
  /* ===== STORE SECTION ===== */
  #store {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
    box-sizing: border-box;
  }

  #store .card,
  #store .item {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  #store img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* ===== PHONES SECTION ===== */
  #phones {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
    box-sizing: border-box;
  }

  #phones .card,
  #phones .item {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  #phones img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}


