@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Heebo', sans-serif;
}

img {
    object-fit: cover;
    object-position: top;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

a {
    text-decoration: none;
    color: black;
}

nav {
    padding: 20px 147px;
    background-color:white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;

}
nav .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
nav .logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
nav .logo a{
    font-size: 15px;
    color: #3e3e3e;
    font-weight: bold;
}
nav .nav-links{
    display: flex;
    gap: 16px;
}
nav .nav-links a{
    transition:color 0.3s ease;
}
nav .nav-links a:hover,
nav .nav-links a.selected{
    color: #303f9f;
}/**nav ba end **/

/**main**/
.main {
    padding: 0 148px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    height: calc(100vh - 80px); /* Added space around the minus sign */
}

.main .info h1 {
    font-size: 44px;
    margin-bottom: 40px;
}

.main .info p{
    font-size: 16px;
    margin-bottom: 45px;
    width: 100%;
}
.main .info button,
.content .post-list .post-item .buttons button{
    padding: 10px 30px;
    background-color: rgb(61, 61, 114);
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.main .info button:hover,
.content .post-list .post-item .buttons button:hover{
    background: #1a2371;

}
.main img{
    width: 400px;
    height: 400px;
    border-radius: 140px;
}

.recent{
    padding:60px 148px;
    background-color:lightblue;
}
.recent .header{
    display: flex;
    align-items:center ;
    justify-content: space-between;
    margin-bottom: 30px;
}
.recent .header h4,
.separator h4{
    font-size: 20px;
    font-weight: 550;
    
}
.recent .header a{
    color: #1a2371;
}
.recent .posts
{
    display: flex;
    justify-content: center;
    gap: 20px;

}
.recent .posts  .post-item{
   background-color: #fff;
   padding: 26px; 
}
.recent .posts  .post-item h3,
.content .post-list .post-item h3{
    font-size: 26px;
    margin-bottom: 18px;
    
}
.recent .posts  .post-item  .info,
.content .post-list .post-item .info {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.recent .posts  .post-item  .info h5,
.content .post-list .post-item h5{
    font-size: 18px;
    font-weight: 400;
}
.recent .posts  .post-item  .info p{
    width: 400px;
}
/*featured***************/

.separator{
    padding: 40px 148px 0;
}
.separator h4{
    margin-bottom: 30px;
}
.featured{
    padding:40px 290px 0 ;
}
.featured .item,
.works-list .item{
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}


.featured  .item img,
.works-list .item img,
.content img
{
    width: 320px;
    height: 200px;
    border: radius 6px;;
}
.featured .item .details h3,
.works-list .item h3{
    font-size: 30px;
    margin-bottom: 16px;
}

.featured .item .details .item-info,
.works-list .item .details .item-info{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.featured .item .details .item-info .year-badge,
.works-list .item .details .item-info .year-badge,
.content .work-info .year-badge
{
    background-color: #303f9f;
    padding: 2px 14px;
    color: #fff;
    border-radius: 16px;
    font-size: 14px;
    font-weight: bold;
}
.featured .item .details .item-info   h4,
.works-list .item .details .item-info h4
{
    color: #8695a4;
    font-size: 18px;

}
.featured .item .details p,
.works-list .item .details p{
    width: 700px;
    text-align: justify;
}
footer{
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}
footer .socials{
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 20px;
}
footer .socials i{
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s ease;
}
footer .socials i:hover{
    color: #303f9f;
}
footer p{
    font-size: 14px;
}
.Page-title{
    padding: 80px 234px 20px;
    width: 100%;
    
}
.content{
    padding: 30px 148px 60px ;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content .work-info{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    width: 970px;
}
.content .work-info .category{
    color: #8695a4;
    font-size: 18px;

}
.content p{
    width: auto;
    font-size: 15px;
    margin: 20px 0;
}
.content .post-list{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.content .post-list .post-item{
    background-color:lightblue;
    padding: 24px;
    width: auto;
    border-radius: 10px;
}
.content .post-list .post-item .buttons{
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.content .post-list .post-item .buttons button{
    font-size: 14px;
    padding: 6px 20px;
}
.content .post-list .post-item .buttons i{
    font-size: 22px;
    cursor: pointer;
    transition: color 0.3s ease;
}
.content .post-list .post-item .buttons i:hover{
    color:#303f9f ;
}

.content .container{
    background-color: #dbedf2;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    width: inherit;
   
    border-radius: 20px;
}
.content .container img {
    width: 300px;
    height: 300px;
    border-radius: 20px;
}
.content.container h2{
    margin-bottom: 20px;
    font-size: 30px;
}
.content .container .about>p{
    text-align:justify;
    
}
.content .container .about .email{
    font-weight: bold;
    margin-top: 30px;
    font-size: 14px;
}
@media screen and (max-width:1400px){
    nav{
        padding: 20px 60px;
    }
    .main{
        padding: 0 60px;
    }
    .recent{
        padding: 60px;
    }
    .featured,
    .separator{
        padding: 40px 60px 0;
    }
    .Page-title{
        padding: 80px 60px 20px;
    }
}
@media screen and (max-width:1200px){
    nav{
        padding: 20px 40px;
    }
    .main{
        padding: 0 40px;
    }
    
    .main img{
        width: 340px;
        height: 340px;
    }
    .recent{
        padding: 40px;
    }
    .featured,
    .separator{
        padding: 40px 40px 0;
    }
    .featured .item .details p,
    .works-list .item .details p
    {
        width: 100%;
    }
    .Page-title{
        padding: 80px 40px 20px;
    }
    .content .work-info,
    .content>p,
    .content>h1
    {
        width: 100%;
    }
   
     
}
@media screen and(max-width:768px) {

    nav{
        justify-content: center;
    }
    nav .logo{
        display: none;
    }
    .main{
        flex-direction: column;
        justify-content: space-around;
        margin-top: 40px 0;
        height: auto;
    }
    .main .info h1{
        font-size: 30px;
        margin-bottom: 16px;

    }
    .main .info p{
        margin-bottom: 16px;
    }
    .main .info  buttons{
         padding: 6px 20px;
         font-size: 13px;
    }
    .main img{
        margin-top: 20px;
        width: 100%;
        height: auto;
        border-radius: 50px;
    }
}


