:root{
  --bg: #0b1220;
  --card: rgba(255,255,255,0.08);
  --card2: rgba(255,255,255,0.10);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --accent: #7dd3fc;
  --border: rgba(255,255,255,0.14);
  --shadow: 0 14px 40px rgba(0,0,0,0.35);
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background: radial-gradient(1200px 600px at 20% 0%, rgba(125,211,252,0.12), transparent 60%), var(--bg); color: var(--text); }
a{ color: var(--accent); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{ max-width: 1120px; margin: 0 auto; padding-left:1in; padding-right:1in; 
}

.header{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding: 10px 0 18px;
}
.brand{
  display:flex; flex-direction:column; gap:2px;
}
.brand h1{ margin:0; font-size: 22px; letter-spacing: 0.4px; }
.brand p{ margin:0; color: var(--muted); font-size: 14px; }

.topnav{ display:flex; gap:14px; flex-wrap:wrap; justify-content:flex-end; }
.topnav a{ padding: 8px 10px; border:1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,0.04); }
.topnav a:hover{ background: rgba(255,255,255,0.07); text-decoration:none; }

.hero{
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  background: #111a2b;
}
.heroInner{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
}
.heroCopy{
  padding: 26px 26px 22px;
}
.heroCopy h2{
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
}
.heroCopy p{ margin: 0 0 12px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.heroCopy .pillRow{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 12px; }
.pill{
  font-size: 13px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.86);
}
.heroImage{
  min-height: 320px;
  background-size: cover;
  background-position: center;
  position:relative;
}
.heroImage::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(11,18,32,0.55), rgba(11,18,32,0.10) 55%, rgba(11,18,32,0.55));
}

.sectionTitle{
  margin: 26px 0 12px;
  font-size: 18px;
  color: rgba(255,255,255,0.88);
}

.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.tile{
  border:1px solid var(--border);
  border-radius: 18px;
  overflow:hidden;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 10px 24px rgba(0,0,0,0.24);
  position:relative;
  min-height: 190px;
  display:flex;
}
.tile::before{
  content:"";
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.tile::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.68));
}
.tileContent{
  position:relative;
  padding: 16px 16px 14px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:8px;
  width:100%;
}
.tileContent h3{ margin:0; font-size: 16px; letter-spacing: 0.2px; }
.tileContent p{ margin:0; color: rgba(255,255,255,0.78); font-size: 13px; line-height: 1.35; }
.tileContent .cta{
  margin-top: 6px;
  display:inline-flex; align-items:center; gap:8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}
.tileLink{ position:absolute; inset:0; z-index: 2; }

.card{
  border:1px solid var(--border);
  background: var(--card);
  border-radius: 22px;
  padding: 20px 20px 16px;
  box-shadow: var(--shadow);
}
.card h2{ margin: 0 0 10px; font-size: 22px; }
.card p, .card li{ color: var(--muted); line-height: 1.6; font-size: 15px; }
.card ul{ margin: 10px 0 0 18px; }

.footer{
  margin-top: 18px;
  color: rgba(255,255,255,0.66);
  font-size: 13px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.pageHero{
  border:1px solid var(--border);
  border-radius: 22px;
  overflow:hidden;
  margin-bottom: 14px;
  background:#0e1627;
  position:relative;
  min-height: 210px;
  box-shadow: var(--shadow);
}
.pageHero::before{
  content:"";
  position:absolute; inset:0;
  background-size: cover;
  background-position:center;
  filter: saturate(1.05);
}
.pageHero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(11,18,32,0.40), rgba(11,18,32,0.92));
}
.pageHeroInner{
  position:relative;
  padding: 22px 22px 18px;
}
.pageHeroInner h1{ margin:0 0 8px; font-size: 28px; }
.pageHeroInner p{ margin:0; color: rgba(255,255,255,0.78); line-height:1.55; max-width: 900px; }

.smallNote{ color: rgba(255,255,255,0.68); font-size: 13px; margin-top: 10px; }

@media (max-width: 980px){
  .heroInner{ grid-template-columns: 1fr; }
  .heroImage{ min-height: 260px; }
  .grid{ grid-template-columns: repeat(2, 1fr); }

@media (max-width: 560px){
  .grid{ grid-template-columns: 1fr; }

/* Basic layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 18px; }
.page { padding: 34px 0 52px; }
.page-hero { margin-bottom: 22px; }
.lead { max-width: 900px; }

/* Header / footer */
.site-header { border-bottom: 1px solid #e7e7e7; padding: 14px 0; }
.site-header .brand { font-weight: 700; text-decoration: none; }
.nav a { margin-left: 14px; text-decoration: none; }
.site-footer { border-top: 1px solid #e7e7e7; padding: 18px 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 18px; }
.card { border: 1px solid #e7e7e7; border-radius: 14px; padding: 18px; }
.button { display: inline-block; margin-top: 10px; padding: 10px 12px; border: 1px solid #d0d0d0; border-radius: 10px; text-decoration: none; }

/* Project layout */
.content-grid { display: grid; gap: 16px; margin-top: 18px; }
.panel { border: 1px solid #e7e7e7; border-radius: 14px; padding: 18px; }
.visual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 12px; }
.visual img { width: 100%; height: auto; border-radius: 12px; border: 1px solid #ededed; }

.backlink { margin-top: 18px; }
.note { margin-top: 10px; font-size: 0.95rem; }
/* Watermark background for Project Engagements page */
.page {
  position: relative;
  z-index: 1;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/watermark-campus.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.12;              /* light watermark */
  pointer-events: none;       /* never blocks clicks */
  z-index: -1;
}
/* Sharp background watermark for Smart City page */
body.smart-city-watermark {
  position: relative;
}

/* Watermark layer */
body.smart-city-watermark::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/kb.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  /* watermark strength – adjust if needed */
  opacity: 0.18;

  /* explicitly NO shading, NO blur */
  filter: none;

  pointer-events: none;
  z-index: 0;
}

/* Ensure all page content stays above watermark */
body.smart-city-watermark > * {
  position: relative;
  z-index: 1;
}
