/* ===== WARNA UTAMA ===== */
:root {
    --primary-green: #49CCBC;
}

/* ===== Navbar ===== */
.navbar-brand img {
    height: 45px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #333;
}

.navbar-nav .nav-link.active {
    color: var(--primary-green);
    font-weight: 600;
}

/* Hover menu navbar */
.navbar-nav .nav-link:hover {
    color: var(--primary-green);
}

/* ===== Hero Section ===== */
.hero-section {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 0;
}

.hero-subtitle {
    color: #fff;
    margin-top: 20px;
    font-size: 18px;
}

/* Tombol */
.btn-outline-light {
    margin-top: 15px;
    padding: 8px 30px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }
}

/* ===== Dropdown Navbar Fix (Hijau) ===== */
.navbar .dropdown-menu {
    max-width: 500px;
    white-space: normal;
    padding: 0.5rem 0;
}

.navbar .dropdown-item {
    white-space: normal;
    line-height: 1.4;
    padding: 8px 16px;
    font-size: 14px;
}

/* Hover dropdown item */
.navbar .dropdown-item:hover {
    background-color: rgba(73, 204, 188, 0.15);
    color: var(--primary-green);
}

/* Garis pemisah */
.navbar .dropdown-menu li:not(:last-child) {
    border-bottom: 1px solid #e2f3f1;
}


.section-profile {
    background-color: #e5e5e5;
}

.profile-card {
    border-radius: 12px;
    padding: 30px;
}


/* ===== Program Studi Section ===== */
.section-program {
    background-color: #f8faf9;
}

.section-program h2 {
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.section-program p {
    font-size: 15.5px;
    line-height: 1.8;
}

/* ===== Program Card ===== */
.program-card {
    border-radius: 16px;
    padding: 24px 26px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Efek glow lembut */
.program-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right,
            rgba(255, 255, 255, 0.15),
            transparent 60%);
    pointer-events: none;
}

/* S1 Card */
.program-card.s1 {
    background: linear-gradient(135deg, #1f8f4a, #49CCBC);
}

/* S2 Card */
.program-card.s2 {
    background: linear-gradient(135deg, #166d63, #1f8f4a);
}

/* Judul Card */
.program-card h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Gambar */
.section-program img {
    border-radius: 16px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section-program img:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section-program h2 {
        font-size: 32px;
    }
}



/* ===== Section Counter ===== */
.section-counter {
    background: linear-gradient(135deg, #1f8f4a, #49CCBC);
    padding: 70px 0;
    color: #fff;
}

.counter-wrapper {
    align-items: center;
}

.counter-item {
    padding: 20px 10px;
    position: relative;
}

.counter-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
}

.counter-label {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

/* Divider antar kolom (desktop saja) */
@media (min-width: 768px) {
    .counter-item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 1px;
        height: 50%;
        background-color: rgba(255, 255, 255, 0.4);
    }
}

/* Responsive */
@media (max-width: 767px) {
    .counter-number {
        font-size: 32px;
    }
}



/* ===== News Section ===== */
.section-news {
    padding: 80px 0;
    background-color: #ffffff;
}

/* ===== Section Title ===== */
.section-title {
    position: relative;
}

.title-sub {
    display: block;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #49CCBC;
    /* hijau utama */
    margin-bottom: 8px;
    font-weight: 600;
}

.news-title {
    font-size: 34px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}

.title-line {
    width: 60px;
    height: 3px;
    background-color: #49CCBC;
    margin: 0 auto;
    border-radius: 5px;
}

.news-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-green);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .news-title {
        font-size: 26px;
    }
}


.news-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 50px;
    color: #333;
}

.news-card {
    border: none;
}

.news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 15px;
}

.news-heading {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.btn-news-more {
    background-color: var(--primary-green);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(73, 204, 188, 0.35);
}

.btn-news-more:hover {
    background-color: #3cb8aa;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(73, 204, 188, 0.45);
}


/* Responsive */
@media (max-width: 768px) {
    .news-image {
        height: 200px;
    }
}

/* ===== Footer ===== */
.footer-unand {
    background-color: #0f5f3a;
    color: #ffffff;
    padding: 60px 0 40px;
    font-size: 14px;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-contact p {
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo img {
    width: 45px;
}

.footer-logo span {
    font-weight: 600;
    font-size: 16px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 8px;
}

.footer-list a {
    color: #e0f2ea;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: #49CCBC;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-unand {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
}


.history-hero {
    background: linear-gradient(135deg, #e8f9f7, #ffffff);
    padding: 90px 0 70px;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-green);
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 10px 0;
}

.section-desc {
    font-size: 1rem;
    color: #6c757d;
}

.history-section {
    padding: 80px 0;
}

.history-intro {
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1rem;
    color: #555;
}

.timeline {
    position: relative;
    padding-left: 50px;
    border-left: 3px solid var(--primary-green);
}

.timeline-item {
    margin-bottom: 2px;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -11px;
    top: 5px;
    width: 18px;
    height: 18px;
    background-color: var(--primary-green);
    border-radius: 50%;
}

.timeline-year {
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 8px;
    margin-left: 20px;
}

.timeline-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.timeline-content h5 {
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}


/* ===== Vision ===== */
.vision-section {
    padding: 80px 0;
}

.vision-card {
    background: #fff;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
}

.vision-text {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    margin-top: 30px;
    color: #333;
}

/* ===== Mission ===== */
.mission-section {
    padding: 80px 0;
    background: #f9fafc;
}

.mission-card {
    background: #fff;
    padding: 35px 30px;
    height: 100%;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .06);
    transition: all .35s ease;
    text-align: center;
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .12);
}

.mission-icon {
    font-size: 36px;
    color: #f58220;
    margin-bottom: 20px;
}

.mission-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
}

.mission-card p {
    font-size: .95rem;
    line-height: 1.7;
    color: #555;
}


.section-news-detail {
    padding: 80px 0;
}

.news-detail-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
}

.news-detail-image {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 30px;
}

.news-detail-body {
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
}

.sidebar-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .07);
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-weight: 700;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-green);
    padding-left: 12px;
}

.sidebar-news {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
}

.sidebar-news:last-child {
    border-bottom: none;
}

.sidebar-news h6 {
    font-size: 0.95rem;
    margin: 5px 0 0;
}

.sidebar-news:hover h6 {
    color: var(--primary-green);
}


.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    z-index: 9999;
    transition: transform .2s ease, box-shadow .2s ease;
}

.wa-float img {
    width: 30px;
    height: 30px;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

/* ===== FILTER ===== */
.filter-select {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* ===== STAFF CARD ===== */
.staff-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    transition: all .35s ease;
}

.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .15);
}

/* Foto */
.staff-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.staff-card:hover .staff-image img {
    transform: scale(1.08);
}

/* Body */
.staff-body {
    padding: 22px 20px 26px;
}

.staff-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.staff-jabatan {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: var(--primary-green);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.staff-prodi {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

/* Button */
.staff-card .btn-outline-success {
    border-radius: 20px;
    font-size: 13px;
    padding: 6px 18px;
}

/* IMAGE */
.staff-image-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-image-wrapper:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.staff-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
}

/* INFO TEXT */
.staff-info h2 {
    font-size: 2rem;
    transition: color 0.3s ease;
}

.staff-info h2:hover {
    color: #1f8f4a;
}

.staff-info p {
    font-size: 1rem;
}

/* BUTTON */
.staff-info .btn {
    border-radius: 50px;
    padding: 0.6rem 2rem;
    transition: all 0.3s ease;
}

.staff-info .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


.profile-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10;
    /* BATAS 10 BARIS */
    overflow: hidden;
    transition: all 0.3s ease;
}

.profile-text.expanded {
    -webkit-line-clamp: unset;
}


/* === TIMELINE PRESENTASI ILMIAH === */
.timeline {
    position: relative;
    margin-left: 20px;
    padding-left: 30px;
    border-left: 3px solid #1f8f4a;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-dot {
    position: absolute;
    left: -11px;
    top: 10px;
    width: 16px;
    height: 16px;
    background-color: #1f8f4a;
    border-radius: 50%;
}

.timeline-content {
    background-color: #ffffff;
}

.timeline-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.timeline-date {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #6c757d;
}

.sdgs-image-wrapper {
    border: 4px solid #1e88e5;
    transition: all .3s ease;
}

.sdgs-card {
    background: #6c79d8;
    color: #fff;
    padding: 18px 12px;
    border-radius: 10px;
    font-size: 13px;
    min-height: 80px;
    text-decoration: none;
    transition: all .25s ease;
}

.sdgs-card:hover {
    background: #1e88e5;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    color: #fff;
}

.sdgs-card strong {
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.sdgs-hero {
    margin-top: 90px; /* sesuaikan dengan tinggi navbar */
}
