/*==================================================
    ABOUT PAGES CSS
    St. Stephen's College
===================================================*/

/*--------------------------------------------------
PAGE BANNER
--------------------------------------------------*/
.page-banner{
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
    position:relative;
}

.page-banner::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
}

.page-banner .container{
    position:relative;
    z-index:2;
}

.page-banner h2{
    font-size:42px;
    font-weight:700;
    color:#fff;
    letter-spacing:1px;
}

.breadcrumb{
    background:transparent;
    margin-bottom:0;
}

.breadcrumb-item a{
    color:#fff;
    text-decoration:none;
}

.breadcrumb-item.active{
    color:#ffc107;
}

/*--------------------------------------------------
SIDEBAR
--------------------------------------------------*/
.about-sidebar{
    position:sticky;
    top:20px;
}

.about-sidebar .card{
    border:none;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.about-sidebar .card-header{
    background:linear-gradient(135deg,#018ac1,#003b8e);
}

.about-sidebar .card-header h5{
    color:#fff;
    margin:0;
}

.sidebar-card img{
    width:100%;
    display:block;
}

/*--------------------------------------------------
ABOUT MENU
--------------------------------------------------*/
.about-menu{
    margin:0;
    padding:0;
}

.about-menu .list-group-item{
    padding:0;
    border:0;
    border-bottom:1px solid #ececec;
    transition:.3s;
}

.about-menu .list-group-item:last-child{
    border-bottom:none;
}

.about-menu .list-group-item a{
    display:flex;
    align-items:center;
    gap:12px;
    padding:15px 20px;
    text-decoration:none;
    color:#333;
    font-weight:500;
    transition:.3s;
}

.about-menu .list-group-item i{
    color:#0d6efd;
    width:18px;
}

.about-menu .list-group-item:hover{
    background:#f5f9ff;
}

.about-menu .list-group-item:hover a{
    color:#0d6efd;
    padding-left:28px;
}

.about-menu .list-group-item.active{
    background:#0d6efd;
}

.about-menu .list-group-item.active a,
.about-menu .list-group-item.active i{
    color:#fff;
}

/*--------------------------------------------------
COMMON CONTENT CARD
--------------------------------------------------*/
.content-card{
    background:#fff;
    border:none;
    border-radius:18px;
    padding:40px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

/*--------------------------------------------------
SECTION TITLE
--------------------------------------------------*/
.section-title{
    font-size:30px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#0d3b66;
    text-align:center;
    margin-bottom:35px;
    position:relative;
}

.section-title::after{
    content:"";
    display:block;
    width:80px;
    height:3px;
    background:#0d6efd;
    margin:15px auto 0;
}

/*--------------------------------------------------
COMMON PARAGRAPH
--------------------------------------------------*/
.content-card p{
    text-align:justify;
    line-height:1.9;
    color:#555;
    font-size:16px;
    margin-bottom:20px;
}

/*--------------------------------------------------
INFO CARD
--------------------------------------------------*/
.info-card{
    background:#f8f9fa;
    border-left:5px solid #0d6efd;
    padding:25px;
    border-radius:0 12px 12px 0;
    margin-bottom:25px;
    transition:.3s;
}

.info-card:hover{
    background:#eef5ff;
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.info-card p:last-child{
    margin-bottom:0;
}

/*--------------------------------------------------
MISSION BOX
--------------------------------------------------*/
.mission-box{
    border-left:5px solid #0d6efd;
    background:#f8f9fa;
    padding:20px 25px;
    margin-bottom:25px;
    border-radius:0 10px 10px 0;
    transition:.3s;
}

.mission-box:hover{
    background:#eef5ff;
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.mission-box h5{
    color:#0d3b66;
    font-weight:700;
    margin-bottom:15px;
}

/*--------------------------------------------------
CREST PAGE
--------------------------------------------------*/
.crest-logo{
    max-width:280px;
    background:#fff;
    border-radius:12px;
    padding:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.12);
}

.motto-card{
    background:linear-gradient(135deg,#0d6efd,#003b8e);
    color:#fff;
    border-radius:15px;
    text-align:center;
    padding:30px;
    margin-bottom:30px;
}

.motto-card h4,
.motto-card h5{
    color:#fff;
}

/*--------------------------------------------------
OFFICIAL WEBSITE BUTTON
--------------------------------------------------*/
.official-link{
    background:#0d3b66;
    color:#fff;
    border-radius:15px;
    text-align:center;
    padding:30px;
}

.official-link h5{
    color:#fff;
}

.official-link .btn{
    border-radius:40px;
    padding:12px 30px;
    font-weight:600;
}

/*--------------------------------------------------
TIMELINE
--------------------------------------------------*/
.timeline__content{
    background:#fff !important;
    border-radius:15px;
    padding:20px;
    border:1px solid #e8e8e8;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    text-align:center;
    transition:.35s;
}

.timeline__content:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.timeline__content .thumb{
    margin-bottom:18px;
}

.timeline__content .thumb img{
    width:140px;
    height:140px;
    border-radius:50%;
    object-fit:cover;
    border:6px solid #fff;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

.timeline__content h4{
    font-size:20px;
    font-weight:700;
    color:#0d3b66;
    margin-bottom:10px;
}

.timeline__content p{
    color:#0d6efd;
    font-weight:600;
    text-align:center;
    white-space:nowrap;
    margin-bottom:0;
}

.timeline-divider{
    background:#0d6efd !important;
}

.timeline__item:after{
    background:#0d6efd !important;
}

/*--------------------------------------------------
TABLES
--------------------------------------------------*/
.content-card table{
    width:100%;
    margin:30px 0;
}

.content-card table img{
    max-width:100%;
    height:auto;
}

/*--------------------------------------------------
IMAGES
--------------------------------------------------*/
.content-card img{
    max-width:100%;
    height:auto;
}

/*--------------------------------------------------
RESPONSIVE
--------------------------------------------------*/
@media (max-width:991px){

.about-sidebar{
    position:relative;
    top:0;
    margin-bottom:30px;
}

.content-card{
    padding:25px;
}

.page-banner h2{
    font-size:32px;
}

.section-title{
    font-size:24px;
}

.timeline__content .thumb img{
    width:110px;
    height:110px;
}

.crest-logo{
    max-width:220px;
}

.motto-card{
    padding:20px;
}

}

.member-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    border:1px solid #ececec;
    transition:.35s;
    height:100%;
}

.member-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.15);
}

.member-photo{
    background:#f8f9fa;
    height:300px;
    overflow:hidden;
}

.member-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.member-body{
    padding:25px;
    text-align:center;
}

.member-body h5{
    font-size:22px;
    color:#0d3b66;
    font-weight:700;
    margin-bottom:10px;
}

.designation{
    color:#0d6efd;
    font-weight:600;
    margin-bottom:15px;
}

.address{
    line-height:1.8;
    color:#555;
    margin-bottom:0;
}

.member-body hr{
    width:70px;
    margin:20px auto;
    border:2px solid #0d6efd;
    opacity:1;
}

@media(max-width:768px){

.member-photo{
    height:250px;
}

.member-body{
    padding:20px;
}

}


/* Chairman / Single Profile */

.profile-photo{
    padding:10px;
}

.profile-photo img{
    width:280px;
    height:280px;
    object-fit:cover;
    border-radius:50%;
    border:8px solid #ffffff;
    box-shadow:0 12px 35px rgba(0,0,0,.15);
    background:#f8f9fa;
}

.profile-card{
    background:#ffffff;
    border-left:5px solid #0d6efd;
    padding:40px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.profile-name{
    font-size:36px;
    font-weight:700;
    color:#0d3b66;
    margin-bottom:15px;
}

.title-divider{
    width:80px;
    height:3px;
    background:#0d6efd;
    margin:20px 0;
}

.profile-designation{
    color:#555;
    font-size:22px;
    font-weight:500;
    line-height:1.7;
}

@media(max-width:991px){

.profile-photo img{
    width:220px;
    height:220px;
}

.profile-card{
    text-align:center;
    border-left:none;
    border-top:5px solid #0d6efd;
    padding:30px;
}

.title-divider{
    margin:20px auto;
}

.profile-name{
    font-size:28px;
}

.profile-designation{
    font-size:18px;
}

}

.principal-image{
    margin-bottom:30px;
}

.principal-image img{
    width:330px;
    max-width:100%;
    border-radius:18px;
    border:8px solid #fff;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.principal-name{
    font-size:38px;
    font-weight:700;
    color:#0d3b66;
    margin-bottom:12px;
}

.principal-designation{
    color:#0d6efd;
    font-size:22px;
    font-weight:600;
    margin-bottom:20px;
}

.title-divider{
    width:90px;
    height:4px;
    background:#0d6efd;
    border-radius:10px;
    margin-bottom:35px;
}

.principal-content{
    border-top:1px solid #e9ecef;
    padding-top:35px;
}

.principal-content p{
    text-align:justify;
    line-height:2;
    font-size:17px;
    color:#555;
    margin-bottom:25px;
}

@media(max-width:768px){

.principal-image img{
    width:240px;
}

.principal-name{
    font-size:28px;
}

.principal-designation{
    font-size:18px;
}

.principal-content p{
    font-size:16px;
    line-height:1.9;
}

}
.assignment-table{
    border-radius:12px;
    overflow:hidden;
    margin-bottom:0;
}

.assignment-table thead th{
    background:#0d3b66;
    color:#fff;
    text-align:center;
    vertical-align:middle;
    font-weight:600;
    padding:16px;
}

.assignment-table tbody td{
    padding:15px;
    vertical-align:middle;
}

.assignment-table tbody tr:nth-child(even){
    background:#f8f9fa;
}

.assignment-table tbody tr:hover{
    background:#eef5ff;
}

.assignment-table td:first-child{
    text-align:center;
    font-weight:600;
}

.assignment-table td:last-child{
    font-weight:500;
}

@media(max-width:768px){

.assignment-table{
    font-size:14px;
}

.assignment-table th,
.assignment-table td{
    padding:10px;
}

}

.assignment-card{
    background:#fff;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    overflow:hidden;
    margin-bottom:35px;
}

.assignment-card .card-header{
    background:linear-gradient(135deg,#0d3b66,#0d6efd);
    color:#fff;
    padding:18px 25px;
}

.assignment-card .card-header h4{
    margin:0;
    font-size:22px;
    font-weight:700;
}

.assignment-table{
    margin-bottom:0;
}

.assignment-table thead th{
    background:#f4f7fb;
    color:#0d3b66;
    font-weight:700;
    text-align:center;
    vertical-align:middle;
}

.assignment-table tbody td{
    vertical-align:middle;
    padding:14px;
}

.assignment-table tbody tr:nth-child(even){
    background:#fafafa;
}

.assignment-table tbody tr:hover{
    background:#eef5ff;
}

.assignment-table td:first-child{
    width:70px;
    text-align:center;
    font-weight:600;
}

.assignment-table td:last-child{
    font-weight:500;
}

.principal-sign{
    text-align:right;
    margin-top:30px;
}

.principal-sign h5{
    color:#0d3b66;
    font-weight:700;
    margin-bottom:5px;
}

.principal-sign p{
    color:#666;
    margin:0;
}

@media(max-width:768px){

.assignment-card .card-header h4{
    font-size:18px;
}

.assignment-table{
    font-size:14px;
}

}

.staff-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    margin-bottom:30px;
}

.staff-header{
    background:linear-gradient(135deg,#0d3b66,#0d6efd);
    color:#fff;
    padding:18px 25px;
}

.staff-header h4{
    margin:0;
    font-size:22px;
    font-weight:700;
    color:#fff;
}

.staff-table{
    margin-bottom:0;
}

.staff-table thead th{
    background:#f5f8fc;
    color:#0d3b66;
    font-weight:700;
    text-align:center;
    vertical-align:middle;
}

.staff-table tbody td{
    padding:14px;
    vertical-align:middle;
}

.staff-table tbody tr:nth-child(even){
    background:#fafafa;
}

.staff-table tbody tr:hover{
    background:#eef5ff;
}

.staff-table td:first-child{
    text-align:center;
    font-weight:600;
    width:70px;
}

.staff-table td:nth-child(2){
    font-weight:600;
}

@media(max-width:768px){

.staff-header h4{
    font-size:18px;
}

.staff-table{
    font-size:14px;
}

.staff-table th,
.staff-table td{
    padding:10px;
}

}