*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Mobile-first base styles */
body{
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    padding: 10px;
    background: linear-gradient(to right, #ffeba9, #fda3a3,#d3d3d3);
    animation: infinite linear gradient 3s;
    overflow-x: hidden;
}

header{
    background-color: #33333354;
    border-radius:10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

header h1{
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 1.5rem;
}

/* Profile section - mobile stack */
.profile{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.set1 img{
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 20%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.set2{
    text-align: center;
    padding: 0 10px;
}

.set2 h2{
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
    background-color: white;
    padding: 8px;
    border-radius: 5px;
}

.set2 p{
    font-size: 1rem;
    line-height: 1.6;
    color: #000000;
    font-weight: bold;
    margin-bottom: 10px;
}

.Founder{
    font-size: 1.1em;
    line-height: 1.6;
    color: #000000;
    font-weight: bold;
    background-color: white;
    padding: 15px;
    border-radius: 20px;
    margin: 20px auto;
    max-width: 300px;
}

/* Blog posts - mobile stack */
.blog-posts{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post{
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post:hover{
    transform: translateY(-3px);
}

.post img{
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 200px;
    object-fit: cover;
}

.post h2{
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.post p{
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-top: 5px;
}

/* Tablet styles */
@media screen and (min-width: 600px) {
    body{
        padding: 15px;
    }
    
    header h1{
        font-size: 1.8rem;
    }
    
    .set1 img{
        max-width: 400px;
    }
    
    .post{
        flex-direction: row;
        align-items: flex-start;
    }
    
    .post img{
        width: 40%;
        max-height: 150px;
    }
    
    .post div{
        flex: 1;
    }
}

/* Desktop styles */
@media screen and (min-width: 768px) {
    body{
        padding: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    header h1{
        font-size: 2rem;
        padding: 20px;
    }
    
    .profile{
        flex-direction: row;
        align-items: flex-start;
    }
    
    .set1 img{
        width: 500px;
        margin-top: 25%;
        margin-left: 20%;
    }
    
    .set2{
        margin-left: 10%;
        text-align: left;
    }
    
    .set2 h2{
        font-size: 2em;
    }
    
    .set2 p{
        font-size: 1.2em;
    }
    
    .Founder{
        margin-left: 17%;
        margin-top: 10%;
        width: 50%;
    }
    
    .post{
        margin-top: 3%;
        padding: 20px;
    }
    
    .post:hover{
        transform: translateY(-5px);
        scale: 1.02;
    }
    
    .post img{
        width: 200px;
        height: 150px;
    }
    
    .post h2{
        font-size: 1.5em;
    }
    
    .post p{
        font-size: 1em;
        margin-top: 10%;
    }
}

/* Large desktop styles */
@media screen and (min-width: 1024px) {
    body{
        padding: 30px;
    }
    
    .set1 img{
        width: 500px;
    }
}

html{
    scroll-behavior: smooth;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
