/* Media Queries for 600px and below */
@media only screen and (max-width: 600px) {
    /* General adjustments */
    * {
        box-sizing: border-box;
    }
    
    /* Header adjustments */
    .header {
        width: 100%;
        left: 0;
        top: 0;
        border-radius: 0;
        height: 60px;
        padding: 10px;
    }
    
    .header-logo {
        justify-content: space-between;
        width: 100%;
    }
    
    .logo-2 {
        margin-top: 0;
        margin-left: 10px;
    }
    
    .logo-txt {
        display: none;
    }
    .tag-3{
    background-color: #585d65;
    height: 20px;
    text-align: center;
}
    .tag-3:hover .header-drop{
    display: block;
    display: flex;
    flex-direction: column;
    width: 200px;
    height: 160px;
    margin-left: 5px;
    text-decoration: none;
    background-color: #585d65;
    position: absolute;
    left: -50px;
    top: 60px;
    overflow: hidden;
    box-shadow: 5px 5px 5px 5px #373B40;
}
    
    .header-tag > ul {
        display: none; /* Hide desktop nav */
    }
    
    .btn {
        display: none; /* Hide download button on mobile */
    }
    
    /* Main layout adjustments */
    .main {
        flex-direction: column;
    }
    
    .main-1st, .main-1-fixed {
        width: 100%;
        height: 50vh; /* Reduce height on mobile */
    }
    
    #main-2nd {
        width: 100%;
        top: 190px;
    }
    
    .main-3rd{
    width: 300px;
    height: 270px;
    background-color: #373B40;
    border-radius: 50%;
    position: absolute;
    top: -60px;
    left: 70px;
}
.radius-txt{
   color: #fff;
   font-family: "Poppins";
   font-weight: 800;
   font-size: 56px;
   position: absolute;
   left: 30px;
   top: 70px;
}
.main-2nd-txt{
    /* position: absolute; */
    color: #fff;
    /* top: 390px; */
    /* left: 100px; */
    font-family: "poppins";
    font-weight: 700;
    font-size: 18px;
    color: #08e2c5;
    margin-left: 60px;
    margin-top: 0;
}
.main-7{
    margin-top: 280px;
}
.port-img-4{
    height: 300px;
    width: 300px;
    background-image: url(./images/Dice-img-portfolio.jpg);
    background-size: 100% 100%;
    background-size: cover;
    position: relative;
    left: 50px;
}
.port-p-2{
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-top: 10px;
    width: 60%;
    text-align: center;
    margin-left: 60px;

}
.port-img-3{
    height: 300px;
    width: 300px;
    background-image: url(./images/iub-img-4th.jpg);
    background-size: 100% 100%;
    background-size: cover;
    position: relative;
    left: 50px;

}
.port-img-2{
    height: 300px;
    width: 300px;
    background-image: url(./images/Fruit-img-portfolio.avif);
    background-size: 100% 100%;
    background-size: cover;
    position: relative;
    left: 50px;
}
.port-img-1{
    height: 300px;
    width: 300px;
    background-image: url(./images/Food-img-porfolio.jpg);
    background-size: 100% 100%;
    background-size: cover;
    position: relative;
    left: 50px;
}
.cod-wid{
    margin-left: 110px;
    width: 60%;
}
.mob-res{
    margin-left: 85px;
}

    
    /* Content adjustments */
    .main-2nd-txt, 
    .main-2nd-p,
    .whitep,
    .d-main,
    .d-main-2,
    .about-flex,
    .text-icon,
    .design-mr
     {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .main-2nd-2 {
        display: none; /* Hide fixed sidebar on mobile */
    }
    
    /* About section */
    .about-flex {
        flex-direction: column;
    }
    
    .d-main-2 {
        margin-left: 0;
        margin-top: 20px;
    }
    
    /* Services section */
    .about-6 {
        flex-direction: column;
    }
    
    .text-icon {
        width: 90%;
        margin-bottom: 30px;
    }
    
    /* Portfolio section */
    .port-img {
        flex-direction: column;
    }
    
    .port-inside {
        width: 60%;
        padding-right: 0;
        margin-bottom: 30px;
        margin-left: 0;
        margin-right: 50px;
    }
    
    .btn-6 {
        margin-left: 100px;
        margin-right: auto;
        display: block;
    }
    
    /* Contact section */
    .input-flex {
        flex-direction: column;
    }
    
    .input-last-4 {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Education/Experience sections */
    .exp-flex {
        flex-direction: column;
    }
    
    .exp-top {
        margin-top: 30px;
    }
    
    /* Coding skills */
    .coding-main {
        flex-direction: column;
    }
    
    .cod-wid {
        width: 60%;
    }
    
    /* Reviews */
    .rev-img {
        flex-direction: column;
    }
    
    /* Clients */
    .clients-flex {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .clients-img, 
    .clients-img-2 {
        width: 40%;
        padding-right: 10px;
        margin-bottom: 20px;
    }
    
    /* Mobile menu toggle (you'll need to add this HTML) */
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        /* top: 15px; */
        color: white;
        font-size: 24px;
        cursor: pointer;
        z-index: 1999;
    }

    .grt{
    border: 1px solid #585d65;
    border-radius: 50px;
    width: 70px;
    height: 70px;
    position: relative;
    left: 200px;
    margin-left: 10px;
    margin-top: 90px;
    cursor: pointer;
     display: none;
}
.grt-2{
    border: 1px solid #585d65;
    border-radius: 50px;
    width: 70px;
    height: 70px;
    position: relative;
    left: 150px;
    margin-left: 10px;
    margin-top: 90px;
    cursor: pointer;
     display: none;
}
.grt p{
    position: absolute;
    top: 12px;
    left: 30px;
    font-size: 28px;
    color: #fff;
     display: none;
}
.grt-2 p{
    position: absolute;
    top: 12px;
    left: 30px;
    font-size: 28px;
    color: #fff;
    display: none;
}
}