/* --- LSP UNINUS SHARED STYLESHEET --- */
/* Inspired by https://uninus.ac.id */

:root {
    --uninus-green: #008f4f;
    --uninus-green-dark: #006f3c;
    --uninus-yellow: #fbc02d;
    --uninus-yellow-dark: #e0a800;
    --bg-body: #ffffff;
    --bg-light: #f8f9fa;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --navbar-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-body);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

/* Common Header Styles */
.navbar-brand img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    color: var(--text-main) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 1rem;
    background-color: var(--uninus-yellow);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2rem);
}

.btn-uninus {
    background-color: var(--uninus-green);
    color: white;
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
}

.btn-uninus:hover {
    background-color: var(--uninus-green-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 143, 79, 0.2);
}

.btn-uninus-outline {
    background-color: transparent;
    color: var(--uninus-green);
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--uninus-green);
    transition: all 0.3s ease;
}

.btn-uninus-outline:hover {
    background-color: var(--uninus-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 143, 79, 0.2);
}

.btn-uninus-yellow {
    background-color: var(--uninus-yellow);
    color: #0f172a;
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
}

.btn-uninus-yellow:hover {
    background-color: var(--uninus-yellow-dark);
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(251, 192, 45, 0.2);
}

/* Stats Section */
.stats-badge {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.stats-badge:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.25);
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(0, 77, 41, 0.85), rgba(0, 111, 60, 0.75)), url('../hero 1.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, var(--bg-body), transparent);
    z-index: 2;
}

/* Page Headers */
.page-header {
    background-image: linear-gradient(rgba(0, 111, 60, 0.9), rgba(0, 77, 41, 0.9)), url('../hero 1.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
}

/* Cards & Hover Effects */
.card-uninus {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.card-uninus:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 143, 79, 0.1);
    border-color: rgba(0, 143, 79, 0.25);
}

/* Tables styling */
.table-uninus {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.table-uninus thead {
    background-color: var(--uninus-green);
    color: white;
}

.table-uninus th {
    padding: 1rem 1.5rem;
    font-weight: 700;
}

.table-uninus td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background-color: white;
    transition: background-color 0.2s ease;
}

.table-uninus tbody tr:hover td {
    background-color: #f1f8f4;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1);
}

/* Footer Section */
.footer-uninus {
    background-color: #00331a;
    color: #e2e8f0;
}

.footer-uninus h5 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-uninus h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--uninus-yellow);
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: var(--uninus-yellow);
    padding-left: 5px;
}

/* Form Styling */
.form-control, .form-select {
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--uninus-green);
    box-shadow: 0 0 0 3px rgba(0, 143, 79, 0.15);
}

.form-label {
    font-weight: 600;
    color: #334155;
}

.step-card {
    border-left: 4px solid var(--uninus-green);
    padding-left: 1rem;
}

.scheme-badge {
    background-color: #f1f8f4;
    color: var(--uninus-green);
    border: 1px solid rgba(0, 143, 79, 0.2);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .nav-link::after {
        display: none;
    }
}
