:root {
    /* Brand palette */
    --green-950: #052a1f;
    --green-900: #073d2b;
    --green: #084d36;
    --green-700: #0b6448;
    --green-600: #0f7c58;
    --gold: #cc9933;
    --gold-light: #e3b95e;
    --gold-dark: #9c7326;
    --cream: #ffff99;
    --cream-soft: #fffbd6;
    --white: #ffffff;
    --ink: #06231a;

    --text-light: rgba(255, 255, 255, 0.82);
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-light: rgba(204, 153, 51, 0.28);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-bg-hover: rgba(255, 255, 255, 0.09);
    --shadow: 0 24px 60px rgba(2, 14, 10, 0.45);

    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;

    --font-display: "Amiri", "Noto Naskh Arabic", "Georgia", serif;
    --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui,
        -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    color: var(--white);
    font-family: var(--font-body);
    background: var(--green-950);
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* ---------- Page background & geometric motif ---------- */

.landing-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 8%, rgba(204, 153, 51, 0.16), transparent 34%),
        radial-gradient(circle at 10% 85%, rgba(15, 124, 88, 0.4), transparent 42%),
        linear-gradient(160deg, #052a1f 0%, #084d36 46%, #0b6448 100%);
}

.landing-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23CC9933' stroke-width='1' opacity='0.16'%3E%3Cpath d='M42 6 L50 22 L68 16 L60 32 L78 38 L60 46 L68 62 L50 54 L42 70 L34 54 L16 62 L24 46 L6 38 L24 32 L16 16 L34 22 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 84px 84px;
}

.background-decoration {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.background-decoration-one {
    top: -180px;
    right: -130px;
    width: 440px;
    height: 440px;
    background: rgba(204, 153, 51, 0.16);
}

.background-decoration-two {
    bottom: -240px;
    left: -180px;
    width: 560px;
    height: 560px;
    background: rgba(6, 61, 43, 0.55);
}

.landing-container {
    position: relative;
    z-index: 2;
    width: min(100%, 900px);
    padding-top: 72px;
    padding-bottom: 34px;
}

/* ---------- Hero ---------- */

.hero-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    margin-bottom: 22px;
    border: 1px solid rgba(204, 153, 51, 0.55);
    border-radius: 50% 50% 18px 18px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    box-shadow:
        0 18px 45px rgba(2, 14, 10, 0.45),
        0 0 0 6px rgba(204, 153, 51, 0.08);
    backdrop-filter: blur(12px);
}

.institution-logo {
    display: block;
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.official-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: fit-content;
    margin: 0 auto 16px;
    padding: 8px 16px;
    color: var(--cream-soft);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid rgba(204, 153, 51, 0.5);
    border-radius: 999px;
    background: rgba(204, 153, 51, 0.12);
}

.official-badge i {
    color: var(--gold-light);
}

.hero-section h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.01em;
    background: linear-gradient(100deg, var(--gold-light) 5%, var(--cream) 45%, var(--gold-light) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 8px 30px rgba(2, 14, 10, 0.3);
}

.hero-description {
    max-width: 750px;
    margin: 18px auto 0;
    color: var(--text-light);
    font-size: clamp(0.96rem, 2vw, 1.08rem);
    line-height: 1.85;
}

/* ---------- Ornamental divider ---------- */

.ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 320px;
    margin: 40px auto 0;
    color: var(--gold);
}

.ornament-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(204, 153, 51, 0.65));
}

.ornament-divider span:last-child {
    background: linear-gradient(90deg, rgba(204, 153, 51, 0.65), transparent);
}

.ornament-divider i {
    font-size: 0.9rem;
    color: var(--gold-light);
}

/* ---------- Video ---------- */

.video-section {
    margin-top: 38px;
}

.video-card {
    position: relative;
    padding: 8px;
    overflow: hidden;
    border: 1px solid rgba(204, 153, 51, 0.35);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow);
    backdrop-filter: blur(15px);
}

.introduction-video {
    display: block;
    width: 100%;
    max-height: 500px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 21px;
    background: var(--green-950);
}

/* ---------- Information section ---------- */

.information-section {
    margin-top: 52px;
}

.section-heading {
    margin-bottom: 24px;
    text-align: center;
}

.section-heading span {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-light);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3vw, 1.95rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--white);
}

.information-list {
    display: grid;
    gap: 14px;
}

.information-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 92px;
    padding: 15px 18px;
    color: var(--white);
    text-align: left;
    text-decoration: none;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--card-bg);
    box-shadow: 0 12px 30px rgba(2, 14, 10, 0.2);
    backdrop-filter: blur(12px);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

button.information-card {
    appearance: none;
    font: inherit;
    cursor: pointer;
}

.information-card:hover {
    color: var(--white);
    border-color: rgba(204, 153, 51, 0.7);
    background: var(--card-bg-hover);
    box-shadow: 0 18px 38px rgba(2, 14, 10, 0.3);
    transform: translateY(-3px);
}

.information-card:focus-visible {
    outline: 3px solid rgba(227, 185, 94, 0.55);
    outline-offset: 3px;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    font-size: 1.4rem;
    border-radius: 50% 50% 13px 13px;
    box-shadow: inset 0 0 0 1px rgba(204, 153, 51, 0.3);
}

/* Gold-on-green is the default icon treatment; the WhatsApp card is the
   featured action, so it flips to a cream arch to draw the eye first. */
.card-icon.default,
.card-icon.brochure,
.card-icon.guide,
.card-icon.uniru,
.card-icon.stairuc,
.card-icon.cost,
.card-icon.instagram {
    color: var(--gold-light);
    background: rgba(204, 153, 51, 0.14);
}

.card-icon.whatsapp {
    color: var(--green);
    background: linear-gradient(160deg, var(--cream), var(--gold-light));
    box-shadow: inset 0 0 0 1px rgba(8, 77, 54, 0.25);
}

.whatsapp-card {
    border-color: rgba(204, 153, 51, 0.55);
    background: linear-gradient(135deg, rgba(204, 153, 51, 0.14), rgba(255, 255, 255, 0.04));
}

.card-content {
    min-width: 0;
}

.card-content strong {
    display: block;
    margin-bottom: 5px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
}

.card-content small {
    display: block;
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

.information-card:hover .card-arrow {
    color: var(--gold-light);
    background: rgba(204, 153, 51, 0.14);
    transform: translateX(3px);
}

/* ---------- Footer ---------- */

.page-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 48px;
    padding-top: 26px;
    border-top: 1px solid rgba(204, 153, 51, 0.22);
    color: var(--text-muted);
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(204, 153, 51, 0.35);
    border-radius: 50% 50% 10px 10px;
    background: rgba(255, 255, 255, 0.05);
}

.footer-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.page-footer p {
    margin: 0;
    font-size: 0.85rem;
}

/* ---------- WhatsApp modal ---------- */

.whatsapp-modal {
    overflow: hidden;
    color: var(--ink);
    border: 0;
    border-radius: 26px;
    box-shadow: 0 30px 80px rgba(2, 14, 10, 0.5);
}

.whatsapp-modal .modal-header {
    align-items: flex-start;
    padding: 26px 26px 20px;
    background: linear-gradient(135deg, var(--cream-soft), #fff);
    border-bottom: 1px solid rgba(204, 153, 51, 0.25);
}

.modal-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--gold-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.whatsapp-modal .modal-title {
    margin-bottom: 7px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--green);
}

.whatsapp-modal .modal-header p {
    margin: 0;
    color: #5c6b62;
    font-size: 0.9rem;
    line-height: 1.55;
}

.whatsapp-modal .btn-close {
    margin: 0;
}

.whatsapp-modal .modal-body {
    padding: 20px 26px;
    background: #fbf9f1;
}

.admin-list {
    display: grid;
    gap: 11px;
}

.admin-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 13px;
    color: var(--ink);
    text-decoration: none;
    border: 1px solid #e7e0cc;
    border-radius: 17px;
    background: #ffffff;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.admin-card:hover {
    color: var(--ink);
    border-color: rgba(204, 153, 51, 0.6);
    box-shadow: 0 12px 26px rgba(8, 77, 54, 0.12);
    transform: translateY(-2px);
}

.admin-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--green);
    border-radius: 50% 50% 11px 11px;
    background: linear-gradient(160deg, var(--cream), #ffe98f);
}

.admin-information {
    min-width: 0;
}

.admin-information strong {
    display: block;
    margin-bottom: 3px;
    font-size: 0.93rem;
    font-weight: 700;
}

.admin-information small {
    display: block;
    overflow: hidden;
    color: #8a7f5f;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 10px;
    background: var(--green);
}

.whatsapp-modal .modal-footer {
    justify-content: flex-start;
    padding: 15px 26px 21px;
    background: #fbf9f1;
    border-top: 1px solid rgba(204, 153, 51, 0.2);
}

.whatsapp-modal .modal-footer p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: #8a7f5f;
    font-size: 0.76rem;
    line-height: 1.5;
}

.whatsapp-modal .modal-footer i {
    margin-top: 2px;
    color: var(--gold-dark);
}

/* ---------- Reveal animation ---------- */

.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 700ms ease,
        transform 700ms ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 767.98px) {
    .landing-container {
        padding: 42px 17px 28px;
    }

    .logo-wrapper {
        width: 104px;
        height: 104px;
        border-radius: 50% 50% 16px 16px;
    }

    .institution-logo {
        width: 78px;
        height: 78px;
    }

    .hero-description {
        line-height: 1.7;
    }

    .ornament-divider {
        margin-top: 32px;
    }

    .video-section {
        margin-top: 28px;
    }

    .video-card {
        padding: 5px;
        border-radius: 21px;
    }

    .introduction-video {
        border-radius: 16px;
    }

    .information-section {
        margin-top: 40px;
    }

    .information-card {
        grid-template-columns: 51px minmax(0, 1fr) 28px;
        gap: 12px;
        min-height: 82px;
        padding: 13px;
        border-radius: 17px;
    }

    .card-icon {
        width: 51px;
        height: 51px;
        font-size: 1.2rem;
        border-radius: 50% 50% 11px 11px;
    }

    .card-content strong {
        font-size: 0.91rem;
    }

    .card-content small {
        font-size: 0.76rem;
    }

    .page-footer {
        align-items: center;
        flex-direction: column;
        gap: 8px;
        margin-top: 38px;
    }

    .whatsapp-modal .modal-header,
    .whatsapp-modal .modal-body,
    .whatsapp-modal .modal-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .admin-card {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 10px;
        padding: 11px;
    }

    .admin-avatar {
        width: 44px;
        height: 44px;
    }

    .admin-action {
        padding: 7px 9px;
    }
}

@media (max-width: 420px) {
    .card-content small {
        display: none;
    }

    .information-card {
        min-height: 76px;
    }

    .admin-action {
        width: 39px;
        height: 39px;
        justify-content: center;
        padding: 0;
        font-size: 0;
        border-radius: 12px;
    }

    .admin-action i {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-item {
        opacity: 1;
        transform: none;
    }
}