/* =====================================
   RESET
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f6f8ff;
    color:#333;
}

/* =====================================
   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{
    margin-top:5px;
    font-size:15px;
    color:#ddd;
}

/* =====================================
   HEADER RIGHT
===================================== */

.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:250px;
    padding:12px;
    border:none;
    outline:none;
    border-radius:10px 0 0 10px;
}

.search-box button{
    padding:12px 25px;
    border:none;
    cursor:pointer;
    color:#fff;
    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;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
}

.navbar a{
    color:#fff;
    text-decoration:none;
    padding:16px 28px;
    font-weight:500;
    transition:.3s;
}

.navbar a:hover{
    color:#ffb400;
}

/* =====================================
   PAGE TITLE
===================================== */

.page-title{
    text-align:center;
    padding:40px 20px;
}

.page-title h2{
    font-size:42px;
    color:#1f2a7d;
    margin-bottom:10px;
}

.page-title p{
    color:#666;
    font-size:18px;
}

/* =====================================
   PROJECT CONTAINER
===================================== */

.project-container{

    width:92%;
    margin:30px auto;

}

/* =====================================
   PROJECT CARD
===================================== */

.project-card{

    background:#fff;
    border-radius:20px;
    margin-bottom:35px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;

}

.project-card:hover{

    transform:translateY(-6px);
    box-shadow:0 18px 35px rgba(0,0,0,.15);

}

/* =====================================
   CARD TITLE
===================================== */

.card-title{

    background:#16215f;
    color:#fff;
    text-align:center;
    padding:15px;
    font-size:24px;
    font-weight:600;

}

/* =====================================
   PROJECT BODY
===================================== */

.project-body{

    display:flex;
    gap:35px;
    align-items:flex-start;
    padding:30px;

}

/* =====================================
   PROJECT IMAGE
===================================== */

.project-image{

    width:340px;
    flex-shrink:0;

}

.project-image img{

    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:18px;

}

/* =====================================
   PROJECT DETAILS
===================================== */

.project-details{

    flex:1;

}

.project-details h2{

    color:#1f2a7d;
    font-size:30px;
    margin-bottom:18px;

}

.project-details p{

    font-size:17px;
    color:#161414;
    margin:10px 0;
    line-height:1.8;

}
.project-details strong{
    color: black;
}
/* =====================================
   ADDED USER
===================================== */

.added-user{
    display:flex;
    align-items:center;
    gap:15px;
    margin:20px 0;
}

.added-user img{
    width:55px;
    height:55px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #ffb400;
}

.added-user span{
    font-size:16px;
    color:#555;
    line-height:24px;
}

.added-user b{
    color:#16215f;
}

/* =====================================
   VIEW BUTTON
===================================== */

.view-btn{

    display:inline-block;
    margin-top:20px;
    padding:12px 28px;
    border-radius:10px;
    text-decoration:none;
    color:#fff;
    font-weight:600;
    transition:.3s;

    background:linear-gradient(
        135deg,
        #6d45ff,
        #ff4f7b,
        #ff8b3d
    );

}

.view-btn:hover{

    transform:translateY(-3px);

}

/* =====================================
   PHASE SECTION
===================================== */

.phase-section{

    padding:30px;

}

.phase-heading{

    background:#16215f;
    color:#fff;
    text-align:center;
    font-size:22px;
    font-weight:600;
    padding:14px;
    border-radius:10px 10px 0 0;

}

/* =====================================
   TABLE
===================================== */

table{

    width:100%;
    border-collapse:collapse;
    margin-top:0;

}

thead{

    background:#1f2a7d;
    color:#fff;

}

th{

    padding:15px;
    border:1px solid #fff;
    font-size:17px;

}

td{

    padding:14px;
    text-align:center;
    border:1px solid #ddd;
    font-size:16px;

}

tbody tr:nth-child(even){

    background:#f8f9ff;

}

tbody tr:hover{

    background:#eef3ff;

}

/* =====================================
   ACTIVITY BUTTON
===================================== */

.activity-btn{

    padding:10px 18px;
    border:none;
    border-radius:8px;
    color:#fff;
    cursor:pointer;
    font-weight:600;
    transition:.3s;

    background:linear-gradient(
        135deg,
        #6d45ff,
        #ff4f7b,
        #ff8b3d
    );

}

.activity-btn:hover{

    transform:scale(1.05);

}

/* =====================================
   FOOTER
===================================== */

footer{

    background:#0b1033;
    color:#fff;
    text-align:center;
    padding:35px 20px;
    margin-top:40px;

}

footer h3{

    font-size:28px;
    margin-bottom:10px;

}

footer p{

    color:#ddd;
    margin:6px 0;

}

/* =====================================
   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-direction:column;

    }

    .navbar a{

        width:100%;
        text-align:center;
        border-bottom:1px solid rgba(255,255,255,.1);

    }

    .project-body{

        flex-direction:column;
        align-items:center;
        text-align:center;

    }

    .project-image{

        width:100%;

    }

    .project-image img{

        height:260px;

    }

    .project-details{

        width:100%;

    }

    .added-user{

        justify-content:center;
        flex-direction:column;

    }

    .phase-section{

        overflow-x:auto;

    }

    table{

        min-width:700px;

    }

}

/* =====================================
   SMALL MOBILE
===================================== */

@media(max-width:576px){

    header{
        padding: 18px 16px;
    }

    .top-links{
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .logo h1{
        font-size:clamp(24px, 7vw, 32px);
    }

    .page-title{
        padding: 25px 15px;
    }

    .page-title h2{
        font-size:clamp(24px, 6vw, 32px);
    }

    .project-container{
        width: 95%;
        padding-bottom: 30px;
    }

    .project-card{
        padding: 18px 14px;
    }

    .project-details h2{
        font-size:22px;
    }

    .project-details p{
        font-size:15px;
    }

    .card-title{
        font-size:20px;
    }

    .phase-heading{
        font-size:18px;
    }

}
/* 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;
}