/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #444;
    background: #f8f7f4;
    line-height: 1.7;
}
/* ==========================================
   LAYOUT (used by index.html)
========================================== */

:root {
  --navy: #0D2746;
  --teal: #2D8C9F;
  --bg: #F8F7F4;
  --text: #444;
}

.container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

/* ==========================================
   NAVBAR
========================================== */

.navbar {
    background: var(--bg);
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    height: 80px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.brand img {
    width: 40px;
    height: auto;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 600;
}
.brand-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-top: 2px;
}

/* ==========================================
   HERO (core styles used on index)
========================================== */

.hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    min-height: 60vh;
}

.hero-illustration {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    top: 0;
    width: min(1200px, 90%);
    height: 100%;
    background-image: url("../images/isi_campus_illustration.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 75%, rgba(0,0,0,0) 100%);
}

.hero-grid {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 760px;
}

.hero-text {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.eyebrow {
    color: var(--teal);
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.hide-mobile { display: inline; }

.hero h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 4.5rem;
    line-height: 0.95;
    color: var(--navy);
    margin-bottom: 1.2rem;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-primary,
.btn-secondary {
    text-decoration: none;
    padding: 0.9rem 1.5rem;
    border-radius: 4px;
    transition: 0.18s;
    min-width: 180px;
    text-align: center;
    display: inline-block;
    flex: 1;
}

.btn-primary {
    background: var(--navy);
    color: white;
}

.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
    border: 1px solid var(--navy);
    color: var(--navy);
}

.hero-metrics {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    border-right: 1px solid #d7d7d7;
}
.metric:last-child { border-right: none; }

.metric-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
}

.metric-label { color: #666; font-size: 0.85rem; margin-top: 0.35rem; }

/* FOOTER */
.site-footer {
    border-top: 1px solid #eee;
    padding: 1.5rem 0 1.8rem;
    margin-top: 2rem;
    background: transparent;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 0;
    font-size: 0.95rem;
    color: #6b6b6b;
}

.footer-column {
    flex: 1;
}

.footer-intro {
    max-width: 320px;
    font-weight: 400;
    color: inherit;
    margin-bottom: 0.2rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.footer-note,
.footer-address {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    font-weight: 400;
}

.footer-address a {
    color: inherit;
    text-decoration: none;
}

.footer-address a:hover,
.footer-address a:focus-visible {
    color: inherit;
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-items: flex-end;
    text-align: right;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #5f5f5f;
    text-decoration: none;
    padding: 0.05rem 0;
    position: relative;
    transition: color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.footer-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: rgba(13, 39, 70, 0.12);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.18s ease;
}

.footer-link:hover {
    color: var(--navy);
    transform: translateX(2px);
    opacity: 0.98;
}

.footer-link:hover::after {
    transform: scaleX(1);
}

.footer-link:focus-visible {
    outline: 3px solid rgba(45,140,159,0.12);
    outline-offset: 3px;
}

.footer-icon {
    width: 1.15rem;
    height: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
}

.footer-icon svg {
    width: 100%;
    height: 100%;
}

/* Responsive adjustments used by index.html */
@media (max-width: 900px) {
    .hero { padding: 1rem 0; min-height: auto; }
    .hero h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: center; width: 100%; }
    .hero-illustration { background-size: contain; background-position: center top; opacity: 0.06; left: 0; transform: none; width: 100%; }
    .hero-text { padding: 0 1rem; margin: 0 auto; width: 100%; max-width: none; }
    .hide-mobile { display: none; }
    .btn-primary, .btn-secondary { width: 92%; max-width: 520px; display: block; }
    .footer-content { flex-direction: column; padding: 1.2rem 1rem; gap: 1.2rem; }
    .footer-links { align-items: flex-start; gap: 0.7rem; }
}