/* =========================================================
   ORIC — Grand Asian University, Sialkot
   Theme: Navy (#0A2240) + Gold (#D4A017)
   ========================================================= */

:root {
    --navy: #0A2240;
    --navy-800: #0D2A4E;
    --navy-dark: #071A33;
    --navy-deep: #051224;
    --gold: #D4A017;
    --gold-btn: #DFA92B;
    --gold-dark: #B8890F;
    --gold-light: #F3C96B;
    --ink: #1E293B;
    --muted: #5A6B80;
    --line: #E3E8F0;
    --bg-soft: #EEF1F6;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(7, 26, 51, 0.10);
    --radius: 12px;
    --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-btn);
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all .25s ease;
    font-family: var(--font-body);
}
.btn i { transition: transform .25s ease; }
.btn:hover { background: var(--navy); color: var(--gold-light); box-shadow: var(--shadow); }
.btn:hover i { transform: translateX(5px); }
.btn--outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}
.btn--outline:hover { background: var(--gold); color: var(--navy-dark); }

/* ---------- Section headings ---------- */
.sec-title {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--navy);
    font-family: var(--font-body);
}
.sec-title .accent { color: var(--gold); }
.sec-title-bar {
    width: 46px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    margin-top: 8px;
}

/* =========================================================
   TOPBAR
   ========================================================= */
.topbar {
    background: var(--navy-dark);
    color: #C9D4E3;
    font-size: 13px;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 42px;
    flex-wrap: wrap;
}
.topbar__contact { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 8px; color: #C9D4E3; transition: color .2s; }
.topbar__contact a:hover { color: var(--gold-light); }
.topbar__contact i { color: var(--gold); font-size: 13px; }
.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar__links a { color: #C9D4E3; transition: color .2s; display: inline-flex; align-items: center; gap: 6px; }
.topbar__links a:hover { color: var(--gold-light); }
.topbar__social { display: flex; align-items: center; gap: 16px; margin-left: 6px; }
.topbar__social a { color: #C9D4E3; font-size: 14px; transition: color .2s, transform .2s; }
.topbar__social a:hover { color: var(--gold); transform: translateY(-2px); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.header {
    background: var(--white);
    box-shadow: 0 2px 14px rgba(7, 26, 51, .08);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 104px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand__seal { width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.brand__divider { width: 3px; height: 62px; background: var(--gold); border-radius: 2px; }
.brand__name {
    font-family: var(--font-head);
    font-size: 34px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.05;
    letter-spacing: 1px;
}
.brand__sub { font-size: 12.5px; color: var(--navy); font-weight: 500; line-height: 1.4; }
.brand__uni { font-size: 12.5px; color: var(--gold); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav__list { display: flex; align-items: center; gap: 1px; }
.nav__list a {
    display: block;
    padding: 10px 9px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--navy);
    position: relative;
    transition: color .2s;
    white-space: nowrap;
}
.nav__list a::after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 2px;
    height: 3px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.nav__list a:hover, .nav__list a.active { color: var(--gold); }
.nav__list a:hover::after, .nav__list a.active::after { transform: scaleX(1); }

/* --- About Us dropdown --- */
.nav__dd { position: relative; }
.nav__dd-caret { font-size: 9px; margin-left: 4px; transition: transform .25s; }
.nav__dd:hover .nav__dd-caret { transform: rotate(180deg); }
.nav__dd-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px;
    background: var(--white);
    border-top: 3px solid var(--gold);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 40px rgba(7, 26, 51, .18);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
    z-index: 150;
}
.nav__dd:hover .nav__dd-menu,
.nav__dd:focus-within .nav__dd-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav__dd-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: none;
    color: var(--navy);
    white-space: nowrap;
    transition: all .2s;
}
.nav__dd-menu li a i { color: var(--gold); font-size: 13px; width: 16px; text-align: center; }
.nav__dd-menu li a::after { display: none; }
.nav__dd-menu li a:hover { background: #F6F8FB; color: var(--gold-dark); padding-left: 26px; }

.nav__search {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--gold-btn);
    color: var(--navy-dark);
    border: none;
    cursor: pointer;
    font-size: 15px;
    margin-left: 10px;
    transition: all .25s;
    flex-shrink: 0;
}
.nav__search:hover { background: var(--navy); color: var(--gold-light); }

.nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 2px solid var(--navy);
    background: transparent;
    color: var(--navy);
    font-size: 18px;
    cursor: pointer;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    background: var(--white);
    overflow: hidden;
}
.hero__inner {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    min-height: 540px;
}
.hero__content {
    padding: 24px 30px 80px max(24px, calc((100vw - 1280px) / 2 + 24px));
    position: relative;
    z-index: 3;
}
.hero__title {
    font-family: var(--font-head);
    font-size: clamp(34px, 4.2vw, 54px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.16;
}
.hero__title .gold { color: var(--gold); }
.hero__bar {
    display: block;
    width: 68px;
    height: 4px;
    border-radius: 2px;
    background: var(--gold);
    margin-top: 22px;
}
.hero__subtitle {
    margin-top: 18px;
    max-width: 520px;
    color: #43536B;
    font-size: 16.5px;
    line-height: 1.75;
}
.hero__subtitle strong { color: var(--navy); font-weight: 700; }
.hero__text {
    margin-top: 22px;
    max-width: 470px;
    color: #43536B;
    font-size: 15.5px;
}
.hero__text .gold-letters { color: var(--gold); font-weight: 600; }
.hero__btn { margin-top: 32px; }

/* diagonal gold stripes bottom-left */
.hero__stripes {
    position: absolute;
    left: -140px;
    bottom: -30px;
    width: 420px;
    height: 240px;
    background: repeating-linear-gradient(
        -55deg,
        var(--gold) 0 10px,
        transparent 10px 26px
    );
    opacity: .55;
    transform: skewY(-2deg);
    z-index: 1;
    pointer-events: none;
}

.hero__media {
    position: relative;
    height: 100%;
    min-height: 540px;
    z-index: 2;
}
.hero__img {
    position: absolute;
    inset: 0;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
    overflow: hidden;
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
/* navy diagonal band on the image's left edge */
.hero__media::before {
    content: "";
    position: absolute;
    left: -6%;
    top: 0;
    width: 34%;
    height: 102%;
    background: var(--navy);
    clip-path: polygon(58% 0, 78% 0, 22% 100%, 0 100%, 0 78%);
    z-index: 3;
}
/* gold accent triangle */
.hero__media::after {
    content: "";
    position: absolute;
    left: 2%;
    top: 0;
    width: 26%;
    height: 60%;
    background: var(--gold);
    clip-path: polygon(52% 0, 74% 0, 22% 100%, 0 100%);
    z-index: 2;
}
.hero__dots {
    position: absolute;
    left: 30%;
    top: 42%;
    width: 130px;
    height: 90px;
    background-image: radial-gradient(rgba(255,255,255,.85) 2.2px, transparent 2.6px);
    background-size: 18px 18px;
    z-index: 4;
    opacity: .8;
}

/* =========================================================
   FEATURES BAR
   ========================================================= */
.features { margin-top: -56px; position: relative; z-index: 5; padding-bottom: 26px; }
.features__bar {
    background: var(--navy);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(7, 26, 51, .28);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 26px;
    position: relative;
}
.feature + .feature::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22%;
    height: 56%;
    width: 1px;
    background: rgba(255, 255, 255, .18);
}
.feature__icon {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border: 2px solid var(--gold);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 24px;
    transition: all .3s;
}
.feature:hover .feature__icon { background: var(--gold); color: var(--navy); transform: translateY(-4px); }
.feature__title { color: #fff; font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.feature__text { color: #B9C6D8; font-size: 12.8px; line-height: 1.5; margin-top: 4px; }

/* =========================================================
   MAIN TRIO (Welcome / News / Quick Access)
   ========================================================= */
.trio { background: var(--bg-soft); padding: 44px 0 64px; }
.trio__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 26px;
    align-items: start;
}
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 6px 22px rgba(7, 26, 51, .07);
    padding: 30px 28px;
    position: relative;
    overflow: hidden;
}

/* Welcome card */
.welcome__text { margin-top: 20px; color: var(--muted); font-size: 14.5px; line-height: 1.9; position: relative; z-index: 2; }
.welcome .btn { margin-top: 26px; padding: 12px 22px; font-size: 12px; position: relative; z-index: 2; }
.welcome__watermark {
    position: absolute;
    right: -14px;
    bottom: -8px;
    width: 240px;
    opacity: .9;
    z-index: 1;
    pointer-events: none;
}
.welcome::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55%;
    height: 8px;
    background: var(--navy);
    border-radius: 0 8px 0 12px;
}

/* News card */
.news-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.news-card__viewall {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-top: 6px;
    position: relative;
}
.news-card__viewall::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.news-card__viewall:hover::after { transform: scaleX(1); }
.news-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.news-item:last-child { border-bottom: none; padding-bottom: 4px; }
.news-item__thumb {
    width: 86px;
    height: 66px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.news-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.news-item:hover .news-item__thumb img { transform: scale(1.08); }
.news-item__title { font-size: 14.5px; font-weight: 700; color: var(--navy); line-height: 1.4; transition: color .2s; }
.news-item:hover .news-item__title { color: var(--gold-dark); }
.news-item__excerpt {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
    margin-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-item__more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background .25s, color .25s;
}
.news-item:hover .news-item__more { background: var(--navy); color: var(--gold-light); }
.news-item__date { display: block; text-align: right; font-size: 12px; color: var(--gold-dark); font-weight: 600; margin-top: 4px; }

/* Quick access card */
.qa__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.qa__tile {
    background: #F6F8FB;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px 10px 16px;
    text-align: center;
    transition: all .28s ease;
}
.qa__tile i { font-size: 26px; color: var(--gold); transition: color .28s; }
.qa__tile span { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.qa__tile:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-4px); box-shadow: var(--shadow); }
.qa__tile:hover i { color: var(--gold-light); }
.qa__tile:hover span { color: #fff; }

/* =========================================================
   STATS STRIP
   ========================================================= */
.stats {
    position: relative;
    background: var(--white);
    padding: 34px 0;
    overflow: hidden;
    border-top: 1px solid var(--line);
}
.stats::before, .stats::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 220px;
    z-index: 1;
}
.stats::before {
    left: 0;
    background:
        linear-gradient(to bottom right, transparent 0%, transparent 100%),
        var(--navy);
    clip-path: polygon(0 0, 34% 0, 0 100%);
}
.stats::after {
    right: 0;
    background: var(--navy);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 100% 100%);
}
.stats__gold-l {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 240px;
    background: var(--gold);
    clip-path: polygon(0 55%, 26% 0, 44% 0, 6% 100%, 0 100%);
    z-index: 1;
}
.stats__gold-r {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 240px;
    background: var(--gold);
    clip-path: polygon(56% 0, 74% 0, 100% 45%, 100% 100%, 94% 100%);
    z-index: 1;
}
.stats__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.stat {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    padding: 8px 12px;
    position: relative;
}
.stat + .stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18%;
    height: 64%;
    width: 1px;
    background: var(--line);
}
.stat__icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    background: var(--navy);
    color: var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.stat__value { font-size: 27px; font-weight: 800; color: var(--gold-dark); line-height: 1.1; font-family: var(--font-body); }
.stat__label { font-size: 12.5px; font-weight: 600; color: var(--navy); }

/* =========================================================
   LEADERSHIP MESSAGE PAGES
   ========================================================= */
.msg-layout {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 44px;
    align-items: start;
}
.msg-profile {
    position: sticky;
    top: 130px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px 26px 28px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(7, 26, 51, .08);
    overflow: hidden;
}
.msg-profile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 88px;
    background:
        radial-gradient(rgba(212, 160, 23, .18) 1.4px, transparent 1.8px),
        linear-gradient(120deg, var(--navy-dark), var(--navy));
    background-size: 20px 20px, cover;
}
.msg-profile__photo {
    position: relative;
    width: 186px;
    height: 186px;
    margin: 14px auto 18px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--navy) 100%);
}
.msg-profile__photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 4px solid #fff;
}
.msg-profile h3 { color: var(--navy); font-size: 19px; font-weight: 800; line-height: 1.3; }
.msg-profile__role {
    display: inline-block;
    margin-top: 8px;
    background: var(--navy);
    color: var(--gold-light);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 30px;
}
.msg-profile__uni { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }
.msg-profile__divider { width: 46px; height: 4px; background: var(--gold); border-radius: 2px; margin: 16px auto 0; }

.msg-body { position: relative; }
.msg-body__quote {
    font-size: 54px;
    color: var(--gold);
    opacity: .35;
    line-height: 1;
    margin-bottom: 6px;
}
.msg-body p { color: #37465C; font-size: 15.5px; line-height: 1.95; margin-bottom: 20px; }
.msg-body p:first-of-type::first-letter {
    font-family: var(--font-head);
    font-size: 52px;
    font-weight: 800;
    color: var(--gold-dark);
    float: left;
    line-height: .85;
    padding: 6px 10px 0 0;
}
.msg-sign {
    margin-top: 30px;
    padding: 22px 26px;
    background: #F8FAFD;
    border-left: 4px solid var(--gold);
    border-radius: 0 12px 12px 0;
}
.msg-sign__name { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--navy); }
.msg-sign__role { color: var(--gold-dark); font-weight: 700; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; margin-top: 3px; }
.msg-sign__uni { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* leadership cards (about page + message footer) */
.leader-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px 22px 26px;
    text-align: center;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    display: block;
}
.leader-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 74px;
    background:
        radial-gradient(rgba(212, 160, 23, .16) 1.4px, transparent 1.8px),
        linear-gradient(120deg, var(--navy-dark), var(--navy));
    background-size: 18px 18px, cover;
    transition: height .3s ease;
}
.leader-card:hover { transform: translateY(-8px); box-shadow: 0 18px 42px rgba(7, 26, 51, .16); border-color: transparent; }
.leader-card:hover::before { height: 84px; }
.leader-card__photo {
    position: relative;
    width: 128px;
    height: 128px;
    margin: 8px auto 16px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--navy) 100%);
}
.leader-card__photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 3px solid #fff;
}
.leader-card h3 { color: var(--navy); font-size: 16px; font-weight: 800; line-height: 1.35; }
.leader-card__role { display: block; color: var(--gold-dark); font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; margin-top: 6px; }
.leader-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--navy); font-size: 12.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.leader-card__link i { color: var(--gold); transition: transform .25s; }
.leader-card:hover .leader-card__link { color: var(--gold-dark); }
.leader-card:hover .leader-card__link i { transform: translateX(5px); }

/* about page value/objective lists */
.value-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 14px;
    transition: all .25s;
}
.value-row:hover { box-shadow: var(--shadow); transform: translateX(5px); }
.value-row__num {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.value-row h3 { color: var(--navy); font-size: 15.5px; font-weight: 700; margin-top: 2px; }
.value-row p { color: var(--muted); font-size: 13.5px; margin-top: 3px; }

/* =========================================================
   WELCOME TO ORIC PAGE
   ========================================================= */
.frame-img { position: relative; }
.frame-img img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 14px;
    position: relative;
    z-index: 2;
    box-shadow: 0 16px 40px rgba(7, 26, 51, .18);
}
.frame-img::before {
    content: "";
    position: absolute;
    top: -16px;
    right: -16px;
    width: 70%;
    height: 70%;
    border: 4px solid var(--gold);
    border-radius: 14px;
    z-index: 1;
}
.frame-img::after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: -16px;
    width: 55%;
    height: 55%;
    background: repeating-linear-gradient(-55deg, var(--gold) 0 7px, transparent 7px 18px);
    border-radius: 14px;
    opacity: .5;
    z-index: 0;
}
.tagline-chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.tagline-chips .chip { background: var(--navy); color: var(--gold-light); border-color: var(--navy); font-size: 13px; letter-spacing: 2.5px; padding: 9px 20px; }

/* Original document graphics embedded on page */
.doc-graphic {
    display: block;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 10px 30px rgba(7, 26, 51, .10);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.doc-graphic img { width: 100%; border-radius: 10px; display: block; }
.doc-graphic:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(7, 26, 51, .18); border-color: rgba(212, 160, 23, .6); }
.doc-graphic::after {
    content: "\f065  View Full";
    font-family: "Font Awesome 6 Free", var(--font-body);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 1px;
    position: absolute;
    right: 22px;
    bottom: 22px;
    background: var(--navy);
    color: var(--gold-light);
    padding: 8px 16px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(6px);
    transition: all .3s ease;
    pointer-events: none;
}
.doc-graphic:hover::after { opacity: 1; transform: translateY(0); }

/* Vision band (navy full-width) */
.vision-band {
    background:
        radial-gradient(rgba(212, 160, 23, .13) 1.6px, transparent 2px),
        linear-gradient(125deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-800) 100%);
    background-size: 26px 26px, cover;
    color: #fff;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.vision-band::before, .vision-band::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 260px;
    background: repeating-linear-gradient(-55deg, rgba(212,160,23,.28) 0 8px, transparent 8px 22px);
}
.vision-band::before { left: -90px; top: -70px; transform: rotate(8deg); }
.vision-band::after { right: -90px; bottom: -70px; transform: rotate(8deg); }
.ribbon {
    display: inline-block;
    position: relative;
    background: linear-gradient(120deg, var(--gold-dark), var(--gold) 40%, var(--gold-light) 55%, var(--gold));
    color: var(--navy-dark);
    font-weight: 800;
    font-size: 26px;
    letter-spacing: 8px;
    padding: 12px 54px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 50%, 100% 100%, 0 100%, 18px 50%);
    margin-bottom: 28px;
    font-family: var(--font-body);
}
.vision-band__statement {
    font-family: var(--font-head);
    font-size: clamp(20px, 2.6vw, 30px);
    font-weight: 700;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.vision-band__statement .gold { color: var(--gold-light); }
.vision-band__tagline { margin-top: 22px; letter-spacing: 6px; font-weight: 700; font-size: 14px; color: var(--gold-light); position: relative; z-index: 2; }
.pillars { margin-top: 46px; position: relative; z-index: 2; }
.pillar { padding: 0 12px; }
.pillar__icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--navy-800);
    border: 3px solid var(--gold);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 0 0 6px rgba(212, 160, 23, .12);
    transition: all .3s;
}
.pillar:hover .pillar__icon { background: var(--gold); color: var(--navy-dark); transform: translateY(-6px); }
.pillar__label {
    display: inline-block;
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 6px;
}
.pillar__desc { margin-top: 10px; font-size: 12.8px; color: #C3CEDD; line-height: 1.6; }

/* Mission panel (navy, double gold border) */
.mission-panel {
    background:
        radial-gradient(rgba(212, 160, 23, .10) 1.4px, transparent 1.8px),
        linear-gradient(125deg, var(--navy-dark), var(--navy) 60%, var(--navy-800));
    background-size: 24px 24px, cover;
    border: 2px solid var(--gold);
    outline: 1px solid rgba(212, 160, 23, .45);
    outline-offset: 7px;
    border-radius: 18px;
    padding: 54px 46px;
    color: #fff;
    text-align: center;
    margin: 8px;
}
.mission-panel__eyebrow { color: var(--gold-light); letter-spacing: 6px; font-weight: 700; font-size: 13px; text-transform: uppercase; }
.mission-panel__eyebrow::after { content: ""; display: block; width: 70px; height: 2px; background: var(--gold); margin: 16px auto 0; }
.mission-panel__quote {
    font-family: var(--font-head);
    font-style: italic;
    font-size: clamp(17px, 2vw, 23px);
    line-height: 1.85;
    max-width: 880px;
    margin: 26px auto 0;
    color: #EDF2F9;
}
.m-tiles { margin-top: 42px; }
.m-tile {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(212, 160, 23, .55);
    border-radius: 12px;
    padding: 24px 16px;
    transition: all .3s;
}
.m-tile:hover { background: rgba(212, 160, 23, .12); transform: translateY(-5px); }
.m-tile i { font-size: 26px; color: var(--gold-light); }
.m-tile h3 { color: var(--gold-light); font-size: 13.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; margin-top: 12px; }
.m-tile p { color: #C3CEDD; font-size: 12.5px; line-height: 1.6; margin-top: 8px; }

/* =========================================================
   GOVERNANCE PAGE
   ========================================================= */
.gov-intro-card {
    background:
        radial-gradient(rgba(212, 160, 23, .12) 1.5px, transparent 2px),
        linear-gradient(125deg, var(--navy-dark), var(--navy) 60%, var(--navy-800));
    background-size: 24px 24px, cover;
    border-radius: 18px;
    padding: 30px 38px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: 0 16px 40px rgba(7, 26, 51, .22);
}
.gov-intro-card__icon {
    width: 84px;
    height: 84px;
    flex-shrink: 0;
    border-radius: 20px;
    background: var(--gold);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}
.gov-intro-card h2 { font-family: var(--font-head); font-size: 26px; }
.gov-intro-card p { color: #C3CEDD; font-size: 14.5px; margin-top: 6px; max-width: 760px; }
.gov-stats { display: flex; gap: 34px; margin-left: auto; }
.gov-stats div { text-align: center; }
.gov-stats .num { font-size: 34px; font-weight: 800; color: var(--gold-light); line-height: 1.1; }
.gov-stats .lbl { font-size: 12px; color: #C3CEDD; letter-spacing: .5px; }

.gov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.gov-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
}
.gov-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--gold), var(--navy));
    opacity: 0;
    transition: opacity .3s;
}
.gov-card:hover { transform: translateY(-6px); box-shadow: 0 18px 42px rgba(7, 26, 51, .15); border-color: transparent; }
.gov-card:hover::before { opacity: 1; }
.gov-card__icon {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 16px;
    background:
        radial-gradient(rgba(212, 160, 23, .25) 1.4px, transparent 1.8px),
        linear-gradient(135deg, var(--navy-dark), var(--navy));
    background-size: 12px 12px, cover;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: relative;
    transition: all .3s;
}
.gov-card:hover .gov-card__icon { background: var(--gold); color: var(--navy-dark); }
.gov-card__num {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 11.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.gov-card h3 { color: var(--navy); font-size: 16.5px; font-weight: 800; line-height: 1.35; }
.gov-card p { color: var(--muted); font-size: 13.5px; margin-top: 6px; line-height: 1.65; }
.gov-card__dl {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    background: #F6F8FB;
    border: 1.5px solid var(--line);
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all .25s;
}
.gov-card__dl i { color: #C0392B; font-size: 15px; }
.gov-card__dl .size { color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
.gov-card__dl:hover { background: var(--navy); border-color: var(--navy); color: var(--gold-light); }
.gov-card__dl:hover i { color: var(--gold-light); }
.gov-card__dl:hover .size { color: #C3CEDD; }

/* ---------- Topbar auth buttons ---------- */
.topbar__auth { display: inline-flex; align-items: center; gap: 8px; margin-left: 14px; }
.topbar__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold);
    color: var(--navy-dark) !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 20px;
    border: 1.5px solid var(--gold);
    cursor: pointer;
    font-family: inherit;
    transition: background .25s, color .25s;
}
.topbar__btn:hover { background: #fff; border-color: #fff; }
.topbar__btn--outline { background: transparent; color: var(--gold-light) !important; }
.topbar__btn--outline:hover { background: var(--gold); color: var(--navy-dark) !important; border-color: var(--gold); }
.topbar__user { color: var(--gold-light); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Auth pages ---------- */
.auth-page { background: var(--bg-soft); padding: 50px 0 60px; }
.auth-card {
    max-width: 860px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(7, 26, 51, .12);
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: 340px 1fr;
    overflow: hidden;
}
.auth-card__side {
    background:
        radial-gradient(rgba(212, 160, 23, .14) 1.6px, transparent 2px),
        linear-gradient(150deg, var(--navy-dark), var(--navy) 60%, var(--navy-800));
    background-size: 26px 26px, cover;
    color: #fff;
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-card__side img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.auth-card__side h2 { font-family: var(--font-head); font-size: 28px; margin-top: 18px; }
.auth-card__side p { margin-top: 10px; color: #C3CEDD; font-size: 14px; line-height: 1.7; }
.auth-card__form { padding: 44px 46px; }
.auth-card__form h1 { font-size: 26px; font-weight: 800; color: var(--navy); }
.auth-field { display: block; margin-top: 18px; }
.auth-field span { display: block; font-size: 12.5px; font-weight: 700; color: var(--navy); letter-spacing: .4px; margin-bottom: 6px; }
.auth-field input {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--navy);
    background: #FBFCFE;
    transition: border-color .2s, box-shadow .2s;
}
.auth-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 160, 23, .18); background: #fff; }
.auth-remember { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); cursor: pointer; }
.auth-btn { width: 100%; justify-content: center; margin-top: 22px; border: none; cursor: pointer; font-family: inherit; }
.auth-alert {
    margin-top: 16px;
    background: #FDF0EE;
    border: 1px solid #EFC7C0;
    color: #A93226;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.auth-switch { margin-top: 20px; font-size: 13.5px; color: var(--muted); text-align: center; }
.auth-switch a { color: var(--gold-dark); font-weight: 700; }
.auth-switch a:hover { text-decoration: underline; }
@media (max-width: 760px) {
    .auth-card { grid-template-columns: 1fr; }
    .auth-card__side { padding: 32px 30px; }
    .auth-card__form { padding: 30px 26px 38px; }
}

/* ---------- Admin panel shell ---------- */
.adm-body { background: #EEF1F6; min-height: 100vh; }
.adm-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 256px;
    background:
        radial-gradient(rgba(120, 170, 255, .07) 1.3px, transparent 1.6px),
        linear-gradient(170deg, var(--navy-dark) 0%, var(--navy) 70%, var(--navy-800) 100%);
    background-size: 24px 24px, cover;
    display: flex;
    flex-direction: column;
    z-index: 500;
    transition: left .3s;
}
.adm-brand { display: flex; align-items: center; gap: 12px; padding: 20px 20px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.adm-brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.adm-brand strong { display: block; color: #fff; font-size: 19px; font-weight: 800; letter-spacing: 1px; line-height: 1; }
.adm-brand small { display: block; color: var(--gold-light); font-size: 10.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; margin-top: 4px; }
.adm-nav { flex: 1; overflow-y: auto; padding: 14px 14px 20px; }
.adm-nav__label {
    display: block;
    color: #7E93AF;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin: 18px 10px 7px;
}
.adm-nav__label:first-child { margin-top: 4px; }
.adm-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #C3CEDD;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 10px;
    transition: all .2s;
    position: relative;
}
.adm-nav a i { width: 20px; text-align: center; font-size: 14px; color: #8FA2BA; transition: color .2s; }
.adm-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.adm-nav a:hover i { color: var(--gold); }
.adm-nav a.active { background: var(--gold); color: var(--navy-dark); font-weight: 700; }
.adm-nav a.active i { color: var(--navy-dark); }
.adm-nav__badge {
    margin-left: auto;
    background: #C0392B;
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    padding: 0 6px;
}
.adm-nav a.active .adm-nav__badge { background: var(--navy); color: var(--gold-light); }
.adm-sidebar__foot { padding: 14px 14px 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.adm-sidebar__foot a,
.adm-sidebar__foot button {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    color: #C3CEDD;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
}
.adm-sidebar__foot a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.adm-sidebar__foot button:hover { background: rgba(192, 57, 43, .25); color: #ff9d90; }
.adm-main { margin-left: 256px; min-height: 100vh; display: flex; flex-direction: column; }
.adm-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 14px 30px;
    display: flex;
    align-items: center;
    gap: 18px;
    position: sticky;
    top: 0;
    z-index: 400;
}
.adm-topbar__title { font-size: 19px; font-weight: 800; color: var(--navy); flex: 1; }
.adm-burger { display: none; background: none; border: none; font-size: 20px; color: var(--navy); cursor: pointer; }
.adm-topbar__user { display: flex; align-items: center; gap: 11px; }
.adm-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-weight: 800;
    font-size: 16px;
    display: grid;
    place-items: center;
    border: 2px solid var(--gold);
}
.adm-topbar__name { font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.adm-topbar__name small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.adm-content { padding: 26px 30px 44px; flex: 1; }
@media (max-width: 1000px) {
    .adm-sidebar { left: -280px; }
    .adm-sidebar.open { left: 0; box-shadow: 20px 0 60px rgba(0, 0, 0, .35); }
    .adm-main { margin-left: 0; }
    .adm-burger { display: block; }
    .adm-content { padding: 20px 16px 40px; }
}

/* ---------- Dashboard ---------- */
.dash-page { background: var(--bg-soft); padding: 36px 0 56px; min-height: 60vh; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.dash-title { font-size: 26px; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.dash-title i { color: var(--gold); }
.dash-sub { margin-top: 5px; color: var(--muted); font-size: 13.5px; }
.dash-tabs { display: flex; gap: 8px; }
.dash-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 10px;
    background: var(--white);
    border: 1.5px solid var(--line);
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    transition: all .2s;
}
.dash-tabs a:hover { border-color: var(--gold); color: var(--gold-dark); }
.dash-tabs a.active { background: var(--navy); border-color: var(--navy); color: var(--gold-light); }
.dash-flash {
    background: #EFF8F1;
    border: 1px solid #BFE3C6;
    color: #1E7B34;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.dash-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dash-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform .2s, box-shadow .2s;
}
.dash-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(7, 26, 51, .1); }
.dash-card i { font-size: 26px; color: var(--gold); width: 52px; height: 52px; border-radius: 12px; background: rgba(212, 160, 23, .12); display: grid; place-items: center; }
.dash-card .num { display: block; font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1; }
.dash-card .lbl { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 5px; }
.dash-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.dash-panel { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px 26px; margin-top: 18px; }
.dash-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.dash-panel__head h3 { font-size: 16px; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 9px; }
.dash-panel__head h3 i { color: var(--gold); }
.btn--sm { padding: 8px 16px; font-size: 12px; }
.btn--ghost { background: transparent; border: 1.5px solid var(--line); color: var(--navy); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-dark); background: transparent; }
.dash-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.dash-row:last-child { border-bottom: none; }
.dash-row__title { flex: 1; color: #37465C; font-weight: 600; }
.dash-row__meta { color: var(--muted); font-size: 12px; white-space: nowrap; }
.dash-empty { color: var(--muted); font-size: 13.5px; padding: 12px 0; }
.dash-table-wrap { overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dash-table th { text-align: left; padding: 10px 12px; background: #F6F8FB; color: var(--navy); font-size: 12px; letter-spacing: .6px; text-transform: uppercase; }
.dash-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; color: #37465C; }
.dash-table__title { font-weight: 700; color: var(--navy); }
.dash-thumb { width: 58px; height: 40px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); display: block; }
.dash-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 12px; background: #F1F3F7; color: var(--muted); }
.dash-badge--yes { background: rgba(212, 160, 23, .16); color: var(--gold-dark); }
.dash-actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.dash-act {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #F1F3F7;
    color: var(--navy);
    border: none;
    cursor: pointer;
    font-size: 13px;
    transition: all .2s;
}
.dash-act:hover { background: var(--navy); color: var(--gold-light); }
.dash-act--danger:hover { background: #C0392B; color: #fff; }
.dash-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.auth-field textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--navy);
    background: #FBFCFE;
    resize: vertical;
    transition: border-color .2s, box-shadow .2s;
}
.auth-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 160, 23, .18); background: #fff; }
.auth-field span small { font-weight: 500; color: var(--muted); text-transform: none; }
.dash-form-sec {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
}
.dash-form-sec:first-of-type { margin-top: 8px; padding-top: 0; border-top: none; }
.dash-form-sec small { font-weight: 500; color: var(--muted); font-size: 12px; }

/* ---- Dashboard gallery manager ---- */
.dash-gal-hint { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.dash-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.dash-gal__item {
    position: relative;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    display: block;
    background: #fff;
    transition: border-color .2s;
}
.dash-gal__item img { width: 100%; height: 96px; object-fit: cover; display: block; transition: opacity .2s; }
.dash-gal__del {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 4px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--muted);
    background: #F6F8FB;
    border-top: 1px solid var(--line);
}
.dash-gal__del input { accent-color: #C0392B; cursor: pointer; }
.dash-gal__item:hover { border-color: var(--gold); }
.dash-gal__item:has(input:checked) { border-color: #C0392B; }
.dash-gal__item:has(input:checked) img { opacity: .35; }
.dash-gal__item:has(input:checked) .dash-gal__del { background: #C0392B; color: #fff; }

/* ---- Repeater (add/remove structured rows) ---- */
.rep { margin-top: 6px; }
.rep-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    background: #F8FAFD;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 14px;
    margin-bottom: 10px;
}
.rep-row--stack { align-items: flex-start; }
.rep-grid { flex: 1; display: grid; gap: 12px; }
.rep-grid--metric { grid-template-columns: 100px 1fr 1.4fr; }
.rep-grid--qual { grid-template-columns: 1.3fr 1.6fr .8fr .6fr; }
.rep-grid--profile { grid-template-columns: 1fr 1fr 1.6fr 1.4fr 64px; }
.rep-grid--pub { grid-template-columns: 1fr 1fr; }
.rep-grid--pub .rep-f--full { grid-column: 1 / -1; }
.rep-grid--pub .rep-f--sm { grid-column: auto; }
.rep-f { display: flex; flex-direction: column; }
.rep-f span { font-size: 11px; font-weight: 700; color: var(--navy); margin-bottom: 5px; letter-spacing: .3px; }
.rep-f input,
.rep-f select {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    padding: 9px 11px;
    font-size: 13px;
    font-family: inherit;
    color: var(--navy);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.rep-f input:focus,
.rep-f select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 160, 23, .16); }
.rep-f--color input[type="color"] { height: 38px; padding: 3px; cursor: pointer; }
.rep-del {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: none;
    background: #FBEDEA;
    color: #C0392B;
    cursor: pointer;
    font-size: 14px;
    transition: background .2s, color .2s;
}
.rep-del:hover { background: #C0392B; color: #fff; }
.rep-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1.5px dashed var(--gold);
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 12.5px;
    padding: 9px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, color .2s;
}
.rep-add:hover { background: var(--gold); color: var(--navy-dark); }
@media (max-width: 760px) {
    .rep-row { flex-wrap: wrap; }
    .rep-grid--metric,
    .rep-grid--qual,
    .rep-grid--profile,
    .rep-grid--pub { grid-template-columns: 1fr 1fr; }
    .rep-grid--profile .rep-f--url,
    .rep-grid--pub .rep-f--full { grid-column: 1 / -1; }
}
.dash-msg { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-top: 14px; background: #FBFCFE; }
.dash-msg--new { border-color: rgba(212, 160, 23, .55); background: #FFFDF6; }
.dash-msg__head { display: flex; align-items: center; gap: 12px; }
.dash-msg__subject { margin-top: 12px; font-weight: 700; color: var(--navy); font-size: 14px; }
.dash-msg__body { margin-top: 8px; color: #37465C; font-size: 13.5px; line-height: 1.7; white-space: pre-line; }
.auth-field select {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--navy);
    background: #FBFCFE;
}
.auth-field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 160, 23, .18); }
.dash-current-img { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.dash-current-img img { height: 54px; border-radius: 8px; border: 1px solid var(--line); }
@media (max-width: 1000px) { .dash-cards { grid-template-columns: repeat(2, 1fr); } .dash-grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .dash-cards { grid-template-columns: 1fr; } .dash-form-row { grid-template-columns: 1fr; } }

/* ---------- Research Collaborations ---------- */
.clb-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative;
    overflow: hidden;
}
.clb-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold), var(--navy));
    opacity: 0;
    transition: opacity .25s;
}
.clb-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(7, 26, 51, .12); border-color: rgba(212, 160, 23, .5); }
.clb-card:hover::before { opacity: 1; }
.clb-logo {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    display: grid;
    place-items: center;
    padding: 8px;
    position: relative;
}
.clb-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.clb-num {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 800;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
}
.clb-card h3 { color: var(--navy); font-size: 15.5px; font-weight: 800; line-height: 1.35; }
.clb-card .clb-type { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-dark); margin-top: 4px; }

.clb-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 24px; }
.clb-shot {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3;
    position: relative;
}
.clb-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.clb-shot:hover img { transform: scale(1.07); }
@media (max-width: 1100px) { .clb-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .clb-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Partners logo carousel ---------- */
.partners { padding: 34px 0 40px; background: var(--white); border-top: 1px solid var(--line); }
.partners__head { text-align: center; margin-bottom: 24px; }
.partners__head h2 { font-size: 20px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--navy); font-family: var(--font-body); }
.partners__head h2 .accent { color: var(--gold); }
.partners__head .bar { width: 46px; height: 4px; background: var(--gold); border-radius: 2px; margin: 8px auto 0; }
.partners__viewport { overflow: hidden; position: relative; }
.partners__viewport::before,
.partners__viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
    z-index: 2;
    pointer-events: none;
}
.partners__viewport::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.partners__viewport::after { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.partners__track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    padding: 10px 0;
    animation: partners-scroll 55s linear infinite;
}
.partners__track:hover { animation-play-state: paused; }
.partners__logo {
    flex: none;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 14px rgba(7, 26, 51, .07);
    display: grid;
    place-items: center;
    /* keeps the logo inside the circle's inscribed square so nothing gets clipped */
    padding: 17px;
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.partners__logo:hover {
    border-color: var(--navy);
    box-shadow: 0 10px 24px rgba(7, 26, 51, .16);
    transform: translateY(-4px);
}
.partners__logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
@keyframes partners-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ftype {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 5px;
    margin-left: 10px;
    vertical-align: middle;
}
.ftype--word { background: #EAF1FB; color: #1B5AA8; }
.ftype--pdf { background: #FBEDEA; color: #C0392B; }
.gov-card__dl i.fa-file-word { color: #1B5AA8; }

@media (max-width: 1100px) {
    .gov-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .gov-grid { grid-template-columns: 1fr; }
    .gov-stats { margin-left: 0; }
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
    background:
        radial-gradient(rgba(212, 160, 23, .14) 1.6px, transparent 2px),
        linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-800) 100%);
    background-size: 26px 26px, cover;
    color: #fff;
    padding: 64px 0 58px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -40px;
    width: 300px;
    height: 300px;
    background: repeating-linear-gradient(-55deg, rgba(212,160,23,.35) 0 8px, transparent 8px 22px);
    transform: rotate(8deg);
}
.page-hero__title { font-family: var(--font-head); font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; position: relative; z-index: 2; }
.page-hero__crumbs { margin-top: 10px; font-size: 13px; color: #B9C6D8; position: relative; z-index: 2; }
.page-hero__crumbs a { color: var(--gold-light); font-weight: 600; }
.page-hero__crumbs a:hover { text-decoration: underline; }
.page-hero__crumbs i { font-size: 10px; margin: 0 8px; color: var(--gold); }

/* =========================================================
   GENERIC CONTENT SECTIONS
   ========================================================= */
.section { padding: 40px 0; }
.section--soft { background: var(--bg-soft); }
.section__lead { max-width: 820px; color: var(--muted); margin-top: 18px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

.icon-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: all .3s;
}
.icon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.icon-card__icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}
.icon-card h3 { color: var(--navy); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.icon-card p { color: var(--muted); font-size: 13.8px; }

/* news/event listing cards */
.post-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(7, 26, 51, .07);
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 16px 38px rgba(7, 26, 51, .16); }
.post-card__img { height: 190px; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-size: 12px; color: var(--gold-dark); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.post-card__date i { margin-right: 6px; }
.post-card__title { margin-top: 8px; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.45; }
.post-card:hover .post-card__title { color: var(--gold-dark); }
.post-card__excerpt {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13.8px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-card__more {
    margin-top: 16px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--navy-dark);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background .25s, color .25s;
}
.post-card:hover .post-card__more { background: var(--navy); color: var(--gold-light); }
.post-card__more i { margin-left: 2px; transition: transform .25s; }
.post-card:hover .post-card__more i { transform: translateX(5px); }

/* event meta chips */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F6F8FB;
    border: 1px solid var(--line);
    color: var(--navy);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 600;
}
.chip i { color: var(--gold); }

/* article page */
.article { max-width: 860px; }
.article__meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.article__body p { margin-bottom: 16px; color: #37465C; font-size: 15px; }
.article__img { border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; max-height: 420px; }
.article__img img { width: 100%; object-fit: cover; }

.side-list { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.side-list h3 { color: var(--navy); font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.side-list .sec-title-bar { margin-bottom: 14px; }
.side-list a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: #37465C; transition: color .2s, padding-left .2s; }
.side-list a:last-child { border-bottom: none; }
.side-list a:hover { color: var(--gold-dark); padding-left: 6px; }
.side-list a span { display: block; font-size: 11.5px; color: var(--gold-dark); font-weight: 700; margin-top: 2px; }

/* publications table */
.pub-list { display: flex; flex-direction: column; gap: 16px; }
.pub-row {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: all .25s;
}
.pub-row:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.pub-row__icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.pub-row h3 { color: var(--navy); font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.pub-row p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.pub-row .chip { margin-top: 10px; margin-right: 8px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info .icon-card { display: flex; gap: 16px; align-items: center; padding: 22px 24px; }
.contact-info .icon-card__icon { margin-bottom: 0; width: 50px; height: 50px; font-size: 20px; }
.contact-info h3 { margin-bottom: 2px; font-size: 15px; }
.contact-info p { font-size: 13.5px; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 6px 22px rgba(7,26,51,.06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--navy); }
.form-group input, .form-group textarea {
    border: 1.5px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink);
    background: #FAFBFD;
    transition: border-color .2s, box-shadow .2s;
    resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, .18);
    background: #fff;
}
.form-error { color: #B42318; font-size: 12.5px; font-weight: 600; }
.alert-success {
    background: #EFFAF3;
    border: 1px solid #9BD9B4;
    color: #16603A;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 22px;
}
.alert-success i { margin-right: 8px; }

/* faqs */
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 22px;
    font-weight: 700;
    color: var(--navy);
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--gold); transition: transform .25s; }
.faq-item[open] summary { background: #F6F8FB; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item .faq-body { padding: 4px 22px 20px; color: var(--muted); font-size: 14px; }

/* resource list */
.res-row {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    transition: all .25s;
}
.res-row:hover { box-shadow: var(--shadow); }
.res-row i.res-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px; background: #F6F8FB; border: 1px solid var(--line); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.res-row h3 { font-size: 14.5px; color: var(--navy); font-weight: 700; }
.res-row p { font-size: 12.5px; color: var(--muted); }
.res-row .btn { margin-left: auto; padding: 10px 18px; font-size: 11px; }

/* pagination (laravel default links restyle) */
.pagination-wrap { margin-top: 40px; display: flex; justify-content: center; }
.pagination-wrap nav { font-size: 14px; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
    background: linear-gradient(120deg, var(--navy-dark), var(--navy) 60%, var(--navy-800));
    color: #fff;
    padding: 52px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -60px;
    width: 300px;
    height: 260px;
    background: repeating-linear-gradient(-55deg, rgba(212,160,23,.3) 0 8px, transparent 8px 22px);
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; position: relative; z-index: 2; }
.cta-band h2 { font-family: var(--font-head); font-size: clamp(24px, 3vw, 34px); }
.cta-band p { color: #B9C6D8; margin-top: 6px; max-width: 560px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy-deep); color: #AEBBCD; }
.footer__top { padding: 58px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 38px; }
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer__brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.footer__brand-name { font-family: var(--font-head); font-size: 24px; color: #fff; font-weight: 700; letter-spacing: 1px; }
.footer__brand-sub { font-size: 11.5px; color: var(--gold-light); }
.footer p { font-size: 13.5px; line-height: 1.8; }
.footer h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--gold); border-radius: 2px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: #AEBBCD; font-size: 13.5px; transition: color .2s, padding-left .2s; }
.footer__links a:hover { color: var(--gold-light); padding-left: 6px; }
.footer__links i { color: var(--gold); font-size: 11px; margin-right: 8px; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 13.5px; }
.footer__contact i { color: var(--gold); margin-top: 4px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(255,255,255,.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all .25s;
}
.footer__social a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.10);
    padding: 20px 0;
    font-size: 12.5px;
}
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom a { color: var(--gold-light); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1150px) {
    .nav__list {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 90px 26px 30px;
        transition: right .3s ease;
        z-index: 200;
        overflow-y: auto;
    }
    .nav__list.open { right: 0; box-shadow: -20px 0 60px rgba(0,0,0,.35); }
    .nav__list a { color: #fff; width: 100%; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
    .nav__list a::after { display: none; }
    .nav__toggle { display: block; z-index: 300; position: relative; }
    .brand__name { font-size: 28px; }
    /* dropdown becomes inline list in mobile menu */
    .nav__dd { width: 100%; }
    .nav__dd-caret { display: none; }
    .nav__dd-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255,255,255,.05);
        border-top: none;
        border-radius: 8px;
        box-shadow: none;
        margin: 4px 0 8px;
        padding: 4px 0;
    }
    .nav__dd-menu li a { color: #DCE4EF; font-size: 12.5px; padding: 10px 16px; border-bottom: none; }
    .nav__dd-menu li a:hover { background: rgba(255,255,255,.08); color: var(--gold-light); }
}

@media (max-width: 1024px) {
    .features__bar { grid-template-columns: repeat(2, 1fr); }
    .feature + .feature::before { display: none; }
    .feature { border-top: 1px solid rgba(255,255,255,.12); }
    .feature:nth-child(-n+2) { border-top: none; }
    .trio__grid { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
    .stat + .stat::before { display: none; }
    .stats::before, .stats::after, .stats__gold-l, .stats__gold-r { display: none; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
    .hero__inner { grid-template-columns: 1fr; min-height: unset; }
    .hero__content { padding: 46px 24px 30px; }
    .hero__media { min-height: 340px; }
    .hero__stripes { display: none; }
    .topbar__links { display: none; }
    .header__inner { min-height: 88px; }
    .brand__seal { width: 58px; height: 58px; }
    .brand__divider { height: 50px; }
    .brand__sub { display: none; }
    .features { margin-top: 12px; }
}

@media (max-width: 620px) {
    .features__bar { grid-template-columns: 1fr; }
    .feature:nth-child(-n+2) { border-top: 1px solid rgba(255,255,255,.12); }
    .feature:first-child { border-top: none; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .grid-2, .grid-3, .grid-4, .grid-5, .form-grid { grid-template-columns: 1fr; }
    .qa__grid { grid-template-columns: repeat(2, 1fr); }
    .cta-band__inner { justify-content: center; text-align: center; }
    .footer__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   DIRECTOR PROFILE PAGE
   ========================================================= */
.dp-page { background: var(--bg-soft); padding: 34px 0 44px; }
.dp-card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(7, 26, 51, .12);
    overflow: hidden;
    border: 1px solid var(--line);
}

/* ---------- Hero ---------- */
.dp-top {
    display: grid;
    grid-template-columns: 360px 1fr;
    align-items: stretch;
    background:
        radial-gradient(rgba(120, 170, 255, .14) 1.3px, transparent 1.6px),
        linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-800) 100%);
    background-size: 26px 26px, cover;
}
.dp-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 26px;
    background: transparent;
}
.dp-photo img {
    width: 100%;
    max-width: 246px;
    aspect-ratio: 3 / 3.3;
    object-fit: cover;
    object-position: top center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .38);
    outline: 6px solid #fff;
    outline-offset: -6px;
}
.dp-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 34px;
    align-items: center;
    padding: 24px 40px;
    color: #fff;
    background: transparent;
    overflow: hidden;
}
.dp-hero::before {
    content: "";
    position: absolute;
    right: -30px;
    top: 0;
    bottom: 0;
    width: 46%;
    background: url("../assets/img/hero-building.svg") right center / contain no-repeat;
    opacity: .08;
    pointer-events: none;
}
.dp-hero > * { position: relative; z-index: 1; }
.dp-hero__side { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 34px; }
.dp-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 6px;
}
.dp-name {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.12;
    margin: 13px 0 6px;
    color: #fff;
}
.dp-role { color: var(--gold-light); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.dp-org { color: rgba(255, 255, 255, .82); font-size: 14.5px; line-height: 1.55; }
.dp-contact {
    margin: 0 0 22px;
    display: grid;
    gap: 13px;
}
.dp-contact li { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .92); font-size: 15px; }
.dp-contact li a { color: rgba(255, 255, 255, .92); transition: color .2s; }
.dp-contact li a:hover { color: var(--gold-light); }
.dp-contact li i {
    width: 32px;
    height: 32px;
    flex: none;
    display: grid;
    place-items: center;
    border: 1.5px solid rgba(212, 160, 23, .55);
    color: var(--gold);
    border-radius: 50%;
    font-size: 13px;
}
.dp-actions { margin-top: 6px; }
.dp-cv {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gold-btn);
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 14px;
    padding: 13px 30px;
    border-radius: 8px;
    transition: all .25s ease;
}
.dp-cv i { transition: transform .25s ease; }
.dp-cv:hover { background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }
.dp-cv:hover i { transform: translateY(2px); }

/* ---------- Research profiles bar ---------- */
.dp-profiles {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 22px 40px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #fff, #fbfcfe);
}
.dp-profiles__label {
    flex: none;
    color: var(--navy);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    line-height: 1.15;
    padding-right: 26px;
    border-right: 2px solid var(--line);
}
.dp-profiles__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 16px;
    flex: 1;
}
.dp-pf { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 13px; font-weight: 600; transition: color .2s; }
.dp-pf__badge {
    width: 34px;
    height: 34px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--b);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 3px 8px color-mix(in srgb, var(--b) 35%, transparent);
    transition: transform .25s ease, box-shadow .25s ease;
}
.dp-pf:hover { color: var(--b); }
.dp-pf:hover .dp-pf__badge { transform: translateY(-3px); box-shadow: 0 8px 16px color-mix(in srgb, var(--b) 45%, transparent); }

/* ---------- Section headers ---------- */
.dp-h { display: flex; align-items: center; gap: 11px; }
.dp-h i { color: var(--navy); font-size: 18px; }
.dp-h h3 { color: var(--navy); font-size: 18px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.dp-h__bar { display: block; width: 40px; height: 3px; background: var(--gold); border-radius: 2px; margin: 9px 0 20px; }

/* ---------- 3-column body ---------- */
.dp-cols {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 44px;
    padding: 34px 40px;
}
.dp-cols--bottom { padding-top: 6px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.dp-about p { color: #3a495e; font-size: 14px; line-height: 1.72; margin-bottom: 11px; }
.dp-about p:last-child { margin-bottom: 0; }

/* Right sidebar: stacks qualifications, interests, metrics to fill height */
.dp-side { display: grid; gap: 28px; align-content: start; }
.dp-side__block .dp-h__bar { margin-bottom: 16px; }

/* Qualifications */
.dp-quals { display: grid; gap: 20px; }
.dp-quals > li { position: relative; padding-left: 22px; }
.dp-quals > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--navy);
}
.dp-qual__degree { display: block; color: var(--navy); font-size: 15px; font-weight: 700; }
.dp-qual__inst { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.dp-qual__year { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }

/* Research interests */
.dp-interests { display: grid; gap: 13px; }
.dp-interests li { display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: 14.5px; font-weight: 500; }
.dp-interests li i { color: var(--gold); font-size: 15px; }

/* Research metrics */
.dp-metrics {
    background:
        radial-gradient(rgba(120, 170, 255, .12) 1.2px, transparent 1.5px),
        linear-gradient(135deg, var(--navy-dark), var(--navy));
    background-size: 20px 20px, cover;
    border-radius: 14px;
    padding: 22px 24px;
    color: #fff;
}
.dp-metrics__title { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }
.dp-metrics__grid { display: grid; grid-template-columns: 1fr 1fr; }
.dp-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 6px;
}
.dp-metric:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .12); padding-left: 0; }
.dp-metric:nth-child(even) { padding-left: 18px; }
.dp-metric:nth-child(1), .dp-metric:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.dp-metric > i { color: var(--gold-light); font-size: 22px; flex: none; }
.dp-metric__value { display: block; font-size: 25px; font-weight: 800; color: var(--gold); line-height: 1.05; }
.dp-metric__label { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .75); }

/* ---------- Publications table ---------- */
.dp-pub { padding: 8px 40px 40px; }
.dp-pub__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.dp-pub__all { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 13px; font-weight: 700; }
.dp-pub__all i { color: var(--gold); transition: transform .2s; }
.dp-pub__all:hover i { transform: translateX(4px); }
.dp-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--line); }
.dp-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.dp-table thead th {
    background: var(--navy);
    color: #fff;
    text-align: left;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 13px 16px;
}
.dp-table tbody td { padding: 14px 16px; font-size: 13.5px; color: #3a495e; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dp-table tbody tr:last-child td { border-bottom: none; }
.dp-table tbody tr:nth-child(even) { background: #fafbfd; }
.dp-table__title { color: var(--navy); font-weight: 600; max-width: 320px; }
.dp-q { display: inline-block; color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 11px; border-radius: 5px; }
.dp-q--q1 { background: #3f9c3a; }
.dp-q--q2 { background: var(--gold-dark); }
.dp-q--q3 { background: #6b7280; }
.dp-q--q4 { background: #94a3b8; }
.dp-doi { display: inline-flex; align-items: center; gap: 7px; color: #1d4ed8; font-size: 12.5px; word-break: break-all; }
.dp-doi i { color: var(--gold-dark); font-size: 11px; }
.dp-doi:hover { text-decoration: underline; }

/* ---------- Bottom lists ---------- */
.dp-list { display: grid; gap: 13px; }
.dp-list li { position: relative; padding-left: 18px; color: #3a495e; font-size: 14px; line-height: 1.55; }
.dp-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .dp-hero { grid-template-columns: 1fr; gap: 16px; }
    .dp-hero__side { border-left: none; padding-left: 0; }
    .dp-contact { margin-top: 4px; }
}
@media (max-width: 900px) {
    .dp-cols { grid-template-columns: 1fr; gap: 30px; }
    .dp-cols--bottom { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .dp-top { grid-template-columns: 1fr; }
    .dp-photo { padding: 30px 24px 6px; }
    .dp-photo img { max-width: 240px; }
    .dp-hero { padding: 30px 26px 34px; text-align: center; }
    .dp-hero::before { display: none; }
    .dp-hero__side { text-align: center; }
    .dp-contact { justify-items: center; }
    .dp-contact li { width: fit-content; }
    .dp-name { font-size: 34px; }
    .dp-profiles { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 24px; }
    .dp-profiles__label { border-right: none; border-bottom: 2px solid var(--line); padding: 0 0 12px; width: 100%; }
    .dp-profiles__label br { display: none; }
    .dp-cols { padding: 30px 24px; gap: 30px; }
    .dp-pub { padding: 4px 24px 32px; }
}
@media (max-width: 620px) {
    .dp-page { padding: 24px 0 40px; }
    .dp-cols { grid-template-columns: 1fr; }
    .dp-name { font-size: 29px; }
    .dp-role { font-size: 18px; }
}
