/* =========================================================
   RESET & VARIABLES - UNTIKA Theme
   Primary: #0B1E3A (dark blue)
   Accent:  #D4A745 (gold)
========================================================= */
:root {
    --primary: #0B1E3A;
    --primary-light: #1e3a5f;
    --primary-dark: #061224;
    --accent: #D4A745;
    --accent-light: #f0d080;
    --bg-light: #f8fafc;
    --text-dark: #0B1E3A;
    --text-gray: #475569;
    --white: #ffffff;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container {
    width: min(1180px, 92%);
    margin: auto;
}

/* =========================================================
   HEADER & TOPBAR
========================================================= */
.top-bar {
    background: var(--primary-dark);
    color: #94a3b8;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid #1e3a5f;
    font-weight: 400;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 20px;
}
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.top-bar-left a,
.top-bar-left .contact-item {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}
.top-bar-left a:hover,
.top-bar-left .contact-item:hover {
    color: #ffffff;
}
.top-bar-left .contact-item i {
    color: var(--accent);
    width: 16px;
    text-align: center;
}
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-bar-right .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
}
.top-bar-right .social-link:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212,167,69,0.3);
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229,231,235,0.6);
}
.navbar {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.3s;
}
.brand:hover img { transform: scale(1.05); }
.brand-text strong {
    display: block;
    font-family: 'Alata', sans-serif;
    font-size: 18px;
    color: var(--primary);
    letter-spacing: -0.3px;
    line-height: 1.2;
}
.brand-text span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.3px;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}
nav ul li { position: relative; }
nav ul li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: 8px;
    transition: 0.2s;
    text-decoration: none;
}
nav ul li > a:hover {
    background: #e8edf0;
    color: var(--primary);
}
nav ul li > a::after {
    content: "▾";
    font-size: 9px;
    margin-left: 2px;
    color: #94a3b8;
    transition: 0.2s;
}
nav ul li:hover > a::after {
    color: var(--accent);
    transform: rotate(180deg);
}

nav ul li .dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 8px 0;
    z-index: 1000;
    border: 1px solid #f1f5f9;
}
nav ul li:hover .dropdown {
    display: block;
    animation: fadeDown 0.25s ease;
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
nav ul li .dropdown a {
    display: block;
    padding: 10px 20px;
    color: #334155;
    font-weight: 500;
    font-size: 14px;
    transition: 0.15s;
    border-left: 3px solid transparent;
    text-decoration: none;
}
nav ul li .dropdown a:hover {
    background: #f8fafc;
    border-left-color: var(--accent);
    color: var(--primary);
}
nav ul li .nav-admin {
    background: var(--primary);
    color: #fff !important;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 700;
}
nav ul li .nav-admin:hover {
    background: var(--primary-light);
    color: #fff !important;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 6px;
    transition: 0.2s;
}
.menu-toggle:hover { background: #f1f5f9; }

@media (max-width: 992px) {
    .top-bar-left .contact-item.hide-mobile { display: none; }
}
@media (max-width: 768px) {
    .top-bar .container { flex-direction: column; align-items: center; text-align: center; gap: 4px; }
    .top-bar-left { justify-content: center; }
    .top-bar-right { justify-content: center; }
    nav ul {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(8px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 5%;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    }
    nav ul.active { display: flex; }
    nav ul li > a {
        width: 100%;
        padding: 12px 16px;
        justify-content: space-between;
    }
    nav ul li > a::after { content: "▾"; }
    .menu-toggle { display: block; }
    nav ul li .dropdown {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0 20px;
        background: transparent;
        animation: none;
    }
    nav ul li .dropdown a { padding: 8px 16px; border-left: 2px solid #e2e8f0; }
    nav ul li .dropdown a:hover { border-left-color: var(--accent); }
    nav ul li:hover .dropdown { display: none; }
    nav ul li.active-dropdown .dropdown { display: block !important; }
}
@media (max-width: 480px) {
    .top-bar-left .contact-item { font-size: 11px; }
    .top-bar-left .contact-item i { font-size: 11px; }
    .top-bar-right .social-link { width: 28px; height: 28px; font-size: 12px; }
    .brand img { width: 40px; height: 40px; }
    .brand-text strong { font-size: 15px; }
    .brand-text span { font-size: 9px; }
}

/* =========================================================
   HERO
========================================================= */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary);
}
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,30,58,0.92) 0%, rgba(11,30,58,0.30) 50%, rgba(11,30,58,0.85) 100%);
}
.hero-particles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.3), transparent),
                      radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.2), transparent),
                      radial-gradient(2px 2px at 60% 20%, rgba(255,255,255,0.3), transparent),
                      radial-gradient(2px 2px at 80% 80%, rgba(255,255,255,0.2), transparent);
    background-size: 200px 200px;
    animation: particleFloat 20s linear infinite;
}
@keyframes particleFloat {
    0% { background-position: 0 0; }
    100% { background-position: 200px 200px; }
}
.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0;
}
.hero-content-modern { color: white; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 24px;
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
    font-family: 'Alata', sans-serif;
    font-size: clamp(48px, 6vw, 72px);
    line-height: 1.05;
    margin-bottom: 20px;
}
.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-description {
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 560px;
    margin-bottom: 32px;
}
.hero-buttons-modern {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.btn-primary-modern {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary);
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(212,167,69,0.35);
}
.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(212,167,69,0.50);
}
.btn-primary-modern i { transition: transform 0.3s ease; }
.btn-primary-modern:hover i { transform: translateX(6px); }
.btn-outline-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-outline-modern:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
}
.hero-stats-mini {
    display: flex;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.10);
    flex-wrap: wrap;
}
.hero-stat-mini { display: flex; flex-direction: column; }
.hero-stat-number {
    font-family: 'Alata', sans-serif;
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 700;
    color: white;
}
.hero-stat-label {
    font-size: clamp(12px, 1vw, 14px);
    color: #94a3b8;
}
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    animation: float 6s ease-in-out infinite;
    white-space: nowrap;
}
.floating-card i {
    font-size: 20px;
    color: var(--accent);
}
.card-1 { top: 10%; left: 5%; animation-delay: 0s; }
.card-2 { top: 60%; right: 5%; animation-delay: 2s; }
.card-3 { bottom: 10%; left: 30%; animation-delay: 4s; }
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 30px; padding: 60px 0; }
    .hero-description { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-buttons-modern { justify-content: center; }
    .hero-stats-mini { justify-content: center; }
    .hero-visual { min-height: 180px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
    .floating-card { position: relative; animation: none; display: inline-flex; margin: 0; padding: 12px 20px; font-size: 13px; background: rgba(255,255,255,0.12); }
    .card-1, .card-2, .card-3 { top: auto; left: auto; right: auto; bottom: auto; animation: none; }
}
@media (max-width: 768px) {
    .hero-modern { min-height: auto; padding: 40px 0; }
    .hero-title { font-size: 28px; }
    .hero-description { font-size: 14px; margin-bottom: 24px; }
    .hero-badge { font-size: 11px; padding: 6px 16px; }
    .hero-buttons-modern { flex-direction: column; align-items: center; width: 100%; gap: 12px; }
    .btn-primary-modern, .btn-outline-modern { width: 100%; justify-content: center; padding: 14px 20px; font-size: 14px; }
    .hero-stats-mini { gap: 24px; padding-top: 16px; }
    .hero-stat-number { font-size: 22px; }
    .hero-stat-label { font-size: 12px; }
    .hero-visual { min-height: auto; padding: 10px 0; gap: 12px; }
    .floating-card { padding: 10px 16px; font-size: 12px; border-radius: 12px; }
    .floating-card i { font-size: 16px; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 24px; }
    .hero-description { font-size: 13px; }
    .hero-badge { font-size: 10px; padding: 4px 12px; }
    .badge-dot { width: 6px; height: 6px; }
    .btn-primary-modern, .btn-outline-modern { padding: 12px 16px; font-size: 13px; border-radius: 10px; }
    .hero-stats-mini { gap: 16px; padding-top: 14px; }
    .hero-stat-number { font-size: 20px; }
    .hero-stat-label { font-size: 11px; }
    .floating-card { padding: 8px 14px; font-size: 11px; border-radius: 10px; gap: 8px; }
    .floating-card i { font-size: 14px; }
    .hero-container { padding: 30px 0; gap: 20px; width: min(100%, 92%); }
}

/* =========================================================
   GENERAL SECTION
========================================================= */
section { padding: 90px 0; }
.section-header {
    margin-bottom: 42px;
    max-width: 700px;
}
.section-label {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.section-title {
    font-family: 'Alata', sans-serif;
    font-size: 34px;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.section-description { color: var(--text-gray); }

/* =========================================================
   CARDS (berita, dosen, fasilitas, dll)
========================================================= */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.card {
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    background: white;
    transition: .25s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.card-image {
    height: 190px;
    background: var(--border);
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-body { padding: 22px; }
.card-date {
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 7px;
}
.card h3 {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 10px;
}
.card p {
    font-size: 13px;
    color: var(--text-gray);
}

/* =========================================================
   DOSEN
========================================================= */
.lecturer { background: var(--bg-light); }
.lecturer-card { text-align: center; }
.lecturer-photo {
    width: 130px;
    height: 130px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--border);
}
.lecturer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lecturer-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
}
.lecturer-card p {
    color: var(--text-gray);
    font-size: 13px;
}

/* =========================================================
   FASILITAS
========================================================= */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.facility {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
}
.facility-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: #e8edf0;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 16px;
}
.facility h3 {
    font-size: 15px;
    margin-bottom: 5px;
}
.facility p {
    font-size: 12px;
    color: var(--text-gray);
}

/* =========================================================
   CTA
========================================================= */
.cta {
    background: linear-gradient(120deg, var(--primary), var(--primary-light));
    color: white;
    text-align: center;
}
.cta h2 {
    font-family: 'Alata', sans-serif;
    font-size: 38px;
    margin-bottom: 12px;
}
.cta p {
    max-width: 650px;
    margin: 0 auto 25px;
    color: #dbeafe;
}

/* =========================================================
   FOOTER
========================================================= */
footer {
    background: var(--primary-dark);
    color: white;
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 45px;
}
footer h3 {
    font-family: 'Alata', sans-serif;
    margin-bottom: 15px;
}
footer p, footer li {
    color: #94a3b8;
    font-size: 13px;
}
footer li { margin-bottom: 8px; }
footer a:hover { color: var(--accent); }
.copyright {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    color: #64748b;
    font-size: 12px;
    text-align: center;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px) {
    .about, .vision-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .facility-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    section { padding: 65px 0; }
    .brand-text strong { font-size: 14px; }
    .brand-text span { font-size: 9px; }
    .brand img { width: 44px; height: 44px; }
    .hero { min-height: 560px; }
    .hero h1 { font-size: 42px; }
    .hero p { font-size: 15px; }
    .section-title { font-size: 28px; }
    .stats-grid, .cards, .facility-grid, .footer-grid { grid-template-columns: 1fr; }
    .about-image { height: 300px; }
    .cta h2 { font-size: 30px; }
}