:root {
  --navy: #082b45;
  --navy2: #0d3d5f;
  --blue: #146b8a;
  --teal: #0f8f88;
  --gold: #d8a63a;
  --light: #f5f8fa;
  --white: #ffffff;
  --text: #1f3440;
  --muted: #6a7d87;
  --line: #dce6ea;
  --shadow: 0 16px 38px rgba(8, 43, 69, 0.10);
  --radius: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  opacity: 0;
  transition: opacity 0.35s ease;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
body.loaded {
  opacity: 1;
}
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: auto; max-width: 100%; padding-left: 15px; padding-right: 15px; }
@media(max-width: 620px) {
  .container { width: 100%; padding-left: 15px; padding-right: 15px; }
}
.section { padding: 50px 0; }
.alt { background: var(--light); }
.page-header {
  padding: 60px 0;
  background: linear-gradient(135deg, #f7fafb 0%, #eef5f7 100%);
  border-bottom: 1px solid var(--line);
}
.page-header-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.page-header-content .eyebrow {
  display: inline-block;
}
.page-header-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 14px;
  font-weight: 900;
}
.page-header-content p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 10px;
}
.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.14;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-subtitle { max-width: 780px; color: var(--muted); }
.section-head { 
  margin-bottom: 36px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.section-head .eyebrow {
  display: inline-block;
}
.section-head p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  transition: .25s ease;
  box-shadow: 0 2px 0 rgba(8,43,69,0.02);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(8,43,69,.10); }
.card h3 { color: var(--navy); margin-bottom: 7px; }
.card p { color: var(--muted); font-size: .93rem; }
.icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center;
  background: #eaf5f5;
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-secondary { background: #fff; border-color: #bfcfd6; color: var(--navy); }
.btn-teal { background: var(--teal); color: #fff; }
.topline { height: 5px; background: linear-gradient(90deg, var(--navy), var(--teal), var(--gold)); }
.topbar {
  background: #031d31;
  color: #dfeaf0;
  font-size: .74rem;
  letter-spacing: .01em;
}
.topbar .container {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
header {
  position: sticky; top: 0; z-index: 998;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(8,43,69,0.06);
  box-shadow: 0 4px 16px rgba(8,43,69,0.08);
}
.nav {
  min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 6px 0;
  position: relative;
}
.brand {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  min-width: 270px;
}
.brand-mark {
  width: 50px; height: 50px;
  background: var(--navy);
  color: #fff; border-radius: 9px;
  display: grid; place-items: center;
  font-weight: 900; letter-spacing: .04em;
  border-bottom: 4px solid var(--gold);
}
.brand strong { display: block; color: var(--navy); font-size: 1.08rem; line-height: 1.2; font-weight: 800; }
.brand small { display: block; color: var(--muted); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.navlinks {
  display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1;
  font-size: .9rem; font-weight: 800; color: #405762;
  background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0;
  flex-wrap: nowrap;
}
.nav-item { position: relative; }
.nav-item .nav-link,
.nav-item .nav-toggle {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 10px; border-radius: 10px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
  color: #1a3b52;
  font: inherit; font-weight: 700;
  background: transparent; border: none; cursor: pointer;
  white-space: nowrap;
}
.nav-item .nav-toggle::after {
  content: "▾";
  font-size: .7rem;
  opacity: .8;
}
.nav-item .nav-link:hover,
.nav-item .nav-toggle:hover,
.nav-item .nav-link.active,
.nav-item .nav-toggle.active {
  color: #0a2336;
  background: rgba(15, 143, 136, 0.05);
}
.nav-item .nav-link.contact-button {
  background: #0d3d5f;
  color: #fff;
  padding: 12px 26px;
  border-radius: 10px;
  min-width: 118px;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(8,43,69,.12);
  line-height: 1.2;
  margin-left: 4px;
}
.nav-item .nav-link.contact-button:hover {
  background: #0b324d;
  color: #fff;
  transform: translateY(-1px);
}
.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(8,43,69,.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  padding: 8px;
  z-index: 120;
}
/* Desktop-only hover */
@media (hover: hover) and (pointer: fine) {
  .dropdown:hover .dropdown-panel,
  .dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
}
.dropdown-panel a {
  display: block;
  color: var(--navy);
  font-size: .9rem;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
  text-decoration: none;
}
.dropdown-panel a:hover {
  background: #eef7f8;
  color: var(--teal);
}
.menu {
  display: none;
  position: relative;
  z-index: 130;
  width: 46px;
  height: 42px;
  background: rgba(8, 43, 69, 0.03);
  border: 1px solid rgba(8, 43, 69, 0.12);
  border-radius: 12px;
  color: var(--navy);
  cursor: pointer;
  padding: 10px 9px;
  transition: all 0.25s ease;
  margin-left: auto;
  margin-right: 0;
}
.menu:hover { background: rgba(15, 143, 136, 0.06); }
.menu span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.25s ease, top 0.3s ease;
  position: absolute;
  left: 4px;
  right: 0;
  margin: auto;
}
.menu span:nth-child(1) { top: 10px; }
.menu span:nth-child(2) { top: 18px; }
.menu span:nth-child(3) { top: 26px; }
.menu.is-open {
  background: rgba(15, 143, 136, 0.08);
  border-color: rgba(15, 143, 136, 0.2);
}
.menu.is-open span:nth-child(1) {
  top: 18px;
  transform: rotate(38deg) translateX(-6px);
  transform-origin: center;
}
.menu.is-open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-18px);
}
.menu.is-open span:nth-child(3) {
  top: 18px;
  transform: rotate(-38deg) translateX(-6px);
  transform-origin: center;
}
@media(max-width:1024px) {
  .menu { display: block; margin-right: -15px; }
}
@media(max-width:620px) {
  .menu { display: block; margin-right: -18px; }
}
.brand-logo {
  width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%;
  overflow: hidden; background: #fff; border: 1px solid rgba(8,43,69,.12); box-shadow: 0 8px 18px rgba(8,43,69,.12);
  display: grid; place-items: center;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
  overflow: hidden;
  background-image: url('img/hero.png');
  width: 100%;
  max-width: 100vw;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../../img/hero.png');
  background-size: cover;
  background-position: center center;
  opacity: 0.85;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0.70) 100%);
  z-index: 1;
}
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1280px;
}
.hero-copy {
  width: 100%;
  text-align: left;
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 0;
}
.hero-brand {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
  opacity: 1;
}
.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 0.9;
  color: var(--navy);
  letter-spacing: -0.04em;
  font-weight: 900;
  animation: fadeInUp 0.8s ease-out;
  max-width: 100%;
}
.headline-block {
  display: block;
  width: fit-content;
}
.hero-headline .green {
  color: var(--teal);
}
.hero-description {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
  margin-top: 22px;
  font-weight: 500;
  animation: fadeInUp 0.8s ease-out 0.1s backwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.btn-hero {
  min-width: 200px;
  padding: 14px 24px !important;
  font-size: 0.92rem;
  border-radius: 11px;
  font-weight: 800;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
}
.btn-primary.btn-hero {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 24px rgba(8, 43, 69, 0.2);
  border: none;
}
.btn-primary.btn-hero:hover {
  background: #0a3451;
  box-shadow: 0 12px 32px rgba(8, 43, 69, 0.28);
  transform: translateY(-3px);
}
.btn-secondary.btn-hero {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
  box-shadow: 0 4px 16px rgba(8, 43, 69, 0.1);
}
.btn-secondary.btn-hero:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(8, 43, 69, 0.18);
}
.hero-panel {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(8, 43, 69, 0.08);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 16px 48px rgba(8, 43, 69, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-panel h2 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 24px;
  font-weight: 800;
  line-height: 1.3;
}
.hero-panel-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(8, 43, 69, 0.06);
  transition: all 0.3s ease;
}
.hero-panel-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.hero-panel-item:first-of-type {
  padding-top: 0;
}
.hero-panel-item:hover {
  transform: translateX(4px);
}
.hero-panel-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.hero-panel-link::before {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(0);
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 20px;
  font-weight: 700;
  color: var(--teal);
}
.hero-panel-link:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(10px);
}
.hero-panel-link:hover {
  transform: translateX(4px);
  background: rgba(15, 143, 136, 0.02);
  border-radius: 12px;
  padding-left: 16px;
  padding-right: 40px;
  margin-left: -16px;
}
.hero-panel-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef7f8, #dff1f0);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}
.hero-panel-item:hover .hero-panel-icon {
  background: linear-gradient(135deg, var(--teal), #0f8f88);
  transform: scale(1.08);
}
.hero-panel-copy {
  flex: 1;
}
.hero-panel-copy h3 {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 5px;
  line-height: 1.3;
}
.hero-panel-copy p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.hero-stats-section {
  background: #fff;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(8,43,69,0.08);
}
@media(max-width:620px) {
  .hero-stats-section {
    padding: 18px 15px 20px;
  }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
@media(max-width:620px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
  }
}
.stats-item {
  text-align: center;
  padding: 20px 0;
}
@media(max-width:620px) {
  .stats-item {
    padding: 20px 15px;
    border-bottom: 1px solid var(--line);
  }
  .stats-item:last-child {
    border-bottom: none;
  }
}
.stats-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}
.stats-text {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
}
.notice {
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  border: 1.5px solid rgba(8,43,69,0.12);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(245,248,252,0.95) 100%);
  box-shadow: 0 8px 20px rgba(8,43,69,0.08);
  transition: all 0.3s ease;
}
@media(max-width:620px) {
  .notice {
    margin-top: 10px;
    margin-left: 15px;
    margin-right: 15px;
    width: calc(100% - 30px);
  }
}
.notice:hover {
  box-shadow: 0 12px 28px rgba(8,43,69,0.12);
}
.notice strong {
  background: linear-gradient(135deg, var(--navy), #0b3252);
  color: #fff;
  padding: 14px 18px;
  font-weight: 700;
}
.notice-scroll {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.25);
}
.notice-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  min-width: max-content;
  padding: 0 12px;
  animation: ticker 18s linear infinite;
}
.ticker-item {
  display: inline-block;
  padding: 14px 0;
  color: #4a5f6d;
  font-weight: 500;
  white-space: nowrap;
}
.notice a {
  padding: 14px 18px;
  color: var(--teal);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
.notice a:hover {
  color: var(--navy);
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; text-align: center; padding: 14px; }
.stat b { display: block; font-size: 1.45rem; color: var(--navy); }
.stat span { font-size: .75rem; color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; }
.registration {
  background: var(--navy); color: #fff; border-radius: 20px; padding: 27px;
}
.registration h3 { margin-bottom: 16px; }
.row { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.row:last-child { border-bottom: 0; }
.row span { color: #bfcfd8; }
.row b { text-align: right; }
.person { text-align: center; }
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.split-col {
  background: rgba(255,255,255,0.38);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px;
}
.project-item,
.publication-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.project-item:last-child,
.publication-item:last-child {
  border-bottom: 0;
}
.status-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 143, 136, 0.12);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.project-item h4,
.publication-item h4 {
  color: var(--navy);
  margin-bottom: 6px;
}
.project-item p,
.publication-item p {
  color: var(--muted);
  font-size: 0.86rem;
}
.publication-item {
  grid-template-columns: 44px 1fr;
}
.publication-no {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}
.person { text-align: center; }
.avatar {
  width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50%;
  background: #eef4f6; border: 4px solid #fff; box-shadow: 0 7px 20px rgba(8,43,69,.1);
  display: grid; place-items: center; font-size: 2.1rem;
}
.person small { color: var(--teal); font-weight: 800; }
.person .avatar.photo-avatar { overflow: hidden; padding: 0; background: #fff; }
.person .avatar.photo-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.project {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 20px; margin-bottom: 13px;
}
.status {
  height: max-content; padding: 5px 9px; border-radius: 999px;
  font-size: .71rem; font-weight: 900; background: #eaf6f5; color: var(--teal);
}
.project h4 { color: var(--navy); }
.project p { font-size: .88rem; color: var(--muted); }
.resource-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 26px 0 30px; }
.resource-tab {
  border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 16px 13px; text-align: center; cursor: pointer; transition: .22s ease;
}
.resource-tab:hover, .resource-tab.active { border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(8,43,69,.12); }
.resource-tab .rt-icon { display: block; font-size: 1.35rem; margin-bottom: 6px; }
.resource-tab b { display: block; font-size: .86rem; }
.resource-tab span { display: block; margin-top: 3px; font-size: .7rem; opacity: .75; }
.resource-panel { display: none; }
.resource-panel.active { display: block; }
.resource-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.resource-intro h3 { color: var(--navy); font-size: 1.45rem; }
.resource-intro p { color: var(--muted); max-width: 720px; font-size: .92rem; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.resource-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: .22s ease;
}
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.resource-card .resource-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: #edf6f7; margin-bottom: 14px; font-size: 1.25rem; }
.resource-card h4 { color: var(--navy); margin-bottom: 7px; }
.resource-card p { color: var(--muted); font-size: .87rem; }
.resource-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 15px; font-size: .74rem; color: #7d9099; }
.resource-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.resource-actions a { padding: 8px 10px; border-radius: 8px; font-size: .75rem; font-weight: 850; }
.resource-download { background: var(--navy); color: #fff; }
.resource-view { border: 1px solid var(--teal); color: var(--teal); }
.book-controls { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; margin-bottom: 28px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  border: 1px solid var(--line); background: #fff; padding: 8px 13px; border-radius: 999px; font-weight: 750; color: #536873; cursor: pointer;
}
.filter.active, .filter:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.search { min-width: 270px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.search input { border: 0; outline: 0; width: 100%; }
.books { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.book-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 17px; box-shadow: 0 7px 20px rgba(8,43,69,.05); }
.book-cover { aspect-ratio: 3/4.1; border-radius: 10px; position: relative; overflow: hidden; padding: 22px 18px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; box-shadow: 0 13px 25px rgba(8,43,69,.18); margin-bottom: 18px; }
.cover-9 { background: linear-gradient(145deg,#103e5f,#147b8e); }
.cover-10 { background: linear-gradient(145deg,#233b67,#5a4c91); }
.cover-11 { background: linear-gradient(145deg,#0e544d,#159a79); }
.cover-12 { background: linear-gradient(145deg,#6d2d2d,#bb7040); }
.book-cover:after { content: ""; position: absolute; right: -45px; bottom: -55px; width: 155px; height: 155px; border-radius: 50%; border: 24px solid rgba(255,255,255,.12); }
.book-brand { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.book-class { display: inline-block; width: max-content; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 5px 9px; font-size: .72rem; font-weight: 800; }
.book-cover h3 { color: #fff; font-size: 1.5rem; line-height: 1.1; margin-top: auto; margin-bottom: 7px; }
.book-cover p { font-size: .79rem; color: #eef7f8; }
.book-author { font-size: .69rem; opacity: .9; margin-top: 10px; }
.book-info h4 { color: var(--navy); margin-bottom: 5px; }
.book-info p { font-size: .84rem; color: var(--muted); min-height: 43px; }
.book-meta { font-size: .74rem; color: #7d9099; margin: 10px 0; }
.book-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.book-actions a { text-align: center; padding: 9px 7px; border-radius: 8px; font-size: .77rem; font-weight: 850; }
.ebook { background: var(--navy); color: #fff; }
.order { border: 1px solid var(--teal); color: var(--teal); background: #fff; }
.institute-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.institute-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: .25s ease; }
.institute-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.institute-head {
  min-height: 130px; background: linear-gradient(rgba(8,43,69,.88),rgba(8,43,69,.88)), linear-gradient(135deg,#1f6e87,#0f8f88); color: #fff; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end;
}
.institute-head small { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #cde7e7; font-weight: 800; }
.institute-head h3 { font-size: 1.25rem; line-height: 1.2; margin-top: 5px; }
.institute-body { padding: 20px; }
.institute-meta { display: grid; gap: 8px; margin: 14px 0 18px; font-size: .83rem; color: var(--muted); }
.institute-meta span b { color: var(--navy); }
.institute-links { display: flex; gap: 8px; flex-wrap: wrap; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 25px; }
.impact-stat{ text-align:center; background:#fff; border:1px solid var(--line); border-radius:15px; padding:21px; }
.impact-stat b{ display:block; color:var(--navy); font-size:1.8rem; }
.impact-stat span{ font-size:.78rem; color:var(--muted); }
.scholarship-card { border-top: 4px solid var(--teal); }
.scholarship-card .badge { display: inline-block; padding: 5px 9px; border-radius: 999px; background: #eaf6f5; color: var(--teal); font-size: .7rem; font-weight: 900; margin-bottom: 11px; }
.scholarship-details { display: grid; gap: 7px; margin: 14px 0; font-size: .82rem; color: var(--muted); }
.scholarship-details b { color: var(--navy); }
.scholarship-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.jobs-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.jobs-intro { background: var(--navy); color: #fff; border-radius: 20px; padding: 28px; position: sticky; top: 130px; }
.jobs-intro p { color: #c9d9df; margin: 12px 0 20px; }
.jobs-intro ul { padding-left: 18px; color: #d6e2e7; }
.job-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 20px; margin-bottom: 13px; }
.job-top { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.job-card h3 { color: var(--navy); font-size: 1.08rem; }
.job-type { padding: 5px 8px; border-radius: 999px; background: #eef5f7; color: var(--blue); font-size: .68rem; font-weight: 900; white-space: nowrap; }
.job-meta { display: flex; gap: 13px; flex-wrap: wrap; color: var(--muted); font-size: .78rem; margin: 8px 0 13px; }
.job-card p { font-size: .88rem; color: var(--muted); }
.job-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.partner { text-align: center; }
.partner-logo { height: 75px; border: 1px dashed #c7d5db; border-radius: 10px; background: #f7fafb; display: grid; place-items: center; color: #879aa3; font-size: .8rem; margin-bottom: 14px; }
.partner b { display: block; color: var(--navy); }
.partner span { display: block; font-size: .77rem; color: var(--muted); margin-top: 4px; }
.publication { display: grid; grid-template-columns: 50px 1fr auto; gap: 15px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.publication:last-child { border-bottom: 0; }
.pub-no { width: 46px; height: 46px; border-radius: 9px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 900; }
.publication h4 { color: var(--navy); }
.publication p { font-size: .84rem; color: var(--muted); }
.publication a { font-size: .8rem; color: var(--teal); font-weight: 850; }
.timeline { position: relative; }
.timeline:before { content: ""; position: absolute; left: 17px; top: 0; bottom: 0; width: 2px; background: #cbdde2; }
.milestone { position: relative; padding-left: 55px; margin-bottom: 25px; }
.milestone:before { content: ""; position: absolute; left: 6px; top: 5px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); border: 6px solid #dff1ef; }
.milestone small { color: var(--teal); font-weight: 850; }
.milestone h3 { color: var(--navy); }
.event-date { width: 66px; padding: 8px; border-radius: 10px; background: var(--navy); color: #fff; text-align: center; margin-bottom: 15px; }
.event-date b { display: block; font-size: 1.4rem; line-height: 1; }
.event-date span { font-size: .65rem; text-transform: uppercase; }
.download { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 14px; }
.file { width: 44px; height: 44px; border-radius: 10px; background: #edf5f7; display: grid; place-items: center; }
.download b { display: block; color: var(--navy); }
.download span { font-size: .75rem; color: var(--muted); }
.download a { margin-left: auto; color: var(--teal); font-weight: 850; font-size: .8rem; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 170px; gap: 13px; }
.photo { background: linear-gradient(145deg,#dcebef,#f3f8fa); border: 1px solid var(--line); border-radius: 14px; position: relative; overflow: hidden; cursor: pointer; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: .3s ease; }
.photo:hover img { transform: scale(1.04); }
.photo:first-child { grid-row: span 2; }
.photo span { position: absolute; left: 10px; bottom: 10px; background: rgba(8,43,69,.88); color: #fff; border-radius: 7px; padding: 6px 9px; font-size: .72rem; font-weight: 800; }
.news-date { font-size: .76rem; color: var(--teal); font-weight: 850; margin-bottom: 7px; }
.news-card h3 { font-size: 1.08rem; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.join-options { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 28px; }
.join-option { text-align: center; }
.join-option .icon { margin: 0 auto 13px; }
.form-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: grid; gap: 6px; }
.full { grid-column: 1 / -1; }
label { font-size: .79rem; font-weight: 800; color: var(--navy); }
input, select, textarea { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: #fbfcfd; }
textarea { min-height: 105px; resize: vertical; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; }
.contact-list { display: grid; gap: 14px; margin-top: 20px; }
.contact-item { display: flex; gap: 12px; color: var(--muted); align-items: flex-start; }
.contact-icon { 
  width: 48px; 
  height: 48px; 
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%); 
  border-radius: 10px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  flex-shrink: 0;
  color: white;
}
.contact-item b { display: block; color: var(--navy); margin-bottom: 4px; font-size: 1rem; }
.contact-item span { display: block; color: var(--muted); line-height: 1.5; }

/* Mobile: Form upar, contact info neeche */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column-reverse;
  }
}

.map { min-height: 310px; border: 1px solid var(--line); border-radius: 18px; background: #edf4f6; display: grid; place-items: center; text-align: center; color: var(--navy); font-weight: 850; }
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.cta-left,
.cta-right {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px;
}
.cta-left h3,
.cta-right h3 {
  color: var(--navy);
  margin: 8px 0 12px;
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  line-height: 1.2;
}
.cta-left p,
.cta-right p {
  color: var(--muted);
  margin-bottom: 18px;
}
.final-cta {
  background: linear-gradient(135deg, var(--navy), #0f354e);
  padding: 44px 0;
}
.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.final-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 2vw, 2.8rem);
  line-height: 1.2;
}
footer { background: #061e30; color: #b8c9d0; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
footer h4 { color: #fff; margin-bottom: 11px; }
footer a { display: block; margin: 6px 0; font-size: .85rem; }

/* Footer Logo Circle */
.footer-logo-circle {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

/* Mobile Footer Layout */
@media (max-width: 768px) {
  .footer-grid {
    display: block;
  }
  
  /* Brand section with logo on left, text on right */
  .footer-brand {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 24px;
  }
  
  .footer-logo-circle {
    grid-row: 1 / 3;
    width: 70px;
    height: 70px;
    margin: 0;
  }
  
  .footer-brand h4 {
    margin-bottom: 6px;
    grid-column: 2;
  }
  
  .footer-brand p {
    grid-column: 2;
    font-size: 0.85rem;
  }
  
  /* Quick Links and Resources wrapper */
  .footer-grid > div:nth-child(2) {
    display: inline-block;
    width: 49%;
    vertical-align: top;
    margin-bottom: 20px;
  }
  
  .footer-grid > div:nth-child(3) {
    display: inline-block;
    width: 49%;
    vertical-align: top;
    margin-bottom: 20px;
  }
  
  /* Contact full width */
  .footer-grid > div:nth-child(4) {
    display: block;
    width: 100%;
    clear: both;
  }
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.11); margin-top: 30px; padding-top: 15px; font-size: .78rem; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.hidden { display: none !important; }
#preloader {
  position: fixed; inset: 0;
  background: rgba(255,255,255,0.96);
  display: grid; place-items: center; z-index: 9999;
  transition: opacity .45s ease, visibility .45s ease;
  box-shadow: inset 0 0 0 1px rgba(8,43,69,0.04);
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-ring {
  width: 68px; height: 68px; border-radius: 50%;
  border: 3px solid rgba(8,43,69,0.12);
  border-top-color: var(--teal);
  border-right-color: var(--gold);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-shell { padding-top: 36px; padding-bottom: 72px; }
.page-banner {
  background: linear-gradient(135deg, rgba(8,43,69,.96), rgba(15,143,136,.9));
  color: #fff; padding: 72px 0 52px;
}
.page-banner h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 12px; }
.page-banner p { max-width: 740px; color: rgba(255,255,255,.78); }
.breadcrumb { display: inline-flex; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.72); margin-bottom: 14px; }
.lightbox {
  position: fixed; inset: 0; background: rgba(2, 17, 29, 0.85); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 28px;
}
.lightbox.show { display: flex; }
.lightbox-content { max-width: 900px; width: min(90vw, 900px); background: #fff; border-radius: 18px; overflow: hidden; }
.lightbox-content img { width: 100%; height: auto; max-height: 82vh; object-fit: cover; }
.lightbox-close { position: absolute; top: 22px; right: 22px; font-size: 2rem; color: #fff; cursor: pointer; }
.notice-bar { background: linear-gradient(90deg, #0d3d5f, #0f8f88); color: #fff; padding: 20px; border-radius: 12px; }
@media(max-width:1024px) {
  .hero { min-height: 520px; background-attachment: scroll; }
  .hero-container { justify-content: center; align-items: center; padding: 50px 30px; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { padding: 0; max-width: 100%; }
  .hero-headline { font-size: clamp(2.8rem, 6.5vw, 5rem); }
  .hero-description { font-size: 1.05rem; max-width: 100%; }
  .hero-panel { padding: 28px 24px; }
  .stats-grid { grid-template-columns: repeat(5, 1fr); }
  .navlinks {
    position: fixed;
    left: 0;
    right: 0;
    top: 86px;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,0.98);
    padding: 16px 5% 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(8,43,69,.10);
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    z-index: 120;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .navlinks.show {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-item { width: 100%; }
  .nav-item.dropdown { width: 100%; }
  .nav-item .nav-link,
  .nav-item .nav-toggle { 
    width: 100%; 
    justify-content: space-between; 
    padding: 14px 12px; 
    font-size: 1rem;
    border-bottom: 1px solid rgba(8,43,69,0.05);
    background: transparent !important;
  }
  .nav-item .nav-link:active,
  .nav-item .nav-toggle:active {
    background: rgba(15, 143, 136, 0.08) !important;
  }
  .dropdown-panel {
    position: static;
    transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    min-width: 0;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    box-shadow: none;
    border-radius: 0;
    border: none;
    background: #f5f8fa;
    display: none;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.28s ease, opacity 0.22s ease, visibility 0.22s ease;
  }
  .dropdown.open .dropdown-panel { 
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 420px;
    flex-direction: column;
  }
  .dropdown-panel a {
    padding: 12px 12px 12px 24px !important;
    border-bottom: 1px solid rgba(8,43,69,0.03);
    font-size: 0.95rem;
    font-weight: 600;
  }
  .dropdown-panel a:last-child {
    border-bottom: none;
  }
  .dropdown .nav-toggle::after {
    transition: transform 0.2s ease;
  }
  .dropdown.open .nav-toggle::after {
    transform: rotate(180deg);
  }
  .menu { display: block; margin-right: -8px; }
  .hero-stats, .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4, .books, .join-options, .institute-grid, .impact-grid, .resource-tabs, .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .photo:first-child { grid-row: span 1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .about-grid, .contact-grid, .jobs-wrap { grid-template-columns: 1fr; }
}
@media(max-width:768px) {
  .hero { min-height: 480px; }
  .hero-container { justify-content: center; align-items: center; padding: 40px 20px; }
  .hero-layout { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy { padding: 0; }
  .hero-headline { font-size: clamp(2.5rem, 6vw, 5rem); }
  .hero-description { font-size: 1rem; margin-top: 18px; }
  .hero-actions { margin-top: 24px; gap: 12px; }
  .btn-hero { padding: 13px 20px !important; font-size: 0.88rem; min-width: 180px; }
  .hero-panel { padding: 24px 20px; }
  .hero-panel h2 { font-size: 1.2rem; margin-bottom: 20px; }
  .hero-panel-item { padding: 14px 0; }
  .hero-panel-icon { width: 44px; height: 44px; min-width: 44px; font-size: 1.3rem; }
  .hero-panel-copy h3 { font-size: 0.98rem; }
  .hero-panel-copy p { font-size: 0.84rem; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-item { padding: 16px 10px; }
}
@media(max-width:620px) {
  body { overflow-x: hidden; width: 100%; max-width: 100vw; }
  .container { width: 100%; padding-left: 15px; padding-right: 15px; }
  .nav { padding: 6px 12px; gap: 12px; }
  .brand { min-width: auto; margin-right: auto; }
  .brand-logo { width: 52px; height: 52px; flex: 0 0 52px; }
  .menu { margin-left: auto; margin-right: -4px; }
  .section { padding: 40px 0; }
  .hero { 
    min-height: 420px; 
    background-attachment: scroll; 
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
  }
  .hero-container {
    padding: 35px 0;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 0 18px;
    margin: 0;
    box-sizing: border-box;
  }
  .hero-headline { 
    font-size: clamp(1.8rem, 5.5vw, 4.5rem);
    max-width: 100%;
  }
  .hero-description { 
    font-size: 0.92rem; 
    margin-top: 16px;
    max-width: 100%;
  }
  .hero-actions { 
    margin-top: 20px; 
    gap: 10px; 
    flex-direction: column;
    width: 100%;
  }
  .btn-hero { 
    padding: 12px 18px !important; 
    font-size: 0.85rem; 
    min-width: 100%; 
    width: 100%;
    box-sizing: border-box;
  }
  .hero-brand { font-size: 0.72rem; }
  .hero-panel {
    padding: 20px 18px;
    border-radius: 18px;
    margin: 0 18px;
    width: calc(100% - 36px);
    max-width: calc(100% - 36px);
    box-sizing: border-box;
  }
  .hero-panel h2 { font-size: 1.1rem; margin-bottom: 18px; }
  .hero-panel-item { 
    padding: 12px 0; 
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }
  .hero-panel-icon { width: 40px; height: 40px; min-width: 40px; font-size: 1.2rem; }
  .hero-panel-copy { 
    flex: 1;
    width: calc(100% - 52px);
    max-width: calc(100% - 52px);
  }
  .hero-panel-copy h3 { font-size: 0.92rem; }
  .hero-panel-copy p { font-size: 0.8rem; word-wrap: break-word; }
  .hero-stats-section { padding: 48px 0; }
  .stats-item { padding: 14px 0; }
  .stats-number { font-size: 2.2rem; }
  .stats-text { font-size: 0.85rem; }
  .topbar .container span:last-child { display: none; }
  .grid-3, .grid-4, .books, .join-options, .stats, .form-grid, .gallery, .footer-grid, .institute-grid, .impact-grid, .resource-tabs, .resource-grid { grid-template-columns: 1fr; }
  
  /* Stats grid horizontal scroll on mobile - ONE LINE */
  .stats-grid { 
    display: flex !important;
    overflow-x: auto !important;
    gap: 16px !important;
    padding-bottom: 12px !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .stats-grid .stats-item {
    min-width: 140px !important;
    flex-shrink: 0 !important;
    padding: 16px 12px !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  }
  .stats-grid .stats-number {
    font-size: 2rem !important;
  }
  .stats-grid .stats-text {
    font-size: 0.75rem !important;
  }
  
  /* Keep hero-stats if it exists */
  .hero-stats { 
    display: flex !important;
    overflow-x: auto !important;
    gap: 16px !important;
  }
  
  .notice { grid-template-columns: auto 1fr; }
  .notice a { display: none; }
  .publication { grid-template-columns: 45px 1fr; }
  .publication a { grid-column: 2; }
  .search { min-width: 100%; }
  .jobs-intro { position: static; }
  .brand small { display: none; }
  .nav-item .nav-link.contact-button {
    background: linear-gradient(135deg, #0d3d5f, #0f8f88);
    color: #fff;
    padding: 14px 12px;
    border-radius: 10px;
    min-width: auto;
    width: 100%;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(8,43,69,.10);
    line-height: 1.2;
    margin: 12px 0 0 0;
    font-size: 1rem;
    border-bottom: none !important;
  }
  .nav-item .nav-link.contact-button:hover,
  .nav-item .nav-link.contact-button:active {
    background: linear-gradient(135deg, #0b324d, #0d7a77);
    color: #fff;
    transform: translateY(-1px);
  }
}


/* ===================================
   INSTITUTES PAGE STYLES
   =================================== */

/* Hero Section */
.institutes-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a2540 0%, #0d3d5f 50%, #0f8f88 100%);
  overflow: hidden;
  padding: 100px 0 80px;
}
.institutes-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(15, 143, 136, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(216, 166, 58, 0.1) 0%, transparent 50%);
  z-index: 1;
}
.institutes-hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, transparent 0%, rgba(10, 37, 64, 0.3) 100%),
    url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.05)"/></svg>');
  z-index: 1;
}
.institutes-hero .container {
  position: relative;
  z-index: 2;
}
.institutes-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.institutes-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 20px;
  margin-bottom: 24px;
  animation: float 3s ease-in-out infinite;
}
.badge-icon {
  font-size: 1.2rem;
}
.badge-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.institutes-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.gradient-text {
  background: linear-gradient(135deg, #f5c94b 0%, #0fdfcf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.institutes-hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.institutes-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stat-item {
  text-align: center;
}
.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: #f5c94b;
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(245, 201, 75, 0.3);
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Section Styles */
.institutes-section {
  padding: 80px 0;
}
.section-head-center {
  text-align: center;
  margin-bottom: 56px;
}
.section-head-center .section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 12px;
}

/* Modern Institute Cards Grid */
.institutes-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}
.institute-modern-card {
  background: #fff;
  border: 1px solid rgba(8, 43, 69, 0.08);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.institute-modern-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.institute-modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(8, 43, 69, 0.12);
  border-color: rgba(15, 143, 136, 0.2);
}
.institute-modern-card:hover::before {
  transform: scaleX(1);
}
.card-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef7f8, #e0f2f1);
  margin-bottom: 20px;
  font-size: 2rem;
  transition: transform 0.3s ease;
}
.institute-modern-card:hover .card-icon-wrapper {
  transform: scale(1.1) rotate(-5deg);
}
.card-category {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 14px;
}
.card-description {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
  min-height: 78px;
}
.card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(8, 43, 69, 0.06);
}
.card-meta span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-card {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-card.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-card.btn-primary:hover {
  background: #0a3451;
  transform: translateY(-2px);
}
.btn-card.btn-secondary {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-card.btn-secondary:hover {
  background: var(--navy);
  color: #fff;
}

/* CTA Section */
.institutes-cta-section {
  padding: 60px 0;
}
.institutes-cta {
  background: linear-gradient(135deg, var(--navy), #0b3252);
  border-radius: 28px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-content h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 12px;
  font-weight: 800;
}
.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 520px;
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* Responsive */
@media(max-width: 768px) {
  .institutes-hero {
    min-height: 500px;
    padding: 80px 0 60px;
  }
  .institutes-hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .institutes-hero-description {
    font-size: 1rem;
    margin-bottom: 36px;
  }
  .institutes-hero-stats {
    gap: 32px;
  }
  .stat-number {
    font-size: 2.4rem;
  }
  .institutes-modern-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .institutes-cta {
    padding: 40px 28px;
    text-align: center;
    justify-content: center;
  }
  .cta-content {
    text-align: center;
  }
  .cta-content p {
    margin-left: auto;
    margin-right: auto;
  }
}
@media(max-width: 620px) {
  .institutes-hero {
    padding: 60px 0 40px;
  }
  .institutes-hero-badge {
    padding: 6px 16px;
  }
  .institutes-hero-stats {
    gap: 24px;
  }
  .hero-stat-item {
    flex: 1;
    min-width: calc(50% - 12px);
  }
  .stat-number {
    font-size: 2rem;
  }
  .card-description {
    min-height: auto;
  }
}
