@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --unias-blue: #990000;
    --unias-gold: #F9A826;
    --text-dark: #490000;
    --text-muted: #718096;
    --bg-light: #F7FAFC;
    --bg-card: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--unias-blue) !important;
}

.navbar-brand span {
    color: var(--unias-gold);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--unias-blue) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--unias-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.page-header {
    background: linear-gradient(135deg, var(--unias-blue) 0%, #1a3c63 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    border-bottom: 5px solid var(--unias-gold);
    margin-bottom: 50px;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header .lead {
    color: #cbd5e1;
    font-weight: 400;
}

.section-title {
    font-weight: 700;
    color: var(--unias-blue);
    position: relative;
    margin-bottom: 40px;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--unias-gold);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}


.faculty-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.faculty-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.faculty-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0) 100%);
    color: white;
    padding: 20px;
    transition: all 0.4s ease;
}

.faculty-card:hover .faculty-img {
    transform: scale(1.1);
}

.faculty-card:hover .faculty-overlay {
    background: rgba(10, 37, 64, 0.85);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.faculty-overlay h4 {
    color: var(--unias-gold);
    margin-bottom: 5px;
    transform: translateY(0); /* Posisi awal */
    transition: transform 0.4s ease;
}

.faculty-overlay p {
    color: #e2e8f0;
}

.accordion-item {
    background-color: transparent;
}

.accordion-button {
    color: var(--unias-blue) !important;
    background-color: var(--bg-card) !important;
    border-left: 4px solid var(--unias-gold);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--unias-blue) !important;
    color: white !important;
    border-left-color: white;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    background-color: var(--bg-card);
    color: var(--text-dark);
    line-height: 1.7;
    border: 1px solid rgba(0,0,0,0.05);
    border-top: none;
    border-radius: 0 0 8px 8px;
}

footer {
    background-color: var(--unias-blue) !important;
    border-top: 5px solid var(--unias-gold);
}

footer h5 {
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

footer .text-white-50 {
    color: #a0aec0 !important;
    line-height: 1.8;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--unias-gold) !important;
    text-decoration: none !important;
    padding-left: 8px;
}