body{
    display: flex;
    justify-content: left;
    align-items: left;
    flex-direction: column;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0px;
    margin: 0px;
}
.w1{
    display: flex;
    justify-content: space-between;
    align-items: left;
    flex-direction: column;
    width: 750px;
    font-size: 27px;
    transition: 0.45s; 
    color: grey;
    margin-top: 10px;
}
.w1:hover{
    color: black;
    transition: 0.45s; 
}
.background{
    position: fixed;
    z-index: -1;
    height: 110%;
    width: 100%;   
}

.mommy {
    display: flex;
    justify-content: right;
    align-items: right;
    flex-direction: row;
    gap: 30px;
    font-size: 70%;
    width: 100%;
    height: 60px;
    position: fixed;
    margin-right: 20px;
}


h2{
    color: grey;
    transition: 0.45s;  
    margin-right: 10px;  
}

h2:hover{
    color: black;
    transition: 0.45s;     
}

a{
    text-decoration: none;
}
.background{
    position: static;
    z-index: -1;
    height: 90%;
    width: 100%;  
    margin-top: 60px; 
}
.grid{
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
    max-width: 1400px;
    width: 100%;
    padding: 40px 60px;
    box-sizing: border-box;
    justify-items: center;
    margin: 0 auto;
}
.grid img{
    width: 150%;
    max-width: 100%;
    height: 650px;
    object-fit: cover;
    
}
.heading{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 70px;
}
.lo{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: black;
    font-style: italic;
    font-size: 130%;

}
.para{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 450px;
    margin-left: 280px;
    margin-right: 280px;
    font-size: 130%;
    font-style: italic;
    margin-top: -190px;
}
.samples{
    display: grid;
    align-items: center;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
    max-width: 1400px;
    width: 100%;
    padding: 40px 60px;
    box-sizing: border-box;
    justify-items: center;
    margin: 0 auto;
}
.samples img{
    width: 100%;
    max-width: 100%;
    height: 450px;
    object-fit: cover;
    
}
.end{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(245, 245, 67, 0.933);
    height: 450px;
}
.logo2{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 25px;
    height: 100px;
}

/* Default styles are for desktop (large screens) */

/* Tablets (<= 1024px) */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .samples {
        grid-template-columns: repeat(3, 1fr);
    }

    .para {
        margin-left: 100px;
        margin-right: 100px;
        font-size: 120%;
    }

    .mommy {
        font-size: 80%;
        gap: 15px;
    }
}

/* Mobile landscape & large phones (<= 768px) */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .samples {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }

    .para {
        margin-left: 30px;
        margin-right: 30px;
        font-size: 110%;
    }

    .heading {
        font-size: 22px;
        text-align: center;
    }

    .lo {
        font-size: 100%;
        text-align: center;
    }

    .mommy {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 10px;
        padding: 10px;
    }

    .end {
        padding: 20px;
        text-align: center;
        height: auto;
    }
}

/* Small phones (<= 480px) */
@media (max-width: 480px) {
    .grid img,
    .samples img {
        height: auto;
        width: 100%;
    }

    .para {
        font-size: 95%;
        margin: 10px;
    }

    .heading {
        font-size: 18px;
    }

    .lo {
        font-size: 95%;
    }

    .logo2 {
        flex-direction: column;
        gap: 10px;
    }
}
/* Tablet screens (<= 1024px) */
@media (max-width: 1024px) {
    .mommy {
        gap: 20px;
        font-size: 90%;
        justify-content: center;
    }
}

/* Mobile landscape & large phones (<= 768px) */
@media (max-width: 768px) {
    .mommy {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        gap: 10px;
        padding: 15px 0;
        background-color: rgba(255, 255, 255, 0.8); /* optional: white semi-transparent background */
        position: static; /* avoid fixed overlap on small screens */
    }

    .mommy h1.w1 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .mommy h2 {
        font-size: 16px;
    }
}

/* Desktop (default styles already applied) */

/* Tablets (<= 1024px) */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .samples {
        grid-template-columns: repeat(2, 1fr);
    }

    .para {
        margin-left: 50px;
        margin-right: 50px;
        font-size: 1.1rem;
    }

    .mommy {
        font-size: 90%;
        gap: 15px;
    }
}

/* Mobile landscape & large phones (<= 768px) */
@media (max-width: 768px) {
    .grid,
    .samples {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .grid img,
    .samples img {
        width: 100%;
        height: auto;
    }

    .para {
        margin: 10px;
        font-size: 1rem;
    }

    .heading {
        font-size: 1.5rem;
        text-align: center;
    }

    .lo {
        font-size: 1rem;
        text-align: center;
    }

    .mommy {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px;
        background-color: rgba(255, 255, 255, 0.9);
        position: static;
    }

    .end {
        padding: 20px;
        text-align: center;
    }
}

/* Small phones (<= 480px) */
@media (max-width: 480px) {
    .grid img,
    .samples img {
        height: auto;
    }

    .para {
        font-size: 0.9rem;
    }

    .heading {
        font-size: 1.2rem;
    }

    .lo {
        font-size: 0.9rem;
    }

    .logo2 {
        flex-direction: column;
        gap: 10px;
    }

    .mommy h1.w1 {
        font-size: 1.4rem;
    }

    .mommy h2 {
        font-size: 1rem;
    }
}

/* Initially hide links on small screens */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .mommy a {
        display: none;
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .mommy.active a {
        display: block;
    }
}

