@media screen and (max-width: 768px) {
    .Mega_box{
        display: none;
    }
    nav{
        width: 100%;
        display: flex;
        justify-content: space-evenly;
        padding: 10px;
        gap: 10px;
    }
    .img{
        display: flex;
         width: 100%; 
        align-items: center;
        justify-content: flex-start;
        padding: 10px;

    }
    .icons{
        display: flex;
        width: 100%;
        align-items: center;
        padding: 8px;
        justify-content: flex-end;
        
    }
    nav ul{
        opacity: 0;
        /* display: none; */
        pointer-events: none;
        position: absolute;
        flex-direction: column;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgb(255, 255, 255);
        color: black;
        padding: 20px;
        transition:  0.4s ease-in-out;
        
    }
    li:hover{
        color: white;
        background-color: rgb(39, 36, 36);
        padding: 3px;
        border-radius: 5px;
        transition: 0.1s;
    }
    .checkbtn{
        opacity: 1;
        width: 5%; 
        cursor: pointer;
        order: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        
    }
    #toggle_menu:checked ~ ul{
        /* display: flex; */
        opacity: 1;
        pointer-events: auto;
    }
    .image1{
        background-image: url("./Smll Scren/hero_apple_watch_ny__c8f1tzaoa72a_small.jpg");
        justify-content: flex-start;
        color: black;
        width: 100%;
        height: 100vh;
        background-position: center;
        background-size: cover;
        text-align: center;
        font-size: 17px;
        padding-top: 80px;
    }
    .image2{
        background-image: url("./Smll Scren/2.jpg");
        width: 100%;
        background-position: center;
        background-size: cover;
    }
    .image3{
        background-image: url("./Smll Scren/3.jpg");
        width: 100%;
        background-position: center;
        background-size: cover;
    }
    .image_box1{
        flex-direction: column;
        width: 100%;
    }
    .image_box2{
        flex-direction: column;
        width: 100%;
    }
    .image_box3{
        flex-direction: column;
        width: 100%;
    }
    .image_box1 .imagee1{
        background-image: url("./Smll Scren/5.jpg");
        background-size: cover;
        background-position: center;
        object-fit: cover;
    }
    .image_box1 .imagee2{
        background-image: url("./Smll Scren/7.jpg");
        background-size: cover;
        background-position: center;
        object-fit: cover;
    }
     .image_box2 .imagee3{
        background-image: url("./Smll Scren/6.jpg");
        background-size: cover;
        background-position: center;
        object-fit: cover;
    }
    .image_box2 .imagee4{
        background-image: url("./Smll Scren/4.jpg");
        background-size: cover;
        background-position: center;
        object-fit: cover;
    }
     .image_box3 .imagee5 .imagee6 img{
        background-size: cover;
        background-position: center;
        object-fit: cover;
    }
    .footer_Container{
        width: 100%;
    }
    .footer_column {
    /* Block layout for stacking */
    display: block; 
    padding: 10px;
    max-width: none; 
    margin: 0;
}
.footer-group {
    width: 100%; 
}
    .ft-toggle:checked + label + .footer {
        /* display: block!important; */
        max-height: 500px;
        opacity: 1;
        color: white;
    }
    .p_head {
   width: 100%;
    cursor: pointer;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 8px 10px;
    font-weight: 600;
    border-bottom: 1px solid black;
    }
.p_head .material-symbols-outlined {
    display: block !important;
}
.footer {
    /* display: none !important; */
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 15px;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}
.sub_items {
    /* display: none !important; */
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding-left: 30px; 
    transition: max-height 0.4s ease, opacity 0.3s ease;
}
.ft-toggle2:checked + label + .sub_items {
        /* display: block!important; */
        opacity: 1;
        max-height: 200px;
}
.footer li {
    margin: 2px 0;
    font-size: 14px;
    padding: 0;
}

.ft-toggle, .ft-toggle2 {
    display: none !important;
}
.f_text{
        justify-content: center;
        width: 100%;
        font-size: 14px;
        padding: 10px;
}
.p7{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        font-size: 14px;
        padding: auto;
}
}
@media screen and (max-width: 425px){
    .image_box1 .imagee1 .imagee2 img{
        object-fit: cover;
        background-position: center;
        background-size: cover;
    }
    .image_box2 .imagee3 .imagee4 img{
        object-fit: cover;
        background-position: center;
        background-size: cover;
    }
    .image_box3 .imagee5 .imagee6 img{
        object-fit: cover;
        background-position: center;
        background-size: cover;
    }
    .image1 .image2 .image3{
        object-fit: cover;
        background-position: center;
        background-size: cover;
    }
}