@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('vendor/fonts/inter-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('vendor/fonts/lora-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('vendor/fonts/lora-italic-400.woff2') format('woff2');
}

:root {
  --green: #E4B271;
  --green-dark: #DAA520;
  --green-2: #c9ab7a;
  --navy: #2c3e50;
  --navy-2: #34495e;
  --cream: #faf3e6;
  --light: #f4f7f5;
  --white: #fff;
  --text: #17231d;
  --muted: #6c7a73;
  --border: #e2e9e5;
  --gold: #d8b44a;
  --danger: #c43d3d;
  --shadow: 0 8px 24px rgba(44, 62, 80, .1);
  --radius: 14px;
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: 'Inter', Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: #f7f9f8
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, serif;
}

a {
  text-decoration: none;
  color: inherit
}

.container {
  width: min(1180px, 92%);
  margin: auto
}

.topbar {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--navy);
  font-size: 13px;
  padding: 7px 0
}

.topbar .container {
  display: flex;
  justify-content: space-between
}

.nav {
  height: 74px;
  background: #fff;
  border-bottom: 4px solid var(--green);
  box-shadow: 0 2px 10px rgba(44, 62, 80, .08);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px 8px;
  font-size: 26px;
  line-height: 1;
  color: var(--green-dark);
  cursor: pointer
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy)
}

img.logo-mark {
  width: auto;
  height: 90px;
  border-radius: 0;
  background: none;
  border: none;
  object-fit: contain;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 13px;
  border: 3px solid #f3e3c4
}

.logo small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.5px
}

.menu {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px
}

.menu a:hover,
.menu a.active {
  color: var(--green-dark);
  font-weight: 700
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 11px 17px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px
}

.btn-primary {
  background: var(--green);
  color: var(--navy)
}

.btn-primary:hover {
  background: var(--green-dark)
}

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: #fff
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff
}

.btn-light {
  background: var(--cream);
  color: var(--navy)
}

.hero {
  min-height: 520px;
  background: linear-gradient(135deg, rgba(44, 62, 80, .72), rgba(228, 178, 113, .35)), url('image/hero.jpg') center/cover;
  display: flex;
  align-items: center;
  color: #fff
}

.hero-content {
  max-width: 700px
}

.hero h1 {
  font-size: 56px;
  line-height: 1.04;
  margin: 0 0 18px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, .35)
}

.hero p {
  font-size: 19px;
  line-height: 1.6;
  max-width: 620px
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -55px;
  position: relative
}

.stat {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center
}

.stat strong {
  display: block;
  color: var(--navy);
  font-family: 'Lora', Georgia, serif;
  font-size: 28px
}

.stat span {
  color: var(--muted);
  font-size: 13px
}

.section {
  padding: 70px 0
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 25px
}

.section h2 {
  margin: 0;
  font-size: 30px
}

.section-head p {
  color: var(--muted)
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .03)
}

.card h3 {
  margin: 0 0 8px
}

.muted {
  color: var(--muted)
}

.news-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px
}

.news-card .tag {
  margin-top: 14px
}

.tag {
  display: inline-block;
  background: var(--cream);
  color: var(--green-dark);
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700
}

.event {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border)
}

.date {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 800;
  text-align: center
}

.date b {
  font-size: 20px;
  display: block
}

.date small {
  font-size: 10px
}

.quote {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.7
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 800;
  overflow: hidden
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  padding: 45px;
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center
}

footer {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #dce4ea;
  padding: 50px 0 20px
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 35px
}

.footer-title {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 15px
}

.footer-links a {
  display: block;
  margin: 9px 0;
  font-size: 14px
}

.footer-links a:hover {
  color: var(--green)
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .15);
  margin-top: 35px;
  padding-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55)
}

.page-head {
  background: linear-gradient(100deg, var(--navy), var(--navy-2));
  color: #fff;
  padding: 55px 0
}

.page-head h1 {
  margin: 0 0 8px;
  font-size: 38px
}

.breadcrumbs {
  font-size: 13px;
  opacity: .8
}

.filters {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr) auto;
  gap: 10px;
  margin-bottom: 25px
}

.input,
.select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  outline: none
}

.input:focus,
.select:focus {
  border-color: var(--green-dark)
}

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.person {
  padding: 0;
  overflow: hidden
}

.person-top {
  display: flex;
  gap: 15px;
  padding: 20px
}

.person .avatar {
  width: 78px;
  height: 78px;
  border-radius: 10px;
  flex: none
}

.person h3 {
  margin: 2px 0 6px
}

.person-footer {
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between
}

.profile {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 22px
}

.profile-cover {
  height: 115px;
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  border-radius: 15px 15px 0 0
}

.profile-main {
  margin-top: -55px;
  padding: 0 25px 25px
}

.profile-photo {
  width: 130px;
  height: 130px;
  border: 6px solid #fff;
  border-radius: 14px;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  overflow: hidden
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.profile-side .card {
  height: 100%
}

.tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--border);
  margin: 20px 0
}

.tabs a {
  padding: 12px 2px;
  color: var(--muted)
}

.tabs a.active {
  color: var(--green-dark);
  border-bottom: 2px solid var(--green-dark);
  font-weight: 700
}

.timeline {
  border-left: 2px solid #ecdfc9;
  padding-left: 22px
}

.timeline-item {
  position: relative;
  margin-bottom: 25px
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: -30px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-dark)
}

.dashboard {
  display: grid;
  grid-template-columns: 245px 1fr;
  min-height: calc(100vh - 74px)
}

.sidebar {
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #d8e0e9;
  padding: 20px 14px
}

.sidebar .brand {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  color: #fff;
  padding: 15px
}

.side-link {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  margin: 3px 0;
  font-size: 14px;
  border-left: 4px solid transparent
}

.side-link:hover,
.side-link.active {
  background: rgba(255, 255, 255, .08);
  color: var(--green)
}

.side-link.active {
  border-left-color: var(--green)
}

.main {
  padding: 30px
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px
}

.metric {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px
}

.metric .icon {
  width: 38px;
  height: 38px;
  background: var(--cream);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  border-radius: 9px
}

.metric strong {
  font-size: 25px;
  display: block;
  margin: 12px 0 4px
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
  margin-top: 18px
}

.table {
  width: 100%;
  border-collapse: collapse
}

.table th,
.table td {
  text-align: left;
  padding: 13px;
  border-bottom: 1px solid var(--border);
  font-size: 13px
}

.table th {
  color: var(--muted);
  font-weight: 600
}

.login-wrap {
  min-height: 75vh;
  display: grid;
  place-items: center;
  padding: 50px
}

.auth {
  width: min(460px, 100%);
  background: #fff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: var(--shadow)
}

.auth h1 {
  text-align: center
}

.auth .logo {
  justify-content: center;
  margin-bottom: 20px
}

.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 74px)
}

.admin-side {
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #fff;
  padding: 20px 12px
}

.admin-main {
  padding: 28px
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px
}

.chart {
  height: 250px;
  background: repeating-linear-gradient(to top, #fff 0, #fff 48px, #f3f0ea 49px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: end;
  gap: 14px
}

.bar {
  flex: 1;
  background: var(--green);
  border-radius: 5px 5px 0 0;
  min-height: 30px
}

.donut {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(var(--green-dark) 0 38%, var(--navy) 38% 67%, var(--green) 67% 81%, #c9ab7a 81% 92%, #ddd 92%);
  position: relative;
  margin: auto
}

.donut:after {
  content: "";
  position: absolute;
  inset: 35px;
  background: #fff;
  border-radius: 50%
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px
}

.pagination a {
  padding: 9px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px
}

.pagination a.active {
  background: var(--navy);
  color: #fff
}

@media(max-width:900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--border);
    border-top: none;
    box-shadow: var(--shadow);
    padding: 10px 20px 16px;
    z-index: 30
  }

  .menu.is-open {
    display: flex
  }

  .menu a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--border)
  }

  .menu a:last-child {
    border-bottom: none
  }

  .stats,
  .grid-3,
  .alumni-grid,
  .dash-cards {
    grid-template-columns: repeat(2, 1fr)
  }

  .filters {
    grid-template-columns: 1fr 1fr
  }

  .profile,
  .dashboard,
  .admin-layout,
  .dashboard-grid {
    grid-template-columns: 1fr
  }

  .sidebar,
  .admin-side {
    display: none
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .hero h1 {
    font-size: 42px
  }
}

@media(max-width:600px) {

  .stats,
  .grid-2,
  .grid-3,
  .alumni-grid,
  .dash-cards,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .hero {
    min-height: 560px
  }

  .hero h1 {
    font-size: 36px
  }

  .main {
    padding: 18px
  }

  .filters {
    grid-template-columns: 1fr
  }

  .cta {
    display: block
  }

  .cta .btn {
    margin-top: 18px
  }
}
