<!-- STYLES -->

/* ======================
   RESET & GLOBAL
====================== */
* {
    transition: background-color 300ms ease, color 300ms ease;
}

*:focus {
    background-color: rgba(221,72,20,.2);
    outline: none;
}

html, body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial;
    color: #212529;
}

/* ======================
   HEADER
====================== */
header {
    background: #f7f8f9;
    position: sticky;
    top: 0;
    z-index: 10000;
    padding: .4rem 0 0;
    margin: auto;
}

header .menu {
    position: sticky;
    top: 0;
    max-width: 1200px;
    margin: auto;
    height: 60px;
}

header .menu_container {
    position: sticky;
    top: 0;
    max-width: 1200px;
    margin: auto;
    height: 60px;
}

header ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: right;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

header li {
    display: inline-block;
}

header li a {
    display: block;
    height: 50px;
    line-height: 36px;
    border-radius: 5px;
    color: rgba(0,0,0,.5);
    text-decoration: none;
    margin: 0 auto;
    text-align: center;
    padding: 0px 10px 0px 10px;
}

header li a:hover {
    background: rgba(221,72,20,.2);
    color: #dd4814;
}

header li.menu-item a {
    border-radius: 5px;
    margin: 0 auto;
    height: 38px;
    line-height: 36px;
    padding: .4rem .65rem;
    text-align: center;
    z-index: 100;
 }
         
header li.menu-item a:hover,
header li.menu-item a:focus {
    background-color: rgba(221, 72, 20, .2);
    color: rgba(221, 72, 20, 1);
}
 
header li.menu-item-head a:hover,
header li.menu-item-head a:focus {
    background-color: rgba(221, 72, 20, .2);
    color: rgba(221, 72, 20, 1);
}

header li.menu-item-stat a:hover,
header li.menu-item-stat a:focus {
    background-color: rgba(221, 72, 20, .2);
    color: rgba(221, 72, 20, 1);
}

header .logo {
    float: left;
    width: 375px;
    height: 50px;
    padding: 5px 0px 5px 0px;
}

header .menu-toggle {
    display: none;
    float: right;
    font-size: 2rem;
    font-weight: bold;
}

header .menu-toggle button {
    background-color: rgba(221, 72, 20, .6);
    border: none;
    border-radius: 3px;
    color: rgba(255, 255, 255, 1);
    cursor: pointer;
    font: inherit;
    font-size: 1.3rem;
    height: 26px;
    padding: 0;
    margin: 0 auto;
    overflow: visible;
    width: 40px;
}

header .menu-toggle button:hover,
header .menu-toggle button:focus {
    background-color: rgba(221, 72, 20, .8);
    color: rgba(255, 255, 255, .8);
}

.sub_headmain {
    width: 1200px;
    height: 100px;
    overflow: hidden;
    opacity:1;
    margin: 0 auto;
}

.banner-fade {
    object-fit: cover;
    animation: fadeInBanner 1.5s ease-in-out;
}

/* ======================
   BERITA
====================== */

.article-card {
    position: absolute;
    border: none;
    border-radius: 5px;
    overflow: hidden;
    transition: 0.3s;
    background: #ffffff;
    padding: 10px 0px 10px 0px;
    height: 200px;
    width: 300px;
}

.article-card img {
    position: absolute;
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.article-container {
    position: absolute;
    border: none;
    border-radius: 5px;
    overflow: hidden;
    transition: 0.3s;
    background: #ffffff;
    padding: 10px 0px 10px 0px;
    height: 200px;
    width: 1200px;
}

.article-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-content {
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
}

.article-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

.article-content p {
    text-indent: 30px;
    margin-bottom: 15px;
}

.card-body {
    position: relative; 
    width: 870px;
    left: 320px; 
    height: 150px;
}

.card-title {
    position: relative;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.card-text {
    position: relative;
    padding: 10px;
    line-height: 1.5;
    text-align: justify;    
}

.card-foot {
    position: relative;
    line-height: 1.5;
    height: 35px;
    bottom: -15px;
    width: 870px;
    left: 320px;
}

.card-button {
    float: right;
}

.card-rilis {
    position: absolute;
    float: left;
    padding: 5px 0px 5px 10px;
}

.btn_kembali {
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    float: right;
}

.btn_kembali a:hover {    
    transform: translateY(-2px);
}

.btn_share {    
    
}

.btn_share a {
    display: inline-block;
    margin: 5px;
    padding: 8px 12px;
    background: #eee;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.btn_share a:hover {
    background: #ddd;
    transform: translateY(-2px);
}

.berita {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 10px 0px 10px 0px;
}

.berita_container {
    width: 1200px;
    height: 225px;
    margin: 0 auto;
    padding: 10px 0px 10px 0px;
}

.berita_grid {
    display: grid;
    grid-template-columns: 800px 400px;
    max-width: 1200px;
    margin: auto;
    gap: 5px;
    padding: 10px 0px 10px 0px;
}

.berita_grid_col_1 {
    width: 100%;
    margin: auto;
    gap: 5px;
    padding: 10px 10px 10px 0px;
}

.berita_grid_col_2 {
    width: 100%;
    margin: auto;
    gap: 5px;
    padding: 10px 0px 10px 10px;
}

.tgl_rilis {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
    text-align: right;
}

.berita_show {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 10px 0px 10px 0px;
}

.berita_show_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0px 10px 0px;
}

.berita_show_foot {
    display: inline-block;
    margin: 30px 0px 10px 0px;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    width: 790px;
    height: 50px;
}

.deskripsi {
    text-align: center;
    font-size: 16px;
    font-style: italic;
    color: gray;
    padding: 0px 0px 30px 0px;
}

.gambar_berita_video {
    object-fit: cover;
    text-align: center;
    padding: 10px 0px 10px 0px;
    margin: 0 auto;
    border-radius: 10px;
}

.gambar_berita_video video,
.gambar_berita_video img {
    object-fit: cover;
    text-align: center;
    padding: 10px 0px 10px 0px;
    margin: 0 auto;
    border-radius: 10px;
}

/* ======================
   BERITA
====================== */

/* Card */
.card-sidebar {
    background: #ffffff;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.8);
}

.card-sidebar:hover {
    transform: translateY(-3px);
}

/* Title */
.card-sidebar-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    border-left: 4px solid #007bff;
    padding-left: 10px;
}

/* News Item */
.news-sidebar-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}

.news-sidebar-item:hover {
    color: #007bff;
    transform: scale(1.05);
    transition: 0.3s;
}

/* Thumbnail */
.news-sidebar-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

/* Info */
.news-sidebar-info h4 {
    font-size: 14px;
    margin: 0;
    line-height: 1.3;
}

.news-sidebar-info span {
    font-size: 12px;
    color: #888;
}

/* ======================
   ELIBRARY
====================== */

.nav_berita {
    width: 100%;
    height: 100px;
    margin: 0 auto;
}

.nav_container_berita {
    width: 1200px;
    height: 50px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.5;
}

.navbar_elib {
    width: 1200px;
    padding: 15px 0px 15px 0px;
    justify-content: space-between;
    text-align: right;
    margin: 0 auto;
}

.navbar_elib input {
    padding: 8px;
    border-radius: 5px;
    border: red;
    width: 250px;
}

.ebooks_container {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.filter {
    margin-bottom: 20px;
}

.filter button {
    padding: 8px 12px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background: #e0e0e0;
    cursor: pointer;
}

.filter button:hover {
    background: #2e7d32;
    color: white;
}

.ebook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.ebook-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.ebook-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.ebook-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.ebook-card p {
    font-size: 13px;
    color: #555;
}

.ebook-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 10px;
    background: #2e7d32;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}


/* ======================
   DROPDOWN
====================== */
.dropdown {
    position: relative;
    z-index: 99999;
}
    
.dropdown-prodi-menu {
    display: none;
    position: fixed;
    top: 50px;
    width: 250px;
    background: rgba(20,20,30,.95);
    border-radius: 5px;
    height: 250px;
    transition: all 0.3s ease;
    z-index: 99998;
}

.dropdown-stat-menu {
    overflow: hidden;
    display: none;
    position: fixed;
    top: 50px;
    width: 300px;
    background: rgba(20,20,30,.95);
    border-radius: 5px;
    height: 225px;
    max-height: none;
    transition: all 0.3s ease;
    z-index: 99998;
}

.dropdown:hover .dropdown-prodi-menu {
    display: block;
}

.dropdown:hover .dropdown-stat-menu {
    display: block;
}

.dropdown-prodi-menu li {
    list-style: none;
}

.dropdown-prodi-menu li a {
    display: block;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.dropdown-prodi-menu li a:hover {
    padding-left: 5px;
}

.dropdown-prodi-toggle {
    color: #222;
    transition: 0.3s;
}

.dropdown-prodi-toggle:hover {
    color: #0072ff;
    z-index:999997;
}

.dropdown-stat-menu li {
    list-style: none;
}

.dropdown-stat-menu li a {
    display: block;
    padding: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.dropdown-stat-menu li a:hover {
    padding-left: 5px;
    width: 200px;
}

.dropdown-stat-toggle {
    color: #222;
    transition: 0.3s;
}

.dropdown-stat-toggle:hover {
    color: #0072ff;
    z-index:999996;
}

.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
}

/* ======================
   SEARCH BOX
====================== */

/* Badge status */
.badge-aktif {
    background: green;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

.badge-nonaktif {
    background: red;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Search box */
.dataTables_filter input {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 6px 10px;
    outline: none;
}

.dataTables_filter input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76,175,80,0.3);
}

.dataTables_wrapper .dataTables_filter {
    float: right;
    text-align: right;
    padding-bottom: 20px;
    font-size: 20px;
    width:300px;
}

/* ======================
   PAGINATION
====================== */

.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 10px;
    font-family: 'Segoe UI', sans-serif;
    backdrop-filter: blur(10px);
}

.pagination-info {
    color: #888;
    font-size: 14px;
}

.pagination-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-btn,
.page-number {
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    color: #444;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

/* Hover Effect */
.page-btn:hover,
.page-number:hover {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    transform: translateY(-2px);
}

/* Active Page */
.page-number.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: bold;
}

/* Disabled */
.page-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Dots */
.dots {
    padding: 0 5px;
    color: #aaa;
}

/* ======================
   PRODI & STAT BOX
====================== */
.prodi-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px,1fr));
    gap: 5px;
    padding: 5px;
}

.prodi-item {
    background: #fff;
    padding: 0px 10px 0px 10px;
    text-align: right;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.2s;
    width: 220px;
    height:30px;
}

.prodi-item span {
    font-size: 16px;
    color: #777;
}

.prodi-item a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 114, 255, 0.25);
    transition: 0.2s;
}

.stat-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
    gap: 5px;
    padding: 5px;
    widht: 300px;
    height: 235px;
    overflow: hidden;
}

.stat-item {
    background: #fff;
    padding: 5px;
    text-align: right;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.stat-item span {
    font-size: 14px;
    color: #777;
}

.stat-item stat {
    margin-top: 8px;
    font-size: 16px;
    color: #2e7d32;
}

/* ======================
   SECTION
====================== */
section {
    max-width: 100%;
    margin: auto;
}

section h1 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-style: normal;
}

section a {
    color: #dd4814;
}

section h2 {
    font-size: 120%;
    line-height: 0.25rem;
    padding-top: 0.25rem;
    text-align: center;
    }      
  
section h5 {
    font-size: 200%;
    line-height: 0.75rem;
    padding-top: 0.75rem;
    text-align: center;
    color: #e1ba66;
    } 
         
section pre {
    background-color: rgba(247, 248, 249, 1);
    border: 1px solid rgba(242, 242, 242, 1);
    display: block;
    font-size: .9rem;
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    white-space: pre-wrap;
    word-break: break-all;
    }

section code {
    display: block;
    }
       
section svg {
    margin-bottom: -5px;
    margin-right: 5px;
    width: 25px;
    }

section .heroe {
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 20px;
}

section .heroe_sshow {
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 20px;
}

section .heroe h1 {
    font-size: 2.5rem;
    font-weight: 500;
    }

section .heroe h2 {
    font-size: 1.5rem;
    font-weight: 300;
}

section ul {
    border-bottom: 1px solid rgba(242, 242, 242, 1);
    list-style-type: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    text-align: right;
}

section li {
    display: inline-block;
}

section li a {
    border-radius: 5px;
    color: rgba(0, 0, 0, .5);
    display: block;
    height: 44px;
    text-decoration: none;
}

section li.menu-item-head a {
    border-radius: 5px;
    margin: 5px 0;
    height: 30px;
    line-height: 28px;
    padding: .2rem .3 rem;
    color: rgb(255, 255, 255);
}
    
section li.menu-item-head a:hover,
section li.menu-item-head a:focus {
    background-color: rgba(221, 72, 20, .2);
    color: rgba(221, 72, 20, 1);
}
 
section li.menu-item-stat a {
    border-radius: 5px;
    margin: 5px 0;
    height: 30px;
    line-height: 28px;
    padding: .2rem .3 rem;
    color: rgb(255, 255, 255);
}

section li.menu-item-stat a:hover,
section li.menu-item-stat a:focus {
    background-color: rgba(221, 72, 20, .2);
    color: rgba(221, 72, 20, 1);
}
 
section .menu-toggle {
    display: none;
    float: right;
    font-size: 2rem;
    font-weight: bold;
}

section .menu-toggle button {
    background-color: rgba(221, 72, 20, .6);
    border: none;
    border-radius: 3px;
    color: rgba(255, 255, 255, 1);
    cursor: pointer;
    font: inherit;
    font-size: 1.3rem;
    height: 36px;
    padding: 0;
    margin: 11px 0;
    overflow: visible;
    width: 40px;
    }
    
section .menu-toggle button:hover,
section .menu-toggle button:focus {
    background-color: rgba(221, 72, 20, .8);
    color: rgba(255, 255, 255, .8);
}

section .table_beasiswa_container {             
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
}
        
section .table_prodi_container {             
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
}

section .table_tendik_container {             
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
}

section .table_ikupt_container {             
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
}
        
section .table_informasi {             
    margin: 0 auto;
    max-width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
}

section .table_informasi_container {             
    margin: 0 auto;
    max-width: 750px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
}

section .karir {
    margin: 0 auto;
    max-width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
}

section .karir_container {
    margin: 0 auto;
    max-width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
}
         
section .karir_container_2 {
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
    display: -webkit-box;
}

section .foot_main {
    margin-bottom: 1rem;
    background: linear-gradient(0deg, #f7f8f9, #fff);
    height: 40px;
    width: 100%;
    text-align: center;
}

section .sub_footmain {
    margin: 0 auto;
    width: 1200px;
    text-align: center;
}

section .maps {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    }

section .struktur {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    }

section .prodi_detail {
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    color: rgb(255, 255, 255);
    }
 
section .gallery {
    margin: 0 auto;
    max-width: 1200px;
    padding: 10px 0px 10px 0px;
    text-align: center;
    color: rgb(255, 255, 255);
    }
     
section .gallery-item {
    margin: 0 auto;
    width: 200px;
    height: 125px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    color: rgb(255, 255, 255);
    }

section .table_akreditasi {             
    margin: 0 auto;
    max-width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    }

section .table_akreditasi_container {             
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    }
        
section .table_beasiswa {             
    margin: 0 auto;
    max-width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    }

section .table_ikupt {             
    margin: 0 auto;
    max-width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    }

section .float_chat {             
    margin: 0 auto;
    border: none;
    max-width: 200px;
    height: 30px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    position: fixed;
    right: 15px;
    }

section .c_daftar {
    margin: 0 auto;
    max-width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    display: -webkit-box;
    }

section .c_daftar_container {
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    }

section .c_daftar_main {
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: left;
    }

section .c_daftar_item {
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: left;
    }

section .submit {
    margin: 0 auto;
    max-width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    display: -webkit-box;
    }

section .submit_container {
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: center;
    display: -webkit-box;
    }

section .show {
    display: block;
    }

section .hide {
    display: none;
    }

/* ======================
   BUTTONS
====================== */
.btn {    
    display: inline-block;
    padding: 5px 10px;
    color: #fff;
      text-decoration: none;
    border-radius: 10px; /* pill shape */
    background: linear-gradient(135deg, #66CC99, #00A86B);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg,#38ACEC,#2860DE);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg,#66CC99,#00A86B);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg,#38ACEC,#2860DE);
    transform: translateY(-2px);
}

.btn_prodi {
    display: inline-block;
    margin: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.25s ease;
}

.btn_prodi:hover {
    background: #0072ff;
    color: #fff;
    border-color: #0072ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 114, 255, 0.25);
}

.btn_prodi:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 114, 255, 0.2);
}

.head_prodi {
    margin: 8px auto;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    background: #ffffff;
    transition: all 0.25s ease;
    text-align: center;
    max-width: 1200px;
}

.btn_daftar {
  display: inline-block;
  padding: 5px 10px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  border-radius: 10px; /* pill shape */
  background: linear-gradient(135deg, #66CC99, #00A86B);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}

/* Hover effect */
.btn_daftar:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #38ACEC, #2860DE);
}

/* Active (klik) */
.btn_daftar:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.4);
}

.btn_lihat {
  display: inline-block;
  padding: 5px 10px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  border-radius: 10px; /* pill shape */
  background: linear-gradient(135deg, #66CC99, #00A86B);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}

/* Hover effect */
.btn_lihat:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #38ACEC, #2860DE);
}

/* Active (klik) */
.btn_lihat:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.4);
}

/* ======================
   SLIDER
====================== */
.mySlides { display: none; }

.prev, .next {
    position: absolute;
    top: 50%;
    padding: 12px;
    color: #fff;
    cursor: pointer;
}

/* ======================
   TABLE (GENERIC)
====================== */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    text-transform: uppercase;
    text-align: center;
}

.table tr:nth-child(even) {
    background: #fafafa;
}

.table tr:hover {
    background: #f5fdf6;
}

/* Table */
#table_beasiswa_id {
    border-collapse: collapse;
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
}

/* Header */
#table_beasiswa_id thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 20px;
    text-align: center;
}

/* Row */
#table_beasiswa_id tbody tr {
    transition: 0.2s;
}

#table_beasiswa_id tbody tr:hover {
    background: #f5fdf6;
    transform: scale(1.01);
}

/* Zebra */
#table_beasiswa_id tbody tr:nth-child(even) {
    background: #fafafa;
}

/* Cell */
#table_beasiswa_id td {
    vertical-align: middle;
}

/* Logo */
#table_beasiswa_id img {
    border-radius: 8px;
    object-fit: cover;
}

/* Table */
#table_prodi_id {
    border-collapse: collapse;
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
}

/* Header */
#table_prodi_id thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    text-align: center;
}

/* Row */
#table_prodi_id tbody tr {
    transition: 0.2s;
}

#table_prodi_id tbody tr:hover {
    background: #f5fdf6;
    transform: scale(1.01);
}

/* Zebra */
#table_prodi_id tbody tr:nth-child(even) {
    background: #fafafa;
}

/* Cell */
#table_prodi_id td {
    vertical-align: middle;
}

/* Logo */
#table_prodi_id img {
    border-radius: 8px;
    object-fit: cover;
}

/* Table */
#table_tendik_id {
    border-collapse: collapse;
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
}

/* Header */
#table_tendik_id thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 20px;
    text-align: center;
}

/* Row */
#table_tendik_id tbody tr {
    transition: 0.2s;
}

#table_tendik_id tbody tr:hover {
    background: #f5fdf6;
    transform: scale(1.01);
}

/* Zebra */
#table_tendik_id tbody tr:nth-child(even) {
    background: #fafafa;
}

/* Cell */
#table_tendik_id td {
    vertical-align: middle;
}

/* Logo */
#table_tendik_id img {
    border-radius: 8px;
    object-fit: cover;
}

/* Table */
#table_ikupt_id {
    border-collapse: collapse;
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
}

/* Header */
#table_ikupt_id thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 20px;
    text-align: center;
}

/* Row */
#table_ikupt_id tbody tr {
    transition: 0.2s;
}

#table_ikupt_id tbody tr:hover {
    background: #f5fdf6;
    transform: scale(1.01);
}

/* Zebra */
#table_ikupt_id tbody tr:nth-child(even) {
    background: #fafafa;
}

/* Cell */
#table_ikupt_id td {
    vertical-align: middle;
}

/* Logo */
#table_ikupt_id img {
    border-radius: 8px;
    object-fit: cover;
}

/* Table */
#table_akreditasi_id {
    border-collapse: collapse;
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
}

/* Header */
#table_akreditasi_id thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 20px;
    text-align: center;
}

/* Row */
#table_akreditasi_id tbody tr {
    transition: 0.2s;
}

#table_akreditasi_id tbody tr:hover {
    background: #f5fdf6;
    transform: scale(1.01);
}

/* Zebra */
#table_akreditasi_id tbody tr:nth-child(even) {
    background: #fafafa;
}

/* Cell */
#table_akreditasi_id td {
    vertical-align: middle;
}

/* Logo */
#table_akreditasi_id img {
    border-radius: 8px;
    object-fit: cover;
}

/* ======================
   FOOTER
====================== */

footer {
    text-align: center;
    margin: auto;
}

footer .environment {
    color: rgba(255, 255, 255, 1);
    background-color: rgb(165, 0, 0);
    margin: auto;
}
 
footer .env1 {
    color: rgba(255, 255, 255, 1);
    background-color: rgb(165, 0, 0);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: auto;
    gap: 5px;
    padding: 10px 0px 10px 0px;
}

.footer-col a {
    display: content;
    margin-bottom: 6px;
    color: #fff;
    padding: 10px 0px 10px 0px;
}

.footer-col a:hover {
    color: #ffffff;
    background-color: #000000;
    padding: 5px;
    border-radius: 5px;
}

footer li {
    display: inline-block;
    width: -webkit-fill-available;
}

footer li a {
    line-height: 30px;
    border-radius: 3px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    text-wrap-mode: nowrap;            
}

.menu-item-1 a {
    text-align:left;
    border-radius: 0.5rem;
    padding: 0.25rem;
}
 
.menu-item-1 a:hover,
.menu-item-1 a:focus {
    background-color: rgba(0, 0, 0, 1);
    color: rgb(255, 255, 255);
}

.menu-item-2 a {
    text-align:center;
    border-radius: 0.5rem;
    padding: 0.25rem;
}
 
.menu-item-2 a:hover,
.menu-item-2 a:focus {
    background-color: rgba(0, 0, 0, 1);
    color: rgb(255, 255, 255);
}

.menu-item-3 a {
    text-align:right;
    border-radius: 0.5rem;
    padding: 0.25rem;
}
 
.menu-item-3 a:hover,
.menu-item-3 a:focus {
    background-color: rgba(0, 0, 0, 1);
    color: rgb(255, 255, 255);
}

footer .medsos {    
    position: fixed;
    right: -50px;          /* pindah ke kanan */
    top: 50%;             /* tengah layar */
    transform: translateY(-50%); /* benar-benar center */    
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column; /* tetap vertikal */
    gap: 5px;              /* jarak antar icon */
    z-index: 10999;    
    color: rgba(0,0,0,.5);
    background: linear-gradient(180deg, #f7f8f9, #fff);
    margin: 5px 0px 5px 0px;
    border-radius: 10px 0px 0px 10px;
    border-style: outset;
}

/* Saat hover → muncul */
.medsos:hover {
    right: -3px;
}

.icon-medsos {
    width: 40px;
    height: 40px;
    margin: 5px;
    transition: 0.3s;
}

.icon-medsos:hover {
    transform: scale(1.15);
}

footer .copyrights {
    background: #3e3e3e;
    color: #e1ba66;
    padding: 10px;
    text-align: center;
}