@media screen and (min-width: 576px) and (max-width: 820px) { 
    .logo { 
        padding: 0 3rem; 
    } 

    .hamburger { 
        display: block; 
        padding: 0 3rem; 
    } 

    .menu { 
        position: absolute; 
        right: 0; 
        padding: 0 3rem; 
        top: 75px; 
        background-image: linear-gradient(180deg, #74D7BB, #53C8B6, #35A99C); 
        display: none; 
        transition: all 0.25s; 
    } 

    .menu .menu-list { 
        flex-direction: column; 
    } 

    .portfolio { 
        padding: 0; 
    } 

    .about { 
        flex-direction: column; 
    } 

    .about .about-text { 
        padding: 2rem; 
    } 

    .about .about-image img { 
        padding: 2rem; 
    } 

    .services { 
        padding: 0; 
    } 

    .my-row { 
        gap: 10px; 
    } 

    .my-row .my-col { 
        text-align: center; 
        width: 35%; 
    } 

} 

/* CSS for posts */
/* Posts Section */
.posts {
    padding: 50px 20px;
    background-color: #f4f4f4;
}

.posts-heading {
    margin-bottom: 30px;
}

.posts-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.post-card:hover {
    transform: scale(1.05);
}

.post-image img {
    width: 100%;
    height: auto;
}

.post-title {
    font-size: 1.5em;
    margin: 15px 0;
}

.post-excerpt {
    font-size: 1em;
    color: #666;
    padding: 0 15px;
}

.btn.common-btn {
    margin-top: 15px;
}



/* CSS for mobile devices */
@media screen and (min-width: 280px) and (max-width: 576px) { 
    .hero { 
        justify-content: center; 
        color: #fff; 
        background-image: radial-gradient(circle, rgb(15 14 14 / 30%),
          rgb(102 96 96 / 40%), rgb(163 160 160 / 16%)), url('./Images/heroImg3.avif') 
    } 

    .sub-heading { 
        color: #fff9f9cc; 
    } 

    .hero .intro-buttons { 
        gap: 20px; 
    } 

    .btn { 
        padding: 10px 30px; 
    } 

    .logo { 
        padding: 0 2rem; 
    } 

    .menu { 
        position: absolute; 
        right: 0; 
        padding: 0 2rem; 
        top: 75px; 
        background-image: linear-gradient(180deg, #35A99C, #53C8B6, #74D7BB); 
        display: none; 
        transition: all 0.25s; 
    } 

    .menu .menu-list { 
        flex-direction: column; 
    } 

    .hamburger { 
        display: block; 
        padding: 0 2rem; 
    } 

    .portfolio { 
        padding: 0; 
    } 

    .about { 
        flex-direction: column; 
    } 

    .about .about-text { 
        width: 90%; 
        padding: 1rem; 
    } 

    .about .about-image img { 
        width: 90%; 
        padding: 1rem; 
    } 

    .services { 
        padding: 0; 
    } 

    .my-row { 
        display: flex; 
        align-items: center; 
        justify-content: space-between; 
        flex-direction: column; 
        margin: 2rem 0; 
        gap: 1rem; 
    } 

    .my-row .my-col { 
        text-align: center; 
        width: 100%; 
    } 


    .footer-menu { 
        padding: 0 2rem; 
    } 

    .footer-list-items { 
        margin: 0; 
    } 
}