/* =========================================================
   Apotek Jasa Ibu - Stylesheet
   Palet: teal medis + putih bersih + aksen amber (peringatan stok)
   ========================================================= */

:root {
    --teal-900: #0b3d3a;
    --teal-700: #12615c;
    --teal-600: #157a73;
    --teal-500: #1a9690;
    --teal-100: #e3f3f1;
    --teal-50: #f2f9f8;
    --amber-500: #d98c1f;
    --amber-100: #fbeed9;
    --red-500: #c0392b;
    --red-100: #fbe4e1;
    --ink-900: #1f2624;
    --ink-600: #52605d;
    --ink-300: #c7d3d0;
    --bg: #f5f8f7;
    --card: #ffffff;
    --radius: 10px;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, Segoe UI, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink-900);
    font-size: 15px;
    line-height: 1.5;
}

a {
    color: var(--teal-600);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ---------- Layout dengan sidebar ---------- */
.app-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    background: var(--teal-900);
    color: #eafaf8;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar .brand {
    padding: 22px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar .brand .cross {
    display: inline-flex;
    width: 28px;
    height: 28px;
    background: var(--amber-500);
    border-radius: 7px;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--teal-900);
    margin-right: 8px;
}

.sidebar .brand-name {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.sidebar .brand-sub {
    font-size: 11.5px;
    color: #9fd6d0;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-top: 2px;
}

.sidebar nav {
    padding: 14px 10px;
    flex: 1;
    overflow-y: auto;
}

.sidebar .nav-section {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #6fada6;
    padding: 14px 12px 6px;
}

.sidebar a.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #d6efec;
    font-size: 14px;
    margin-bottom: 2px;
}

.sidebar a.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.sidebar a.nav-link.active {
    background: var(--teal-600);
    color: #fff;
    font-weight: 600;
}

.sidebar .user-box {
    padding: 14px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
}

.sidebar .user-box .u-name {
    font-weight: 600;
    color: #fff;
}

.sidebar .user-box .u-role {
    display: inline-block;
    margin-top: 4px;
    font-size: 11px;
    background: var(--amber-500);
    color: var(--teal-900);
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.sidebar .user-box .logout {
    display: block;
    margin-top: 10px;
    color: #ffb4a8;
    font-size: 13px;
}

.main {
    flex: 1;
    min-width: 0;
    padding: 28px 34px 50px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar h1 {
    font-family: var(--font-display);
    font-size: 26px;
    margin: 0;
    color: var(--teal-900);
}

.topbar .subtitle {
    color: var(--ink-600);
    font-size: 13.5px;
    margin-top: 2px;
}

/* ---------- Cards ---------- */
.card {
    background: var(--card);
    border: 1px solid #e4ece9;
    border-radius: var(--radius);
    padding: 20px 22px;
    margin-bottom: 20px;
}

.card h2,
.card h3 {
    font-family: var(--font-display);
    color: var(--teal-900);
    margin-top: 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--card);
    border: 1px solid #e4ece9;
    border-left: 4px solid var(--teal-600);
    border-radius: var(--radius);
    padding: 16px 18px;
}

.stat-card.warn {
    border-left-color: var(--amber-500);
}

.stat-card.danger {
    border-left-color: var(--red-500);
}

.stat-card .label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink-600);
}

.stat-card .value {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--teal-900);
    margin-top: 4px;
}

/* ---------- Forms ---------- */
label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-900);
    margin-bottom: 5px;
}

input[type=text],
input[type=number],
input[type=password],
input[type=date],
input[type=search],
select,
textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--ink-300);
    border-radius: 7px;
    font-size: 14px;
    font-family: var(--font-body);
    background: #fff;
    color: var(--ink-900);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--teal-500);
    outline-offset: 1px;
    border-color: var(--teal-500);
}

.form-row {
    margin-bottom: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 7px;
    border: none;
    background: var(--teal-600);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn:hover {
    background: var(--teal-700);
    text-decoration: none;
}

.btn-secondary {
    background: #eef3f2;
    color: var(--ink-900);
}

.btn-secondary:hover {
    background: #e0e9e7;
}

.btn-danger {
    background: var(--red-500);
}

.btn-danger:hover {
    background: #a5301f;
}

.btn-ok {
    background: var(--teal-600);
}

.btn-ok:hover {
    background: var(--teal-700);
}

.btn-sm {
    padding: 5px 11px;
    font-size: 12.5px;
}

/* ---------- Tables ---------- */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

thead th {
    text-align: left;
    background: var(--teal-50);
    color: var(--teal-900);
    padding: 10px 12px;
    border-bottom: 2px solid var(--teal-100);
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #edf2f1;
    vertical-align: middle;
}

tbody tr:hover {
    background: var(--teal-50);
}

.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
}

.badge-ok {
    background: var(--teal-100);
    color: var(--teal-700);
}

.badge-warn {
    background: var(--amber-100);
    color: var(--amber-500);
}

.badge-danger {
    background: var(--red-100);
    color: var(--red-500);
}

.badge-in {
    background: var(--teal-100);
    color: var(--teal-700);
}

.badge-out {
    background: var(--red-100);
    color: var(--red-500);
}

/* ---------- Alerts ---------- */
.alert {
    padding: 11px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 14px;
}

.alert-success {
    background: var(--teal-100);
    color: var(--teal-700);
    border: 1px solid #bfe3df;
}

.alert-error {
    background: var(--red-100);
    color: var(--red-500);
    border: 1px solid #f0c4bd;
}

/* ---------- Login page ---------- */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--teal-900), var(--teal-600));
}

.login-card {
    background: #fff;
    width: 380px;
    max-width: 92vw;
    border-radius: 14px;
    padding: 36px 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.login-card .cross-big {
    width: 46px;
    height: 46px;
    background: var(--amber-500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-900);
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 14px;
}

.login-card h1 {
    font-family: var(--font-display);
    color: var(--teal-900);
    margin: 0 0 4px;
    font-size: 24px;
}

.login-card p.sub {
    color: var(--ink-600);
    font-size: 13.5px;
    margin-bottom: 22px;
}

.login-card .btn {
    width: 100%;
    padding: 11px;
    font-size: 15px;
    margin-top: 6px;
}

.login-hint {
    margin-top: 18px;
    font-size: 12px;
    color: var(--ink-600);
    background: var(--teal-50);
    border-radius: 8px;
    padding: 10px 12px;
    line-height: 1.6;
}

/* ---------- Misc ---------- */
.text-right {
    text-align: right;
}

.text-muted {
    color: var(--ink-600);
}

.mt-0 {
    margin-top: 0;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.empty-state {
    padding: 30px;
    text-align: center;
    color: var(--ink-600);
}

.cart-total-box {
    background: var(--teal-900);
    color: #fff;
    border-radius: var(--radius);
    padding: 18px 22px;
}

.cart-total-box .label {
    color: #9fd6d0;
    font-size: 12px;
    text-transform: uppercase;
}

.cart-total-box .value {
    font-family: var(--font-display);
    font-size: 32px;
    margin-top: 2px;
}

@media print {
    .no-print {
        display: none !important;
    }

    .app-shell {
        display: block;
    }

    .main {
        padding: 0;
    }
}

/* ---------- Tables: horizontal scroll wrapper (prevents cut-off on phones) ---------- */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive table {
    min-width: 620px;
}

.table-responsive.wide table {
    min-width: 820px;
}

@media (max-width: 900px) {
    .app-shell {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    /* Sidebar becomes a compact, horizontally-scrollable pill nav on mobile
       instead of a long vertical list, so the page content isn't pushed
       far below the fold. */
    .sidebar {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 0;
    }

    .sidebar .brand {
        width: 100%;
        padding: 14px 16px;
        border-bottom: none;
    }

    .sidebar nav {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding: 8px 12px;
    }

    .sidebar .nav-section {
        display: none;
    }

    .sidebar a.nav-link {
        flex-shrink: 0;
        white-space: nowrap;
        margin-bottom: 0;
    }

    .sidebar .user-box {
        width: 100%;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px 14px;
        padding: 10px 16px;
    }

    .sidebar .user-box .logout {
        margin-top: 0;
        display: inline-block;
    }

    .main {
        padding: 18px 16px 40px;
    }

    .topbar h1 {
        font-size: 21px;
    }

    .card {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    #toast-stack {
        left: 12px;
        right: 12px;
        max-width: none;
        top: 12px;
    }

    .modal-box {
        padding: 18px 16px;
    }

    .search-wrap {
        width: 100% !important;
    }
}

/* =========================================================
   Interactive UI: toast, modal, spinner, live-search, skeleton
   ========================================================= */

/* ---------- Toast notifications ---------- */
#toast-stack {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 320px;
}

.toast {
    background: #fff;
    border-left: 4px solid var(--teal-600);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(11, 61, 58, 0.18);
    padding: 12px 16px;
    font-size: 13.5px;
    color: var(--ink-900);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    animation: toast-in 0.25s ease;
}

.toast.error {
    border-left-color: var(--red-500);
}

.toast.warn {
    border-left-color: var(--amber-500);
}

.toast .icon {
    font-weight: 800;
}

.toast.leaving {
    animation: toast-out 0.2s ease forwards;
}

@keyframes toast-in {
    from {
        transform: translateX(24px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-out {
    to {
        transform: translateX(24px);
        opacity: 0;
    }
}

/* ---------- Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 61, 58, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px 26px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    animation: modal-in 0.18s ease;
}

@keyframes modal-in {
    from {
        transform: translateY(10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-box .modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-box .modal-head h3 {
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--ink-600);
    line-height: 1;
    padding: 4px;
}

.modal-close:hover {
    color: var(--ink-900);
}

/* ---------- Spinner / loading ---------- */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.7s linear infinite;
    vertical-align: -3px;
    margin-right: 6px;
}

.spinner.dark {
    border: 2px solid rgba(21, 122, 115, 0.25);
    border-top-color: var(--teal-600);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ---------- Live search ---------- */
.search-wrap {
    position: relative;
}

.search-wrap input {
    padding-right: 32px;
}

.search-wrap .search-status {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--ink-600);
}

/* ---------- Skeleton loading rows ---------- */
.skeleton-row td {
    padding: 12px;
}

.skeleton-bar {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #eef3f2 25%, #e2ebe9 37%, #eef3f2 63%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.3s ease infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

/* ---------- Row fade-in ---------- */
.row-fade-in {
    animation: row-fade 0.25s ease;
}

@keyframes row-fade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Qty stepper ---------- */
.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ink-300);
    border-radius: 7px;
    overflow: hidden;
}

.qty-stepper button {
    background: var(--teal-50);
    border: none;
    width: 28px;
    height: 28px;
    font-size: 16px;
    font-weight: 700;
    color: var(--teal-700);
    cursor: pointer;
}

.qty-stepper button:hover {
    background: var(--teal-100);
}

.qty-stepper input {
    width: 44px;
    border: none;
    text-align: center;
    padding: 5px 0;
}

.qty-stepper input:focus {
    outline: none;
}

/* ---------- Cart item highlight on update ---------- */
.cart-item-updated {
    animation: pulse-bg 0.5s ease;
}

@keyframes pulse-bg {
    0% {
        background: var(--amber-100);
    }

    100% {
        background: transparent;
    }
}

.empty-state.small {
    padding: 16px;
    font-size: 13.5px;
}

/* =========================================================
   Landing Page (Publik, sebelum login)
   ========================================================= */

.landing {
    background: var(--bg);
}

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #e4ece9;
    padding: 14px 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-nav .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    color: var(--teal-900);
}

.landing-nav .brand .cross {
    display: inline-flex;
    width: 30px;
    height: 30px;
    background: var(--amber-500);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--teal-900);
}

.landing-nav .nav-links {
    display: flex;
    gap: 26px;
    align-items: center;
    font-size: 14px;
}

.landing-nav .nav-links a {
    color: var(--ink-900);
    font-weight: 500;
}

.landing-nav .nav-links a:hover {
    color: var(--teal-600);
    text-decoration: none;
}

.landing-nav .btn-login {
    background: var(--teal-900);
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13.5px;
}

.landing-nav .btn-login:hover {
    background: var(--teal-700);
    text-decoration: none;
}

.hero {
    background: radial-gradient(circle at 15% 20%, #164f4a 0%, var(--teal-900) 55%, #082523 100%);
    color: #eafaf8;
    padding: 64px 5vw 74px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(217, 140, 31, 0.25), transparent 70%);
    border-radius: 50%;
}

.hero .eyebrow {
    display: inline-block;
    background: rgba(217, 140, 31, 0.18);
    color: var(--amber-500);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 18px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 40px;
    line-height: 1.2;
    margin: 0 0 14px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero p.lead {
    color: #b7ded9;
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto 34px;
}

.search-box {
    max-width: 620px;
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    padding: 8px;
    display: flex;
    gap: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    position: relative;
    z-index: 2;
}

.search-box input {
    border: none;
    font-size: 15px;
    padding: 12px 14px;
    flex: 1;
    border-radius: 8px;
}

.search-box input:focus {
    outline: none;
}

.search-box button {
    background: var(--amber-500);
    color: var(--teal-900);
    border: none;
    border-radius: 8px;
    padding: 0 22px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.search-box button:hover {
    background: #c47f19;
}

.search-results {
    max-width: 620px;
    margin: 14px auto 0;
    text-align: left;
    position: relative;
    z-index: 2;
}

.search-result-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 18px;
    border-bottom: 1px solid #eef3f2;
    color: var(--ink-900);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item .info-nama {
    font-weight: 600;
    font-size: 14.5px;
}

.search-result-item .info-kategori {
    font-size: 12px;
    color: var(--ink-600);
}

.search-result-item .info-harga {
    font-weight: 700;
    color: var(--teal-700);
    font-size: 14px;
}

.search-hint {
    color: #9fd6d0;
    font-size: 12.5px;
    margin-top: 10px;
}

.section {
    padding: 64px 5vw;
    max-width: 1180px;
    margin: 0 auto;
}

.section .eyebrow-light {
    color: var(--teal-600);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section h2 {
    font-family: var(--font-display);
    font-size: 30px;
    color: var(--teal-900);
    margin: 0 0 10px;
}

.section p.section-sub {
    color: var(--ink-600);
    max-width: 620px;
    margin-bottom: 36px;
    font-size: 15px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
}

.about-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-list li {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #e4ece9;
    font-size: 14.5px;
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list .ic {
    width: 34px;
    height: 34px;
    background: var(--teal-100);
    color: var(--teal-700);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.about-list b {
    display: block;
    color: var(--teal-900);
    margin-bottom: 2px;
}

.info-panel {
    background: var(--teal-900);
    color: #eafaf8;
    border-radius: 16px;
    padding: 28px 26px;
}

.info-panel h3 {
    font-family: var(--font-display);
    margin-top: 0;
    color: #fff;
}

.info-panel .row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

.info-panel .row:last-child {
    border-bottom: none;
}

.info-panel .row span:first-child {
    color: #9fd6d0;
}

.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.edu-card {
    background: #fff;
    border: 1px solid #e4ece9;
    border-radius: 14px;
    padding: 22px 20px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.edu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(11, 61, 58, 0.1);
}

.edu-card .num {
    display: inline-flex;
    width: 30px;
    height: 30px;
    background: var(--teal-100);
    color: var(--teal-700);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 12px;
}

.edu-card h4 {
    font-family: var(--font-display);
    color: var(--teal-900);
    margin: 0 0 8px;
    font-size: 16.5px;
}

.edu-card p {
    color: var(--ink-600);
    font-size: 13.8px;
    margin: 0;
}

.cta-strip {
    background: linear-gradient(120deg, var(--teal-700), var(--teal-900));
    color: #fff;
    border-radius: 18px;
    padding: 40px 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 5vw 64px;
}

.cta-strip h3 {
    font-family: var(--font-display);
    margin: 0 0 6px;
    font-size: 22px;
}

.cta-strip p {
    margin: 0;
    color: #b7ded9;
    font-size: 14px;
}

.cta-strip .btn {
    background: var(--amber-500);
    color: var(--teal-900);
    font-weight: 700;
}

.cta-strip .btn:hover {
    background: #c47f19;
}

.landing-footer {
    border-top: 1px solid #e4ece9;
    padding: 28px 5vw;
    text-align: center;
    color: var(--ink-600);
    font-size: 13px;
}

@media (max-width: 800px) {
    .landing-nav .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .landing-nav {
        padding: 12px 4vw;
        flex-wrap: wrap;
        gap: 8px;
    }

    .landing-nav .brand {
        font-size: 15px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .landing-nav .brand .btn {
        padding: 6px 12px;
        font-size: 12.5px;
        order: 3;
    }

    .hero {
        padding: 44px 5vw 54px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .search-box {
        flex-direction: column;
        border-radius: 12px;
    }

    .search-box input {
        padding: 10px 12px;
    }

    .search-box button {
        padding: 11px 22px;
    }

    .cta-strip {
        padding: 28px 22px;
        text-align: center;
        justify-content: center;
    }
}