/*=========================
        RESET
==========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f4f7fc;
    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{
    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;
}

.top-links a:hover{
    color:#ffb400;
}

/*=========================
        SEARCH
==========================*/

.search-box{
    display:flex;
}

.search-box input{
    width:260px;
    padding:12px;
    border:none;
    outline:none;
    border-radius:10px 0 0 10px;
}

.search-box button{
    padding:12px 25px;
    border:none;
    color:#fff;
    cursor:pointer;
    font-weight:600;
    border-radius:0 10px 10px 0;
    background:linear-gradient(135deg,#6d45ff,#ff4f7b,#ff8b3d);
}

/*=========================
        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;
    margin-right:15px;
    background:linear-gradient(135deg,#6d45ff,#ff4f7b,#ff8b3d);
    color:#fff !important;
    padding:10px 18px !important;
    border-radius:10px;
    font-weight:600;
}

.add-btn:hover{
    transform:translateY(-2px);
}

/*=========================
      PAGE TITLE
==========================*/

.page-title{
    text-align:center;
    padding:40px 20px;
}

.page-title h2{
    font-size:36px;
    color:#16215f;
}

.page-title p{
    margin-top:10px;
    color:#666;
}

/*=========================
    TEACHER CONTAINER
==========================*/

.teacher-container{
    width:92%;
    margin:auto;
    padding-bottom:50px;
}

/*=========================
      TEACHER CARD
==========================*/

.teacher-card{
    background:#fff;
    margin-bottom:35px;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.12);
}

.card-title{
    background:#3f76c3;
    color:#fff;
    text-align:center;
    font-size:22px;
    font-weight:600;
    padding:14px;
}

/*=========================
      CONTENT
==========================*/

.teacher-content{
    display:flex;
    align-items:center;
    gap:35px;
    padding:30px;
}

/*=========================
      IMAGE
==========================*/

.teacher-image{
    width:320px;
    flex-shrink:0;
}

.teacher-image img{
    width:100%;
    height:240px;
    object-fit:cover;
    border-radius:15px;
}

/*=========================
      DETAILS
==========================*/

.teacher-info{
    flex:1;
}

.teacher-info h2{
    color:#16215f;
    font-size:30px;
    margin-bottom:18px;
}

.teacher-info p{
    font-size:17px;
    margin:12px 0;
    line-height:1.7;
}

.teacher-info strong{
    color:#0b1033;
}

/*=========================
      BUTTON
==========================*/

.view-btn{
    display:inline-block;
    margin-top:22px;
    padding:14px 32px;
    text-decoration:none;
    color:#fff;
    font-size:17px;
    font-weight:600;
    border-radius:14px;
    background:linear-gradient(135deg,#6d45ff,#ff4f7b,#ff8b3d);
    transition:.3s;
}

.view-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(0,0,0,.2);
}

/*=========================
      FOOTER
==========================*/

footer{
    background:#0b1033;
    color:#fff;
    text-align:center;
    padding:35px;
}

footer h3{
    font-size:28px;
    margin-bottom:10px;
}

footer span{
    color:#ffb400;
}

footer p{
    color:#ddd;
    margin:5px 0;
}

/*=========================
      RESPONSIVE
==========================*/

@media(max-width:992px){

header{
    flex-direction:column;
    text-align:center;
    gap:20px;
}

.header-right{
    align-items:center;
}

.navbar{
    flex-wrap:wrap;
    justify-content:center;
}

.add-btn{
    margin:15px auto;
}

.teacher-content{
    flex-direction:column;
    text-align:center;
}

.teacher-image{
    width:100%;
}

.teacher-image img{
    height:260px;
}

.search-box{
    width:100%;
}

.search-box input{
    width:100%;
}

.teacher-info h2{
    font-size:28px;
}

}

@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);
    }

    .teacher-container{
        width:95%;
        padding-bottom:30px;
    }

    .teacher-content{
        padding:18px 14px;
    }

    .teacher-image img{
        height:200px;
    }

    .teacher-info h2{
        font-size:22px;
    }

    .teacher-info p{
        font-size:15px;
    }

    .view-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;
}