:root {
  --green: #1f7a3d;
  --green-dark: #13562a;
  --green-light: #eaf7ee;
  --white: #ffffff;
  --text: #233127;
  --muted: #647069;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
  z-index: 10;
  width: 100%;
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.08em;
  min-height: 58px;
}

.page-header {
  background: linear-gradient(135deg, rgba(19, 86, 42, 0.95), rgba(31, 122, 61, 0.9));
  padding: 0 2rem 2rem;
  overflow: visible;
}

.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.3s ease;
}

.page-main.fade-out {
  opacity: 0;
}

/* Services (side menu on services.html) */
.services-vertical-menu {
  --menu-bg-image: url('../assets/images/slideshow/1.png');
  max-width: 850px;
  margin: 2rem auto 0;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(244, 252, 245, 0.6)), var(--menu-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(19, 86, 42, 0.06);
  transition: opacity 0.3s ease;
  min-height: 150px;
}

.services-vertical-menu.fade-bg {
  opacity: 0;
}

.services-vertical-button {
  display: inline-flex;
  width: auto;
  text-decoration: none;
  text-align: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(31, 122, 61, 0.16);
  box-shadow: inset 0 0 0 1px rgba(31, 122, 61, 0.05);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.2;
  backdrop-filter: blur(2px);
}

.services-vertical-button:hover {
  transform: translateY(-2px);
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(19, 86, 42, 0.12);
}

.services-vertical-button.active {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(19, 86, 42, 0.12);
  transform: translateY(-1px);
}


@media (max-width: 600px) {
  .services-vertical-menu {
    margin-top: 1.5rem;
    padding: 1.25rem 1.1rem;
    gap: 0.65rem;
  }

  .services-vertical-button {
    padding: 0.5rem 0.85rem;
    font-size: 0.95rem;
  }
}

/* Student Development (side menu on student-development.html) */
.dev-vertical-menu {
  --menu-bg-image: url('../assets/images/slideshow/1.png');
  max-width: 850px;
  margin: 2rem auto 0;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(244, 252, 245, 0.6)), var(--menu-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(19, 86, 42, 0.06);
  transition: opacity 0.3s ease;
  min-height: 150px;
}

.dev-vertical-menu.fade-bg {
  opacity: 0;
}

.dev-vertical-button {
  display: inline-flex;
  width: auto;
  text-decoration: none;
  text-align: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(31, 122, 61, 0.16);
  box-shadow: inset 0 0 0 1px rgba(31, 122, 61, 0.05);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.2;
  backdrop-filter: blur(2px);
}

.dev-vertical-button:hover {
  transform: translateY(-2px);
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(19, 86, 42, 0.12);
}

.dev-vertical-button.active {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(19, 86, 42, 0.12);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .dev-vertical-menu {
    margin-top: 1.5rem;
    padding: 1.25rem 1.1rem;
    gap: 0.65rem;
  }

  .dev-vertical-button {
    padding: 0.5rem 0.85rem;
    font-size: 0.95rem;
  }
}

/* About page lists and unit cards */
.page-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.page-list li {
  position: relative;
  padding: 0.6rem 1rem 0.6rem 2.2rem;
  background: rgba(31, 122, 61, 0.04);
  border: 1px solid rgba(31, 122, 61, 0.08);
  border-radius: 14px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.page-list li::before {
  content: '✦';
  position: absolute;
  left: 0.9rem;
  top: 0.65rem;
  color: var(--green);
  font-size: 0.85rem;
}

.unit-card {
  background: rgba(31, 122, 61, 0.04);
  border: 1px solid rgba(31, 122, 61, 0.1);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.unit-card h3 {
  color: var(--green-dark);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.unit-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.unit-card li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.unit-card li::before {
  content: '•';
  position: absolute;
  left: 0.3rem;
  top: 0.3rem;
  color: var(--green);
  font-weight: 700;
}

@media (max-width: 600px) {
  .page-list li {
    padding: 0.55rem 0.9rem 0.55rem 2rem;
    font-size: 0.9rem;
  }

  .unit-card {
    padding: 1rem 1.1rem;
  }
}

/* About page hero with slideshow */
.about-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.75rem;
  align-items: center;
}

.about-hero-copy {
  color: var(--white);
}

.about-hero-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.8rem;
  color: var(--white);
}

.about-hero-copy p {
  color: #effbf0;
  max-width: 480px;
}

.about-slideshow {
  min-height: 420px;
  height: 480px;
  max-width: 560px;
}

.about-slideshow .slide img {
  object-position: center 75%;
}

/* Page section eyebrow color (green for light backgrounds) */
.page-section .eyebrow {
  color: var(--green);
  font-weight: 700;
}

/* Org chart image */
.org-chart-wrapper {
  margin: 1.5rem 0 0.5rem;
  padding: 1rem;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(19, 86, 42, 0.1);
  border: 1px solid rgba(31, 122, 61, 0.12);
  background: var(--white);
  text-align: center;
}

.org-chart-img {
  width: 100%;
  max-height: 600px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}

/* Responsive — About hero */
@media (max-width: 860px) {
  .about-hero {
    grid-template-columns: 1fr;
    padding: 1rem 1.5rem 2rem;
  }

  .about-slideshow {
    min-height: 320px;
    max-width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 600px) {
  .about-hero {
    padding: 0.5rem 1rem 1.5rem;
  }

  .about-slideshow {
    min-height: 260px;
  }
}

/* Student Publication section */
.pub-section-head {
  margin-top: 2rem;
  padding-top: 0.25rem;
}

.pub-section-head h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.pub-section-head p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  max-width: 720px;
}

/* Publication logo cards */
.pub-logo-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
}

.pub-card {
  background: linear-gradient(135deg, #ffffff 0%, #f4fcf5 100%);
  border: 1px solid #dcefe2;
  border-radius: 18px;
  padding: 1rem 1.25rem;
  text-align: left;
  box-shadow: 0 8px 22px rgba(19, 86, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.1rem;
}

.pub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(19, 86, 42, 0.12);
}

.pub-logo {
  width: 92px;
  height: 92px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(31, 122, 61, 0.12);
  box-shadow: 0 6px 16px rgba(19, 86, 42, 0.08);
  flex-shrink: 0;
}

.pub-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pub-info {
  flex: 1;
  min-width: 0;
}

.pub-card h3 {
  color: var(--green-dark);
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.pub-campus {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.pub-desc-placeholder {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
  border-top: 1px dashed rgba(31, 122, 61, 0.18);
  padding-top: 0.6rem;
  margin-bottom: 0;
  width: 100%;
}

/* Publication info cards (teams) */
.pub-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.pub-info-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(31, 122, 61, 0.12);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
}

.pub-info-card h3 {
  color: var(--green-dark);
  font-size: 1rem;
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.pub-info-card h3::before {
  content: '✦';
  color: var(--green);
  font-size: 0.85rem;
}

.pub-info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.pub-info-card li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.pub-info-card li::before {
  content: '•';
  position: absolute;
  left: 0.25rem;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

/* Publication text blocks and lists */
.pub-block {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(31, 122, 61, 0.1);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  margin-top: 0.5rem;
}

.pub-block p {
  margin-bottom: 0.7rem;
}

.pub-block p:last-child {
  margin-bottom: 0;
}

.pub-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.pub-list li {
  position: relative;
  padding: 0.6rem 0.9rem 0.6rem 2.1rem;
  background: rgba(31, 122, 61, 0.04);
  border: 1px solid rgba(31, 122, 61, 0.08);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.pub-list li::before {
  content: '✦';
  position: absolute;
  left: 0.85rem;
  top: 0.6rem;
  color: var(--green);
  font-size: 0.8rem;
}

@media (max-width: 760px) {
  .pub-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .pub-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .pub-info-grid {
    grid-template-columns: 1fr;
  }
}
