/* ===== 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;
}

/* 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;
}

/* 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;
    }
}
