/*==================================
            RESET
==================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f4f7fc;
    color:#333;
    line-height:1.6;
}

/*==================================
            HEADER
==================================*/

header{
    background:#0b1033;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 60px;
    flex-wrap:wrap;
}

.logo h1{
    font-size:42px;
    font-weight:700;
}

.logo span{
    color:#ffb400;
}

.logo p{
    font-size:15px;
    color:#ddd;
    margin-top:5px;
}

.header-right{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:15px;
}

.top-links{
    display:flex;
    gap:20px;
}

.top-links a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.top-links a:hover{
    color:#ffb400;
}

/*==================================
            SEARCH BOX
==================================*/

.search-box{
    display:flex;
}

.search-box input{
    width:260px;
    padding:12px;
    border:none;
    outline:none;
    border-radius:10px 0 0 10px;
}

.search-box button{
    border:none;
    padding:12px 25px;
    color:#fff;
    cursor:pointer;
    font-weight:600;
    border-radius:0 10px 10px 0;
    background:linear-gradient(135deg,#6d45ff,#ff4f7b,#ff8b3d);
}

.search-box button:hover{
    opacity:.9;
}

/*==================================
            NAVBAR
==================================*/

.navbar{
    background:#16215f;
    display:flex;
    align-items:center;
    padding:0 30px;
}

.navbar a{
    color:#fff;
    text-decoration:none;
    padding:16px 22px;
    font-weight:500;
    transition:.3s;
}

.navbar a:hover{
    color:#ffb400;
}

.add-btn{
    margin-left:auto;
    background:linear-gradient(135deg,#6d45ff,#ff4f7b,#ff8b3d);
    border-radius:10px;
    padding:10px 18px !important;
    color:#fff !important;
}

/*==================================
            PAGE TITLE
==================================*/

.page-title{
    text-align:center;
    padding:40px 20px;
}

.page-title h2{
    font-size:42px;
    color:#16215f;
    margin-bottom:10px;
}

.page-title p{
    font-size:18px;
    color:#666;
}

/*==================================
          JOB CONTAINER
==================================*/

.job-container{
    width:92%;
    margin:auto;
    padding-bottom:50px;
}
/*==================================
            JOB CARD
==================================*/

.job-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.12);
    margin-bottom:40px;
    transition:.3s;
}

.job-card:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 30px rgba(0,0,0,.18);
}

/*==================================
          TITLE BAR
==================================*/

.job-title{
    width:100%;
    background:#4477c2;
    color:#fff;
    text-align:center;
    padding:18px;
    font-size:25px;
    font-weight:700;
    letter-spacing:.5px;
}

/*==================================
          JOB CONTENT
==================================*/

.job-content{
    display:flex;
    align-items:center;
    gap:35px;
    padding:30px;
}

/*==================================
          JOB IMAGE
==================================*/

.job-image{
    width:320px;
    min-width:320px;
}

.job-image img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:15px;
    box-shadow:0 6px 18px rgba(0,0,0,.18);
}

/*==================================
          JOB DETAILS
==================================*/

.job-details{
    flex:1;
}

.job-details h3{
    color:#16215f;
    font-size:32px;
    margin-bottom:18px;
}

.job-details p{
    margin:12px 0;
    font-size:17px;
    color:#555;
    line-height:1.8;
}

.job-details strong{
    color:#0b1033;
}

/*==================================
          APPLY BUTTON
==================================*/

.apply-btn{
    display:inline-block;
    margin-top:25px;
    padding:14px 34px;
    text-decoration:none;
    color:#fff;
    font-size:17px;
    font-weight:600;
    border-radius:12px;
    background:linear-gradient(135deg,#6d45ff,#ff4f7b,#ff8b3d);
    transition:.3s;
}

.apply-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(0,0,0,.2);
    background:linear-gradient(135deg,#5d35f5,#ff3d70,#ff7a30);
}

/*==================================
            FOOTER
==================================*/

footer{
    background:#0b1033;
    color:#fff;
    text-align:center;
    padding:35px;
}

footer h3{
    font-size:30px;
    margin-bottom:10px;
}

footer span{
    color:#ffb400;
}

footer p{
    color:#ddd;
    margin-top:8px;
    font-size:16px;
}

/*==================================
          RESPONSIVE
==================================*/

@media(max-width:992px){

header{
    flex-direction:column;
    text-align:center;
    gap:20px;
}

.header-right{
    align-items:center;
}

.search-box{
    width:100%;
}

.search-box input{
    width:100%;
}

.navbar{
    flex-wrap:wrap;
    justify-content:center;
}

.add-btn{
    margin:15px auto;
}

.job-content{
    flex-direction:column;
    text-align:center;
}

.job-image{
    width:100%;
    min-width:100%;
}

.job-image img{
    width:100%;
    height:280px;
}

.job-details h3{
    font-size:28px;
}

.apply-btn{
    display:block;
    width:250px;
    margin:30px auto 0;
}

}

@media(max-width:600px){
    header{
        padding:18px 16px;
    }

    .logo h1{
        font-size:clamp(24px, 7vw, 32px);
    }

    .logo p{
        font-size:13px;
    }

    .top-links{
        flex-wrap:wrap;
        justify-content:center;
        gap:12px;
    }

    .page-title{
        padding:25px 15px;
    }

    .page-title h2{
        font-size:clamp(24px, 6vw, 32px);
    }

    .job-container{
        width:95%;
        padding-bottom:30px;
    }

    .job-content{
        padding:18px 14px;
    }

    .job-image img{
        height:200px;
    }

    .job-details h3{
        font-size:22px;
    }

    .job-details p{
        font-size:15px;
    }

    .apply-btn{
        width:100%;
        max-width:250px;
    }
}

/* Profile section */
.nav-auth-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* User icon + Abhijeet */
.nav-profile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
}

/* User icon */
.nav-profile-icon i {
    color: #ffb400;
    font-size: 20px;
}

/* Profile + Logout buttons */
.nav-auth-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Links */
.profile-btn,
.logout-btn {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* Hover */
.profile-btn:hover,
.logout-btn:hover {
    color: #ffb400 !important;
}