/*====================================================
HEADER
====================================================*/

.gov-header{

    position:relative;
    width:100%;
    height:320px;
    overflow:hidden;

}

.gov-header img{

    width:100%;
    height:100%;
    object-fit:cover;

}

.gov-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)
    );

}

/*====================================================
HEADER CONTENT
====================================================*/

.gov-header-content{

    position:absolute;
    left:70px;
    bottom:60px;
    z-index:2;

}

.gov-header h1{

    margin:0 0 18px;
    color:#fff;
    font-size:3rem;
    font-weight:800;
    text-transform:uppercase;
    line-height:1.2;
    text-shadow:0 3px 12px rgba(0,0,0,.35);

}

/*====================================================
HEADER CONTACT
====================================================*/

.gov-header-contact{

    display:flex;
    flex-wrap:wrap;
    gap:28px;

}

.gov-header-item{

    display:flex;
    align-items:center;
    gap:10px;

    color:#fff;
    font-size:15px;
    font-weight:500;

}

.gov-header-item i{

    color:#F59E0B;
    width:18px;
    text-align:center;
    font-size:16px;

}



/*====================================================
CONTENT
====================================================*/

.gov-section{

    background:#fff;
    padding:90px 0 70px;      /* Increased top spacing */

}

.gov-container{

    max-width:1700px;
    margin:auto;
    padding:0 40px;

}

.gov-about{

    font-size:17px;
    color:#333;
    line-height:1.9;
    text-align:justify;
    font-weight:500;

}

.gov-about::after{

    content:"";
    display:block;
    clear:both;

}

/*====================================================
HEADING
====================================================*/

.gov-about h2{

    color:#4A1F74;
    font-size:2rem;
    font-weight:700;
    text-transform:uppercase;
    margin-bottom:35px;
    position:relative;

}

.gov-about h2::after{

    content:"";
    display:block;
    width:100px;
    height:5px;
    margin-top:12px;
    background:linear-gradient(90deg,#4A1F74,#F59E0B);
    border-radius:10px;

}

/*====================================================
PHOTO
====================================================*/

.gov-photo{

    float:right;
    width:400px;
    margin:0 0 35px 45px;

}

.gov-photo img{

    width:100%;
    height:300px;              /* Supports any aspect ratio */
    display:block;
    border-radius:8px;
    border:1px solid #e6e6e6;
    box-shadow:0 10px 28px rgba(0,0,0,.15);
	aspect-ratio:3/4;
    object-fit:cover;

}

/*====================================================
CAPTION
====================================================*/

.image-caption{

    background:#fff;
    text-align:center;
    padding:18px 15px;
    border-bottom:3px solid #F59E0B;

}

.image-caption h4{

    color:#4A1F74;
    font-size:1.2rem;
    font-weight:700;
    margin:0 0 8px;

}

.image-caption .c-designation{

    display:block;
    color:#F59E0B;
    font-size:15px;
    font-weight:700;
    line-height:1.6;

}

/*====================================================
TEXT
====================================================*/

.gov-about p{

    color:#222;
    line-height:2;
    margin-bottom:30px;

}

.gov-about strong{

    color:#4A1F74;
    font-weight:700;

}

.gov-about em{

    color:#F59E0B;
    font-style:normal;
    font-weight:600;

}

.c-qualification{

    display:block;
    margin-top:10px;
    color:#555;
    font-size:14px;
    font-weight:600;

}

.c-faculty{

    display:block;
    margin-top:8px;
    color:#777;
    font-size:14px;
    line-height:1.6;

}

/*====================================================
MODERN TABS
====================================================*/

.modern-tabs{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:18px;

    border:none;

    margin-bottom:60px;

}

.modern-tabs .nav-link{

    border:none !important;

    background:#fff;

    color:#4A1F74;

    font-size:17px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.5px;

    padding:15px 30px;

    position:relative;

    transition:.3s;

}

.modern-tabs .nav-link:hover{

    color:#F59E0B;

}

.modern-tabs .nav-link.active{

    color:#4A1F74;

    background:#fff;

}

.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{

    background:#fff;

}

.tab-pane{

    animation:govFade .35s ease;

}

@keyframes govFade{

    from{

        opacity:0;
        transform:translateY(8px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/*====================================================
UNIVERSAL CONTENT BLOCKS
====================================================*/

.gov-about h3{

    color:#F59E0B;

    font-size:1.35rem;

    font-weight:700;

    text-transform:uppercase;

    margin:40px 0 18px;

}

.gov-list{

    margin:0;

    padding-left:28px;

}

.gov-list li{

    margin-bottom:18px;

    line-height:1.9;

    color:#222;

}

.gov-list li::marker{

    color:#4A1F74;

}

/*====================================================
TABLE
====================================================*/

.gov-table{

    overflow-x:auto;

    margin:35px 0;

}

.gov-table table{

    width:100%;

    border-collapse:collapse;

    min-width:900px;

}

.gov-table th{

    background:#4A1F74;

    color:#fff;

    padding:16px;

    text-align:left;

    font-weight:700;

}

.gov-table td{

    padding:16px;

    border:1px solid #ececec;

    vertical-align:top;

    line-height:1.8;

    font-weight:500;

}

.gov-table tbody tr:nth-child(even){

    background:#fafafa;

}

/*====================================================
INFO CARDS
====================================================*/

.gov-card{

    background:#fff;

    border-left:5px solid #F59E0B;

    padding:25px;

    margin:30px 0;

    box-shadow:0 8px 20px rgba(0,0,0,.06);

}

.gov-card h3{

    margin-top:0;

}

/*====================================================
ORDERED LIST
====================================================*/

.gov-list{

    margin:20px 0 0;
    padding-left:28px;

}

.gov-list li{

    margin-bottom:18px;
    line-height:1.9;
    color:#222;
    text-align:justify;
    font-weight:500;

}

.gov-list li::marker{

    color:#4A1F74;
    font-weight:700;

}

/*====================================================
PROFILE GRID
====================================================*/

.gov-profile-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
    margin-top:40px;

}

.gov-profile-card{

    background:#fff;
    border:1px solid #ececec;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 8px 22px rgba(0,0,0,.08);
    transition:.3s;

}

.gov-profile-card:hover{

    transform:translateY(-5px);
    box-shadow:0 12px 28px rgba(0,0,0,.12);

}

.gov-profile-card img{

    width:100%;
    height:300px;
    object-fit:cover;
    display:block;

}

.gov-profile-info{

    padding:18px;
    text-align:center;

}

.gov-profile-info h4{

    margin:0 0 10px;
    color:#4A1F74;
    font-size:1.15rem;
    font-weight:700;

}

.gov-profile-info p{

    margin:0;
    color:#555;
    font-size:15px;
    line-height:1.7;

}

.gov-profile-info strong{

    color:#F59E0B;

}

/*====================================================
DOCUMENT LIST
====================================================*/

.gov-doc-list{

    list-style:none;
    margin:35px 0 0;
    padding:0;

}

.gov-doc-list li{

    margin-bottom:16px;

}

.gov-doc-list li a{

    display:flex;
    align-items:center;
    gap:18px;

    padding:18px 22px;

    background:#fff;

    border-left:5px solid #4A1F74;

    border-radius:8px;

    text-decoration:none;

    color:#222;

    box-shadow:0 5px 18px rgba(0,0,0,.06);

    transition:all .3s ease;

}

.gov-doc-list li a:hover{

    transform:translateX(8px);

    border-left-color:#F59E0B;

    box-shadow:0 12px 28px rgba(0,0,0,.12);

    background:#faf7ff;

}

.gov-doc-list .fa-file-pdf{

    font-size:28px;

    color:#d32f2f;

    flex-shrink:0;

    transition:.3s;

}

.gov-doc-list span{

    flex:1;

    font-size:16px;

    line-height:1.7;

    font-weight:500;

    transition:.3s;

}

.gov-doc-list .fa-arrow-right{

    color:#4A1F74;

    transition:.3s;

}

.gov-doc-list li a:hover span{

    color:#4A1F74;

}

.gov-doc-list li a:hover .fa-arrow-right{

    color:#F59E0B;

    transform:translateX(6px);

}

.gov-doc-list li a:hover .fa-file-pdf{

    transform:scale(1.08);

}
/*====================================================
RESPONSIVE
====================================================*/

@media(max-width:992px){

    .gov-header{

        height:260px;

    }

    .gov-header-content{

        left:40px;
        bottom:45px;

    }

    .gov-header h1{

        font-size:2.4rem;

    }

}

@media(max-width:768px){

    .gov-header{

        height:220px;

    }

    .gov-header-content{

        left:25px;
        right:25px;
        bottom:30px;

    }

    .gov-header h1{

        font-size:1.9rem;
        margin-bottom:15px;

    }

    .gov-header-contact{

        flex-direction:column;
        gap:8px;

    }

    .gov-header-item{

        font-size:14px;

    }

}

@media(max-width:576px){

    .gov-header{

        height:180px;

    }

    .gov-header h1{

        font-size:1.5rem;

    }

    .gov-header-item{

        font-size:13px;

    }

}
/*====================================================
RESPONSIVE
====================================================*/

@media(max-width:992px){

    .gov-section{

        padding:70px 0 50px;

    }

    .gov-photo{

        float:none;
        width:100%;
        max-width:420px;
        margin:0 auto 35px;

    }

}

@media(max-width:768px){

    .gov-section{

        padding:55px 0 40px;

    }

    .gov-container{

        padding:0 20px;

    }

    .gov-about{

        font-size:16px;

    }

    .gov-about h2{

        font-size:1.75rem;

    }

}

@media(max-width:768px){

    .modern-tabs{

        justify-content:flex-start;

        flex-wrap:nowrap;

        overflow-x:auto;

        gap:10px;

        padding-bottom:8px;

        scrollbar-width:none;

    }

    .modern-tabs::-webkit-scrollbar{

        display:none;

    }

    .modern-tabs .nav-link{

        white-space:nowrap;

        padding:12px 22px;

        font-size:14px;

    }

}

@media(max-width:768px){

    .gov-doc-list li a{

        padding:16px;

        gap:15px;

    }

    .gov-doc-list span{

        font-size:15px;

    }

}