/*====================================================
INTRODUCTION PAGE
====================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    background:#f7f8fb;
    color:#333;
    line-height:1.8;
}


/*====================================================
PAGE HEADER
====================================================*/

.intro-header{

    position:relative;

    height:320px;

    overflow:hidden;

}

.intro-header img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    transform:scale(1.02);

}

.intro-header .overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        90deg,
        rgba(10,33,75,.92),
        rgba(10,33,75,.55),
        rgba(10,33,75,.15)
    );

}

.intro-header h1{

    position:absolute;

    left:70px;

    bottom:120px;

    transform:none;

    color:#fff;

    width:auto;

    max-width:700px;

    text-align:left;

    font-size:4rem;

    font-weight:800;

    text-transform:uppercase;

    letter-spacing:.5px;

    line-height:1.2;

    z-index:5;

    text-shadow:0 3px 12px rgba(0,0,0,.35);

}


/*====================================================
CONTENT
====================================================*/

.intro-content{

    background:#fff;

    padding:70px 0;

}

.intro-content .container{

    max-width:1200px;

}


/* Remove Card Design */

.intro-card{

    background:transparent;

    padding:0;

    border:none;

    border-radius:0;

    box-shadow:none;

}


/*====================================================
TABS
====================================================*/

.modern-tabs{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:18px;

    border:none;

    margin-bottom:60px;

}

.modern-tabs .nav-item{

    margin:0;

}

.modern-tabs .nav-link{

    border:none !important;
    background:#fff;

    color:#4A1F74;

    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;
    font-size:18px;

    padding:15px 35px;

    position:relative;

    transition:.3s;
}

.modern-tabs .nav-link:hover{

    color:#F59E0B;

}

.modern-tabs .nav-link.active{

    color:#4A1F74;

}

.modern-tabs .nav-link::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:-8px;

    transform:translateX(-50%) scaleX(0);

    width:65px;

    height:5px;

    background:linear-gradient(
        90deg,
        #4A1F74,
        #F59E0B
    );

    transition:.3s;

}

.modern-tabs .nav-link.active::after{

    transform:translateX(-50%) scaleX(1);

}

/*====================================================
TAB CONTENT
====================================================*/

.tab-content{

    animation:fadeUp .4s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/*====================================================
HEADINGS
====================================================*/

.tab-pane h2{

    color:#2E0E57;

    font-size:2rem;

    font-weight:700;

    text-transform:uppercase;

    margin-bottom:10px;

}

.tab-pane h3{

    color:#2E0E57;

    margin-top:45px;

    margin-bottom:18px;

    font-size:1.35rem;

    text-transform:uppercase;

    font-weight:700;

}


/*====================================================
DECORATIVE LINE
====================================================*/

.line{

    width:180px;

    height:4px;

    background:linear-gradient(90deg,#d6d6d6,#2FA88A);

    margin-bottom:35px;

}


/*====================================================
TEXT
====================================================*/

.tab-pane p{

    text-align:justify;

    font-size:17px;

    color:#333;

    margin-bottom:22px;

}

.tab-pane strong{

    font-weight:500;

}


/*====================================================
LIST
====================================================*/

.tab-pane ol{

    padding-left:25px;

}

.tab-pane li{

    margin-bottom:14px;

}


/*====================================================
AFFILIATED COLLEGES
====================================================*/

.college-grid{

    display:grid;

    gap:16px;

    margin-top:30px;

}

.college-grid a{

    display:flex;

    align-items:center;

    padding:18px 22px;

    background:#fff;

    border-left:4px solid #2FA88A;

    border-bottom:1px solid #eceff3;

    color:#4A1F74;

    text-decoration:none;

    font-size:17px;

    font-weight:600;

    transition:.3s;

}

.college-grid a::before{

    content:"➜";

    color:#F59E0B;

    margin-right:14px;

    font-size:18px;

    transition:.3s;

}

.college-grid a:hover{

    padding-left:30px;

    border-left:8px solid #F59E0B;

    background:#f8fbff;

}

.college-grid a:hover::before{

    transform:translateX(5px);

}
/*====================================================
ADMIN TABLE
====================================================*/

.admin-table{

    width:100%;

    border-collapse:collapse;

    margin-top:25px;

}

.admin-table thead{

    background:#4A1F74;

    color:#fff;

}

.admin-table th{

    padding:18px;

    text-align:left;

    font-size:15px;

}

.admin-table td{

    padding:16px;

    border:1px solid #ddd;

    vertical-align:top;

}

.admin-table tbody tr:nth-child(even){

    background:#fafafa;

}

.admin-table tbody tr:hover{

    background:#eef5ff;

}


/*====================================================
FACILITY CAROUSEL
====================================================*/

.facility-carousel{

    margin-top:20px;

}

.facility-carousel img{

    height:550px;

    object-fit:cover;

    border-radius:5px;

}

.carousel-caption{

    background:rgba(0,0,0,.55);

    padding:12px 20px;

    border-radius:4px;

}

.carousel-caption h4{

    color:#fff;

    margin:0;

    font-weight:600;

}

.carousel-control-prev-icon,
.carousel-control-next-icon{

    background-color:rgba(0,0,0,.6);

    border-radius:50%;

    padding:18px;

}


/*====================================================
TABLE RESPONSIVE
====================================================*/

.table-responsive{

    overflow-x:auto;

}


.tab-pane ul{

    margin:20px 0;

    padding-left:25px;

}

.tab-pane ul li{

    margin-bottom:15px;

    line-height:1.8;

    color:#333;

}

.tab-pane ul li::marker{

    color:#0f4c81;

    font-size:1.1rem;

}

/*====================================================
RESPONSIVE
====================================================*/

@media(max-width:992px){

    .intro-header{

        padding:90px 0;

    }

    .intro-header h1{

        font-size:2.4rem;

    }

    .facility-carousel img{

        height:420px;

    }

}

@media(max-width:768px){

    .intro-content{

        padding:45px 0;

    }

    .modern-tabs{

        gap:10px;

    }

    .modern-tabs .nav-link{

        padding:12px 20px;

        font-size:14px;

    }

    .tab-pane h2{

        font-size:1.7rem;

    }

    .facility-carousel img{

        height:280px;

    }

    .admin-table th,
    .admin-table td{

        font-size:14px;

        padding:12px;

    }

}

@media(max-width:576px){

    .intro-header{

        padding:70px 0;

    }

    .intro-header h1{

        font-size:2rem;

    }

    .modern-tabs{

        justify-content:flex-start;

        overflow-x:auto;

        flex-wrap:nowrap;

        padding-bottom:10px;

    }

    .modern-tabs::-webkit-scrollbar{

        height:5px;

    }

    .modern-tabs::-webkit-scrollbar-thumb{

        background:#0b3d91;

    }

    .tab-pane p{

        font-size:15px;

    }

    .college-grid{

        grid-template-columns:1fr;

    }

    .facility-carousel img{

        height:220px;

    }

}