* {
    font-family: 'Outfit', 'Orpheus Pro', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    word-spacing: 2px;
    transition: 0.3s ease-in-out;
}


.section-5 {
    width: 100%;
    height: 1700px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    background-color: #ececee;
}

.projcontainer {
    width: 90%;
    height: 1200px;
    margin-top: 30px;
    justify-self: center;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
}

.projbox1,
.projbox2,
.projbox3,
.projbox3-5,
.projbox4,
.projbox5,
.projbox6 {
    width: 350px;
    height: 400px;
    display: flex;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
    flex-direction: column;
}



.img1 {
    width: 100%;
    height: 220px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-image: url(projects/karmyaura.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.img2 {
    width: 100%;
    height: 220px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-image: url(projects/manu.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.img3 {
    width: 100%;
    height: 220px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-image: url(projects/Screenshot\ 2025-08-16\ 023548.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.img3-5{
    background-image: url(projects/huawei.png);
    width: 100%;
    height: 220px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.img4 {
    width: 100%;
    height: 220px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-image: url(projects/Screenshot\ 2025-08-16\ 022734.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.img5 {
    width: 100%;
    height: 220px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-image: url(projects/farm.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.img6 {
    width: 100%;
    height: 220px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-image: url(projects/Screenshot\ 2025-08-16\ 022324.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.projtext {
    width: 95%;
    display: flex;
    justify-self: center;
    align-self: center;
    flex-direction: column;
    text-align: justify;
    margin-top: 20px;
}

.projtext p {
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #4b5563;
}

.projtext h5 {
    font-size: 12px;
    word-spacing: 5px;
    color: #4b5563;
    font-weight: bold;
}

.viewlivea {
    width: 40%;
    padding: 10px;
    margin-top: 15px;
    height: 30px;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: black;
    text-decoration: none;
    gap: 7px;
    font-weight: lighter;
    font-size: 14px;
    transition: background-color 0.5s ease-in;
}

@media screen and (max-width: 768px) {
    /* Section 5: Each projbox on own line */
    .section-5 {
        height: 3800px;
        /* Increased for single-column layout */
        padding: 20px;
    }

    .section-5 h1 {
        font-size: 30px !important;
    }

    .projcontainer {
        width: 90%;
        height: auto;
        flex-direction: column;
        align-items: center;
        gap: 35px;
        margin-top: 20px;
    }

    .projbox1,
    .projbox2,
    .projbox3,
    .projbox3-5,
    .projbox4,
    .projbox5,
    .projbox6 {
        width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 400px;
    }

}