/* ===================================
   HERO SECTION
=================================== */

.state-institute-hero{
    background:#f7faff;
    padding:60px 0 40px;
    overflow:hidden;
}

.hero-badge{
    display:inline-block;
    padding:10px 18px;
    background:#eef4ff;
    color:#0d6efd;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
    letter-spacing:.5px;
    margin-bottom:20px;
}

.state-institute-hero h1{
    font-size:64px;
    font-weight:800;
    line-height:1.05;
    color:#0a2540;
    margin-bottom:20px;
}

.state-institute-hero h1 span{
    display:block;
    color:#2563eb;
}

.state-institute-hero p{
    font-size:18px;
    line-height:1.8;
    color:#6b7280;
    margin-bottom:30px;
}

.hero-mini-cards{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
}

.mini-card{
    background:#fff;
    border:1px solid #e8edf7;
    border-radius:14px;
    padding:16px;
    display:flex;
    align-items:center;
    gap:12px;
    transition:.3s;
}

.mini-card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(13,110,253,.08);
}

.mini-card i{
    color:#0d6efd;
    font-size:20px;
    width:24px;
    flex-shrink:0;
}

.mini-card span{
    font-weight:600;
    color:#0a2540;
}

.hero-image-wrap{
    text-align:center;
}

.hero-image-wrap img{
    max-height:500px;
    width:auto;
}

/* ===================================
   TOP TABS
=================================== */

/* ===================================
   TOP TABS
=================================== */

.institute-tabs-section{
    padding:30px 0;
}

.tab-btn{
    background:#fff;
    color:var(--bs-primary);
    border:2px solid var(--bs-primary);
    border-radius:8px;
    padding:10px 16px;
    font-size:14px;
    font-weight:600;
    transition:all .3s ease;
    cursor:pointer;
    min-width:100px;
}

.tab-btn:hover{
    background:#f5f9ff;
    transform:translateY(-2px);
}

.tab-btn.active{
    background:var(--bs-primary);
    color:#fff;
    border-color:var(--bs-primary);
    box-shadow:0 10px 25px rgba(13,110,253,.20);
}

.institute-tabs-section .container{
    display:flex;
    justify-content:center;
}

/* ===================================
   DIRECTORY SECTION
=================================== */

.institute-directory-section{
    padding:40px 0 60px;
}

.directory-layout{
    display:grid;
    grid-template-columns:280px 1fr;
    gap:25px;
}

/* ===================================
   SIDEBAR
=================================== */

.states-sidebar{
    background:#fff;
    border:1px solid #e8edf7;
    border-radius:18px;
    overflow:hidden;
    height:fit-content;
}

.sidebar-header{
    background:#0a2540;
    color:#fff;
    padding:18px;
    font-size:16px;
    font-weight:700;
}

.sidebar-search{
    padding:15px;
    border-bottom:1px solid #eef2f7;
}

.sidebar-search input{
    width:100%;
    height:45px;
    border:1px solid #dbe4f0;
    border-radius:10px;
    padding:0 15px;
}

.state-list{
    list-style:none;
    margin:0;
    padding:0;
    max-height:700px;
    overflow-y:auto;
}

.state-list li{
    padding:14px 18px;
    border-bottom:1px solid #eef2f7;
    cursor:pointer;
    transition:.3s;
}

.state-list li:hover{
    background:#f8fbff;
}

.state-list li.active{
    background:#eef4ff;
    color:#0d6efd;
    font-weight:700;
    border-left:4px solid #0d6efd;
}

/* ===================================
   SIDEBAR
=================================== */

.states-sidebar{
    background:#fff;
    border:1px solid #e8edf7;
    border-radius:18px;
    overflow:hidden;
    height:fit-content;
}

.sidebar-header{
    background:#0a2540;
    color:#fff;
    padding:18px;
    font-size:16px;
    font-weight:700;
}

.sidebar-search{
    padding:15px;
    border-bottom:1px solid #eef2f7;
}

.sidebar-search input{
    width:100%;
    height:45px;
    border:1px solid #dbe4f0;
    border-radius:10px;
    padding:0 15px;
}

.state-list{
    list-style:none;
    margin:0;
    padding:0;
    max-height:700px;
    overflow-y:auto;
}

.state-list li{
    padding:14px 18px;
    border-bottom:1px solid #eef2f7;
    cursor:pointer;
    transition:.3s;
}

.state-list li:hover{
    background:#f8fbff;
}

.state-list li.active{
    background:#eef4ff;
    color:#0d6efd;
    font-weight:700;
    border-left:4px solid #0d6efd;
}

/* ===================================
   CONTENT AREA
=================================== */

.content-area{
    min-height:700px;
}

.about-card{
    background:#fff;
    border:1px solid #e8edf7;
    border-radius:18px;
    padding:25px;
    margin-bottom:20px;
}

.about-card h3{
    color:#0a2540;
    font-weight:700;
    margin-bottom:15px;
}

.about-card p{
    color:#64748b;
    line-height:1.8;
    margin:0;
}

/* ===================================
   STATS
=================================== */

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:20px;
}

.stat-card{
    background:#fff;
    border:1px solid #e8edf7;
    border-radius:18px;
    padding:25px;
    text-align:center;
}

.stat-card h4{
    font-size:32px;
    font-weight:800;
    color:#0d6efd;
    margin-bottom:10px;
}

.stat-card span{
    color:#64748b;
    font-size:14px;
}

/* ===================================
   TABLE
=================================== */

.table-card{
    background:#fff;
    border:1px solid #e8edf7;
    border-radius:18px;
    overflow:hidden;
}

.college-table{
    width:100%;
    border-collapse:collapse;
}

.college-table thead{
    background:#f8fbff;
}

.college-table th{
    padding:18px;
    text-align:left;
    font-size:14px;
    font-weight:700;
    color:#0a2540;
    border-bottom:1px solid #e8edf7;
}

.college-table td{
    padding:18px;
    border-bottom:1px solid #eef2f7;
    vertical-align:middle;
}

.college-table tbody tr:hover{
    background:#f8fbff;
}

.view-btn{
    display:inline-block;
    background:#0d6efd;
    color:#fff;
    text-decoration:none;
    padding:8px 14px;
    border-radius:10px;
    font-size:13px;
    font-weight:600;
}

.view-btn:hover{
    color:#fff;
    background:#0b5ed7;
}

/* Counselling Page */

.counselling-card,
.info-card,
.reservation-card {
    background: #fff;
    border: 1px solid #e9edf5;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.counselling-card h3,
.info-card h4,
.reservation-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #0d2b52;
}

.counselling-card p,
.reservation-card p {
    margin-bottom: 0;
    color: #5b6780;
}

.visit-btn {
    display: inline-block;
    margin-top: 15px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
}

.visit-btn:hover {
    background: #1d4ed8;
    color: #fff;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.info-card ul {
    margin: 0;
    padding-left: 20px;
}

.info-card li {
    margin-bottom: 8px;
}

.reservation-card {
    border-left: 4px solid #2563eb;
}

.counselling-wrapper{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.content-card{
    background:#fff;
    border:1px solid #e9edf5;
    border-radius:12px;
    padding:24px;
}

.content-card h2{
    font-size:28px;
    font-weight:700;
    margin-bottom:15px;
}

.content-card h3{
    font-size:22px;
    font-weight:600;
    margin-bottom:15px;
}

.content-card table{
    margin-bottom:0;
}

.content-card li{
    margin-bottom:8px;
}