:root {
  color-scheme: light;
  --ink: #071312;
  --muted: #66736e;
  --paper: #f6f8f4;
  --panel: #ffffff;
  --line: rgba(8, 35, 31, 0.12);
  --deep: #061b19;
  --forest: #0c3b35;
  --teal: #00a6b2;
  --mint: #a8f0c6;
  --lime: #d9ff72;
  --amber: #ffbd4a;
  --coral: #ff744d;
  --shadow: 0 28px 80px rgba(5, 32, 29, 0.16);
  --soft-shadow: 0 18px 46px rgba(5, 32, 29, 0.08);
  --hairline: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(0, 166, 178, 0.16), transparent 34vw),
    radial-gradient(circle at 92% 12%, rgba(217, 255, 114, 0.14), transparent 28vw),
    linear-gradient(180deg, #f9fbf6 0, #eef6ef 42%, #f7f8f4 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(6, 27, 25, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 27, 25, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 1080px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.4vw, 7.2rem);
  line-height: 0.9;
}

h2 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.4vw, 4.1rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(246, 248, 244, 0.78);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--deep);
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(0, 166, 178, 0.95), rgba(12, 59, 53, 0.98)),
    var(--forest);
  color: #ffffff;
  font-size: 0.88rem;
  box-shadow: 0 16px 36px rgba(0, 166, 178, 0.24);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  color: rgba(7, 19, 18, 0.64);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 13px;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  border-color: rgba(0, 166, 178, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: var(--deep);
  box-shadow: 0 10px 28px rgba(5, 32, 29, 0.08);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.52fr);
  gap: clamp(28px, 5vw, 76px);
  min-height: calc(100vh - 76px);
  align-items: end;
  padding: clamp(64px, 8vw, 120px) clamp(18px, 4vw, 64px) clamp(48px, 7vw, 92px);
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -4;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 17, 16, 0.96), rgba(3, 17, 16, 0.82) 44%, rgba(3, 17, 16, 0.38)),
    linear-gradient(0deg, rgba(3, 17, 16, 0.88), rgba(3, 17, 16, 0.12)),
    url("753134.png") center / cover no-repeat;
}

.hero::after,
.page-hero::after {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(120deg, rgba(0, 166, 178, 0.24), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(217, 255, 114, 0.2), transparent 28%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 84px);
}

.hero-home .hero-content::before {
  display: inline-flex;
  margin-bottom: 18px;
  border: 1px solid rgba(217, 255, 114, 0.24);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(217, 255, 114, 0.1);
  color: var(--lime);
  content: "Climate AI | Water Intelligence | Smart Agriculture";
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-logo-bg {
  position: absolute;
  right: clamp(18px, 5vw, 84px);
  top: clamp(92px, 12vw, 138px);
  z-index: -1;
  width: min(34vw, 460px);
  min-width: 250px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.55)),
    url("Logo.png") center / contain no-repeat;
  opacity: 0.22;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  transform: rotate(-2deg);
}

.hero-content {
  max-width: 980px;
}

.kicker,
.section-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 116, 77, 0.1);
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .kicker,
.page-hero .kicker {
  background: rgba(255, 255, 255, 0.12);
  color: #d9ff72;
}

.hero-copy,
.page-hero p {
  max-width: 780px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-card,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 950;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--lime), var(--amber));
  color: #1d2108;
  box-shadow: 0 18px 38px rgba(217, 255, 114, 0.2);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.button.secondary.dark {
  border-color: rgba(8, 35, 31, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--deep);
}

.profile-panel {
  display: grid;
  gap: 14px;
  align-self: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(22px);
}

.profile-panel::before {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.58);
  content: "LIVE EXPERTISE SNAPSHOT";
  font-size: 0.74rem;
  font-weight: 950;
}

.profile-panel div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.metric {
  color: var(--lime);
  font-size: 2.1rem;
  font-weight: 950;
  line-height: 1;
}

.page-hero {
  min-height: 430px;
  padding: clamp(68px, 9vw, 124px) clamp(18px, 4vw, 64px);
}

.page-hero h1 {
  max-width: 1040px;
  font-size: clamp(2.5rem, 5.9vw, 5.7rem);
}

.section,
.intro-band,
.cta-section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 64px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 249, 241, 0.78));
}

.intro-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.section-heading {
  display: grid;
  max-width: 980px;
  margin-bottom: 34px;
}

.solution-grid article {
  min-height: 300px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62)),
    radial-gradient(circle at 82% 0%, rgba(0, 166, 178, 0.2), transparent 34%);
}

.solution-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 16px;
  background: #061b19;
  color: var(--lime);
  font-weight: 950;
  box-shadow: 0 18px 36px rgba(5, 32, 29, 0.18);
}

.insight-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: #061b19;
}

.insight-strip div {
  min-height: 220px;
  padding: clamp(26px, 5vw, 48px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 80% 20%, rgba(217, 255, 114, 0.16), transparent 36%);
}

.insight-strip span {
  display: block;
  margin-bottom: 16px;
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.insight-strip strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.15;
}

.feature-grid,
.service-grid,
.case-study-grid,
.topic-grid,
.summary-grid,
.interactive-grid,
.option-grid,
.impact-grid,
.timeline,
.publication-list,
.education-list,
.download-grid {
  display: grid;
  gap: 20px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid,
.case-study-grid,
.summary-grid,
.interactive-grid,
.option-grid,
.impact-grid,
.publication-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.education-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid article,
.service-grid article,
.case-study-grid article,
.topic-grid article,
.summary-grid article,
.interactive-grid article,
.option-grid article,
.timeline article,
.publication-list article,
.education-list article,
.download-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-grid article::before,
.service-grid article::before,
.case-study-grid article::before,
.topic-grid article::before,
.summary-grid article::before,
.interactive-grid article::before,
.option-grid article::before,
.timeline article::before,
.publication-list article::before,
.education-list article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--lime), var(--amber));
}

.feature-grid article,
.service-grid article,
.case-study-grid article,
.topic-grid article,
.summary-grid article,
.interactive-grid article,
.option-grid article,
.timeline article,
.publication-list article,
.education-list article {
  padding: 26px;
}

.feature-grid article:hover,
.service-grid article:hover,
.case-study-grid article:hover,
.topic-grid article:hover,
.summary-grid article:hover,
.interactive-grid article:hover,
.option-grid article:hover,
.timeline article:hover,
.publication-list article:hover,
.education-list article:hover,
.download-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-grid p,
.service-grid p,
.case-study-grid p,
.topic-grid p,
.summary-grid p,
.interactive-grid p,
.option-grid p,
.timeline p,
.timeline span,
.publication-list p,
.education-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-grid article {
  min-height: 268px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.66)),
    radial-gradient(circle at 100% 0%, rgba(217, 255, 114, 0.2), transparent 36%);
}

.service-grid span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--deep), var(--teal));
  color: #ffffff;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(0, 166, 178, 0.18);
}

.case-study-section,
.publication-topics-section,
.interactive-models-section,
.consultation-options {
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 166, 178, 0.1), transparent 28vw),
    rgba(255, 255, 255, 0.5);
}

.case-study-grid article,
.summary-grid article,
.interactive-grid article,
.option-grid article {
  min-height: 300px;
}

.case-study-grid span,
.topic-grid span,
.interactive-grid span,
.option-grid span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(0, 166, 178, 0.12);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 950;
}

.case-study-grid strong {
  color: var(--deep);
}

.topic-grid article {
  min-height: 220px;
}

.lay-summary-section {
  background:
    radial-gradient(circle at 88% 10%, rgba(217, 255, 114, 0.2), transparent 28vw),
    #f7faf4;
}

.summary-grid span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 116, 77, 0.1);
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 950;
}

.interactive-grid article,
.option-grid article {
  display: flex;
  flex-direction: column;
}

.interactive-grid .button,
.option-grid .mini-button {
  width: fit-content;
  margin-top: auto;
}

.impact-section {
  background:
    radial-gradient(circle at 92% 18%, rgba(217, 255, 114, 0.18), transparent 28vw),
    linear-gradient(135deg, #06201d, #0b3b35);
}

.impact-section .section-label,
.impact-section h2 {
  color: #ffffff;
}

.impact-grid article {
  min-height: 248px;
  border-color: rgba(255, 255, 255, 0.18);
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.flag-badge {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 2rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.flag {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(8, 35, 31, 0.14);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(5, 32, 29, 0.12);
}

.flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flag-badge.flag {
  width: 64px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 12px;
}

.flag::before,
.flag::after {
  display: none;
}

.flag-pk { background: url("flags/pk.svg") center / cover no-repeat; }
.flag-th { background: url("flags/th.svg") center / cover no-repeat; }
.flag-kr { background: url("flags/kr.svg") center / cover no-repeat; }
.flag-it { background: url("flags/it.svg") center / cover no-repeat; }
.flag-cn { background: url("flags/cn.svg") center / cover no-repeat; }
.flag-ca { background: url("flags/ca.svg") center / cover no-repeat; }
.flag-tr { background: url("flags/tr.svg") center / cover no-repeat; }
.flag-mm { background: url("flags/mm.svg") center / cover no-repeat; }

.impact-grid h3 {
  color: var(--lime);
  font-size: 1.48rem;
}

.impact-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.collaboration-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 166, 178, 0.12), transparent 28vw),
    radial-gradient(circle at 88% 18%, rgba(217, 255, 114, 0.18), transparent 26vw),
    #f7faf4;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.country-grid article {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 26px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.66)),
    radial-gradient(circle at 88% 8%, rgba(0, 166, 178, 0.16), transparent 36%);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
}

.country-grid article::after {
  position: absolute;
  right: -8px;
  bottom: -28px;
  color: rgba(6, 27, 25, 0.05);
  content: "AI";
  font-size: 5.8rem;
  font-weight: 950;
  line-height: 1;
}

.country-grid .flag {
  display: block;
  margin-bottom: 20px;
}

.country-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--deep);
  font-size: 1.15rem;
}

.country-grid p {
  margin: 0;
  color: var(--muted);
}

.model-hero::before {
  background:
    linear-gradient(90deg, rgba(3, 17, 16, 0.97), rgba(3, 17, 16, 0.72) 48%, rgba(3, 17, 16, 0.34)),
    linear-gradient(0deg, rgba(3, 17, 16, 0.86), rgba(3, 17, 16, 0.1)),
    url("Logo.png") center / cover no-repeat;
}

.model-stage {
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 166, 178, 0.12), transparent 30vw),
    radial-gradient(circle at 90% 18%, rgba(217, 255, 114, 0.18), transparent 26vw),
    #f7faf4;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.model-grid article {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 28px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.66)),
    radial-gradient(circle at 90% 0%, rgba(0, 166, 178, 0.2), transparent 34%);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.model-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--lime), var(--amber));
}

.model-grid span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--deep);
  color: var(--lime);
  font-weight: 950;
}

.model-grid p,
.model-grid li {
  color: var(--muted);
}

.model-grid ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.model-link {
  width: fit-content;
  margin-top: 18px;
}

.model-figure {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  margin: 22px 0;
  border: 1px solid rgba(8, 35, 31, 0.1);
  border-radius: 20px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 253, 249, 0.92)),
    radial-gradient(circle at 92% 10%, rgba(217, 255, 114, 0.22), transparent 30%);
  box-shadow: 0 18px 42px rgba(8, 35, 31, 0.1);
}

.model-diagram,
.agent-diagram {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 22px 0;
  border: 1px solid rgba(8, 35, 31, 0.08);
  border-radius: 20px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(6, 27, 25, 0.94), rgba(0, 166, 178, 0.72)),
    radial-gradient(circle at 92% 10%, rgba(217, 255, 114, 0.28), transparent 32%);
}

.model-diagram em,
.agent-diagram span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.model-diagram b,
.agent-diagram b {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--lime);
}

.graph-diagram,
.signal-diagram {
  position: relative;
  min-height: 142px;
  margin: 22px 0;
  overflow: hidden;
  border-radius: 20px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(6, 27, 25, 0.95), rgba(0, 166, 178, 0.66)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 42px);
}

.graph-diagram::before,
.signal-diagram::before {
  position: absolute;
  inset: 24px;
  content: "";
  background:
    linear-gradient(35deg, transparent 48%, rgba(217, 255, 114, 0.8) 49%, rgba(217, 255, 114, 0.8) 51%, transparent 52%),
    linear-gradient(145deg, transparent 48%, rgba(255, 255, 255, 0.35) 49%, rgba(255, 255, 255, 0.35) 51%, transparent 52%);
}

.graph-diagram i,
.signal-diagram i {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 22px;
  height: 22px;
  margin: 18px 13px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 8px rgba(217, 255, 114, 0.12);
}

.signal-diagram i {
  width: 12px;
  border-radius: 999px;
}

.signal-diagram i:nth-child(1) { height: 28px; }
.signal-diagram i:nth-child(2) { height: 44px; }
.signal-diagram i:nth-child(3) { height: 34px; }
.signal-diagram i:nth-child(4) { height: 66px; }
.signal-diagram i:nth-child(5) { height: 48px; }
.signal-diagram i:nth-child(6) { height: 76px; }
.signal-diagram i:nth-child(7) { height: 58px; }

.graph-diagram strong,
.signal-diagram strong {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 1;
  color: #ffffff;
  font-size: 0.88rem;
}

.agent-diagram {
  margin-bottom: 26px;
}

.workflow-section {
  background: #061b19;
  color: #ffffff;
}

.workflow-section .section-label {
  background: rgba(255, 255, 255, 0.12);
  color: var(--lime);
}

.workflow-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.workflow-track article {
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 80% 0%, rgba(217, 255, 114, 0.12), transparent 36%);
}

.workflow-track span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--deep);
  font-weight: 950;
}

.workflow-track p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.waterguard-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 166, 178, 0.16), transparent 30vw),
    #f9fbf6;
}

.waterguard-visual {
  display: grid;
  gap: 18px;
}

.waterguard-visual img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.agent-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.agent-capabilities span {
  border: 1px solid rgba(8, 35, 31, 0.1);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--forest);
  font-weight: 900;
}

.presentation-slides {
  background:
    radial-gradient(circle at 90% 10%, rgba(217, 255, 114, 0.18), transparent 30vw),
    linear-gradient(135deg, #061b19, #0b3b35);
  color: #ffffff;
}

.presentation-slides .section-label {
  background: rgba(255, 255, 255, 0.12);
  color: var(--lime);
}

.slide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.slide-grid article {
  display: grid;
  min-height: 260px;
  align-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
}

.slide-grid strong {
  color: var(--lime);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.slide-grid h3 {
  font-size: clamp(1.28rem, 2vw, 1.8rem);
}

.timeline article {
  display: flex;
  min-height: 286px;
  flex-direction: column;
}

.timeline time,
.education-list span,
.publication-list span,
.download-meta span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(0, 166, 178, 0.12);
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 950;
}

.timeline span {
  margin-top: auto;
  padding-top: 18px;
}

.education-section,
.affiliations-section {
  background: rgba(255, 255, 255, 0.52);
}

.publication-list article {
  min-height: 224px;
}

.downloads-section {
  background:
    radial-gradient(circle at 16% 12%, rgba(0, 166, 178, 0.1), transparent 26vw),
    #eef6ef;
}

.downloads-section .section-heading p:last-child {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
}

.download-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.publication-search-panel {
  display: grid;
  gap: 12px;
  margin: -6px 0 28px;
}

.publication-search {
  width: min(760px, 100%);
  min-height: 46px;
  border: 1px solid rgba(14, 43, 58, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
  box-shadow: 0 12px 28px rgba(14, 43, 58, 0.07);
}

.publication-search:focus {
  border-color: rgba(0, 166, 178, 0.42);
  outline: 3px solid rgba(0, 166, 178, 0.14);
}

.publication-keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.publication-keyword-chips button,
.publication-keyword {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  border: 1px solid rgba(0, 166, 178, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--deep);
  padding: 5px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.publication-keyword-chips button {
  cursor: pointer;
}

.publication-keyword-chips button:hover,
.publication-keyword-chips button:focus-visible {
  background: var(--deep);
  color: #ffffff;
  outline: none;
}

.publication-search-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.filter-button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(5, 32, 29, 0.06);
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.active {
  border-color: rgba(0, 166, 178, 0.28);
  background: var(--deep);
  color: #ffffff;
}

.download-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.download-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.preview-frame {
  position: relative;
  aspect-ratio: 4 / 3.15;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(0, 166, 178, 0.16), rgba(217, 255, 114, 0.12)),
    #edf2ec;
}

.preview-frame iframe,
.preview-frame img {
  width: 100%;
  height: 100%;
  border: 0;
}

.preview-frame img {
  display: block;
  object-fit: contain;
  object-position: top center;
  background: #ffffff;
  transition: transform 220ms ease, filter 220ms ease;
}

.preview-frame img + .paper-preview {
  display: none;
}

.download-card:hover .preview-frame img {
  transform: scale(1.025);
  filter: saturate(1.05) contrast(1.03);
}

.preview-frame::after {
  position: absolute;
  inset: auto 14px 14px auto;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(6, 27, 25, 0.78);
  color: #ffffff;
  content: "First page";
  font-size: 0.72rem;
  font-weight: 950;
  backdrop-filter: blur(10px);
}

.paper-preview {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  align-content: center;
  justify-items: start;
  overflow: hidden;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(6, 27, 25, 0.94), rgba(0, 166, 178, 0.72)),
    radial-gradient(circle at 86% 12%, rgba(217, 255, 114, 0.34), transparent 28%);
  color: #ffffff;
}

.paper-preview::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  content: "";
}

.paper-preview::after {
  position: absolute;
  right: 26px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.12);
  content: "AI";
  font-size: 6rem;
  font-weight: 950;
  line-height: 1;
}

.paper-preview span {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  color: var(--lime);
  font-size: 0.85rem;
  font-weight: 950;
}

.paper-preview strong {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.9;
}

.paper-preview p {
  position: relative;
  z-index: 1;
  max-width: 260px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.download-card-body {
  display: flex;
  min-height: 226px;
  flex-direction: column;
  padding: 20px;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.download-meta span {
  margin-bottom: 0;
  font-size: 0.76rem;
}

.download-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 18px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.download-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -6px 0 16px;
}

.download-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.mini-button {
  display: inline-flex;
  flex: 1;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 35, 31, 0.12);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--deep);
  font-weight: 950;
  text-align: center;
}

.mini-button.strong {
  border-color: transparent;
  background: linear-gradient(135deg, var(--lime), var(--amber));
  color: #1d2108;
}

.model-link,
.option-grid .mini-button {
  flex: 0 0 auto;
  width: fit-content;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(5, 32, 29, 0.06);
}

.cta-section,
.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  background:
    radial-gradient(circle at 90% 18%, rgba(217, 255, 114, 0.2), transparent 25vw),
    linear-gradient(135deg, #061b19, #0a5450 62%, #0c3b35);
  color: #ffffff;
}

.cta-section::before,
.contact-page::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}

.cta-section,
.contact-page {
  position: relative;
  overflow: hidden;
}

.cta-section .section-label,
.contact-page .section-label {
  background: rgba(255, 255, 255, 0.12);
  color: var(--lime);
}

.cta-section p,
.contact-page p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-card {
  display: grid;
  min-width: min(100%, 430px);
  padding: 24px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(18px, 4vw, 64px);
  background: #041311;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .hero,
  .intro-band,
  .cta-section,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    max-width: 720px;
  }

  .feature-grid,
  .feature-grid.four,
  .insight-strip,
  .country-grid,
  .model-grid,
  .workflow-track,
  .waterguard-section,
  .slide-grid,
  .service-grid,
  .case-study-grid,
  .topic-grid,
  .summary-grid,
  .interactive-grid,
  .option-grid,
  .impact-grid,
  .timeline,
  .publication-list,
  .education-list,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 780px;
    align-items: center;
  }

  .hero-logo-bg {
    right: -40px;
    top: 130px;
    opacity: 0.14;
  }

  .profile-panel div {
    grid-template-columns: 64px 1fr;
  }

  .feature-grid,
  .feature-grid.four,
  .insight-strip,
  .country-grid,
  .model-grid,
  .workflow-track,
  .waterguard-section,
  .slide-grid,
  .service-grid,
  .case-study-grid,
  .topic-grid,
  .summary-grid,
  .interactive-grid,
  .option-grid,
  .impact-grid,
  .timeline,
  .publication-list,
  .education-list,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .timeline article,
  .publication-list article {
    min-height: auto;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .download-card,
  .feature-grid article,
  .service-grid article,
  .case-study-grid article,
  .topic-grid article,
  .summary-grid article,
  .interactive-grid article,
  .option-grid article,
  .timeline article,
  .publication-list article,
  .education-list article {
    transition: none;
  }
}

/* 2026 modern portfolio refresh */
:root {
  --ink: #10201f;
  --muted: #5d6b68;
  --paper: #f4f7f3;
  --panel: #ffffff;
  --line: rgba(16, 32, 31, 0.12);
  --deep: #09211f;
  --forest: #123d37;
  --teal: #13a7a5;
  --mint: #bfe8d1;
  --lime: #d7f76b;
  --amber: #f8b84e;
  --coral: #df6f54;
  --shadow: 0 22px 52px rgba(15, 36, 34, 0.14);
  --soft-shadow: 0 12px 28px rgba(15, 36, 34, 0.08);
}

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 247, 243, 0.95)),
    url("753134.png") center top / 1200px auto no-repeat,
    #f4f7f3;
}

body::before {
  background-image:
    linear-gradient(rgba(16, 32, 31, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 31, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
}

.site-header {
  min-height: 68px;
  border-bottom-color: rgba(16, 32, 31, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(15, 36, 34, 0.06);
}

.brand-mark,
.nav a,
.button,
.profile-panel,
.feature-grid article,
.service-grid article,
.case-study-grid article,
.topic-grid article,
.summary-grid article,
.interactive-grid article,
.option-grid article,
.timeline article,
.publication-list article,
.education-list article,
.download-card,
.contact-card,
.country-grid article,
.model-grid article,
.workflow-track article,
.slide-grid article,
.waterguard-visual img,
.model-figure {
  border-radius: 8px;
}

.nav a {
  padding: 8px 12px;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.02;
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding-top: clamp(54px, 7vw, 98px);
}

.hero::before,
.page-hero::before {
  background:
    linear-gradient(90deg, rgba(5, 20, 19, 0.96), rgba(5, 20, 19, 0.72) 48%, rgba(5, 20, 19, 0.25)),
    url("753134.png") center / cover no-repeat;
}

.hero::after,
.page-hero::after {
  background:
    linear-gradient(120deg, rgba(19, 167, 165, 0.24), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 96px);
}

.hero-logo-bg {
  display: none;
}

.hero-home .hero-content::before {
  border-radius: 8px;
  content: "Climate AI | Hydrology | Smart Agriculture | Environmental Remediation";
}

.portrait-card {
  gap: 14px;
  align-content: start;
}

.portrait-card::before {
  content: "PROFILE SNAPSHOT";
}

.portrait-card img,
.portrait-fallback {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  object-fit: cover;
  object-position: center 28%;
  background: linear-gradient(135deg, rgba(19, 167, 165, 0.32), rgba(215, 247, 107, 0.18));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.portrait-fallback {
  display: none;
  place-items: center;
  color: var(--lime);
  overflow: hidden;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.profile-panel .portrait-fallback {
  grid-template-columns: 1fr;
  min-height: auto;
  padding: 0;
  background: linear-gradient(135deg, rgba(19, 167, 165, 0.32), rgba(215, 247, 107, 0.18));
}

.portrait-card.missing-photo .portrait-fallback {
  display: grid;
}

.portrait-name {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.profile-panel div {
  border-radius: 8px;
}

.intro-band,
.case-study-section,
.publication-topics-section,
.interactive-models-section,
.consultation-options,
.education-section,
.affiliations-section,
.lay-summary-section,
.model-stage,
.collaboration-section {
  background: rgba(255, 255, 255, 0.68);
}

.section,
.intro-band,
.cta-section {
  padding-block: clamp(54px, 7vw, 92px);
}

.section-heading {
  margin-bottom: 26px;
}

.profile-feature {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(9, 33, 31, 0.98), rgba(18, 61, 55, 0.9)),
    #09211f;
  color: #ffffff;
}

.profile-feature p:not(.section-label) {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.74);
}

.profile-feature-photo {
  padding: 16px;
}

.profile-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.profile-stat-row span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.profile-stat-row strong {
  display: block;
  color: var(--lime);
  font-size: 1.8rem;
  line-height: 1;
}

.feature-grid article::before,
.service-grid article::before,
.case-study-grid article::before,
.topic-grid article::before,
.summary-grid article::before,
.interactive-grid article::before,
.option-grid article::before,
.timeline article::before,
.publication-list article::before,
.education-list article::before,
.model-grid article::before {
  height: 3px;
}

.download-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.preview-frame,
.paper-preview::before {
  border-radius: 0;
}

.preview-frame::after,
.filter-button,
.publication-keyword-chips button,
.publication-keyword,
.timeline time,
.education-list span,
.publication-list span,
.download-meta span,
.case-study-grid span,
.topic-grid span,
.interactive-grid span,
.option-grid span,
.summary-grid span,
.tag-cloud span,
.agent-capabilities span {
  border-radius: 8px;
}

.cta-section,
.contact-page,
.impact-section,
.workflow-section,
.presentation-slides {
  background:
    linear-gradient(135deg, #071918, #123d37 62%, #0c5957),
    #09211f;
}

@media (max-width: 1080px) {
  .hero,
  .profile-feature {
    grid-template-columns: 1fr;
  }

  .portrait-card {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(2.9rem, 16vw, 4.8rem);
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .profile-panel div {
    grid-template-columns: 58px 1fr;
  }
}
