:root {
  --blue-950: #04263a;
  --blue-900: #06344d;
  --blue-800: #075577;
  --blue-600: #0793bd;
  --cyan-500: #16c7e8;
  --cyan-300: #7be9f7;
  --green-600: #69a51f;
  --green-500: #86c53a;
  --ink: #16313e;
  --muted: #5f7480;
  --line: #dbeaf0;
  --surface: #f4fbfd;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(4, 38, 58, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ecfbff 0%, #ffffff 42%, #f7fcfd 100%);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  background: var(--blue-950);
}

.hero-banner img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  color: var(--white);
}

.brand {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--cyan-300);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover {
  color: var(--cyan-300);
  opacity: 1;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.2rem;
}

main {
  overflow: hidden;
}

.section,
.section-grid {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  padding: 64px 0 34px;
}

.intro-card,
.content-card,
.profile-card,
.institution-card,
.method-grid article,
.timeline-item,
.register-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.primary-card {
  padding: clamp(28px, 4vw, 54px);
  position: relative;
  overflow: hidden;
}

.primary-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 199, 232, 0.32), rgba(22, 199, 232, 0));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-600);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  color: var(--blue-950);
}

h1 {
  max-width: 850px;
  font-size: clamp(2.1rem, 6vw, 4.7rem);
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

p {
  margin: 0 0 16px;
}

.primary-card > p:not(.eyebrow) {
  max-width: 780px;
  margin-top: 20px;
  font-size: 1.12rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 12px 30px rgba(7, 147, 189, 0.28);
}

.btn-outline {
  color: var(--blue-900);
  border: 2px solid var(--cyan-500);
  background: rgba(22, 199, 232, 0.08);
}

.info-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.stat-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(4, 38, 58, 0.96), rgba(7, 85, 119, 0.96));
  color: var(--white);
  box-shadow: 0 12px 34px rgba(4, 38, 58, 0.18);
}

.stat-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan-300);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stat-card strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.15;
}

.section-heading {
  max-width: 870px;
  margin-bottom: 30px;
}

.section-heading > p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

.content-card {
  padding: clamp(24px, 4vw, 44px);
}

.two-columns {
  columns: 2 320px;
  column-gap: 42px;
}

.dark-section {
  width: 100%;
  max-width: none;
  padding: 88px max(16px, calc((100vw - var(--max-width)) / 2));
  background:
    radial-gradient(circle at 10% 10%, rgba(22, 199, 232, 0.24), transparent 35%),
    linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.section-heading.light h2,
.section-heading.light .eyebrow {
  color: var(--white);
}

.section-heading.light .eyebrow {
  color: var(--cyan-300);
}

.institution-grid,
.profile-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.institution-card {
  padding: 34px;
  background: rgba(255, 255, 255, 0.96);
}

.institution-card ul,
.accordion-list ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.institution-card li,
.accordion-list li {
  margin: 7px 0;
}

.objective-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.objective-list article {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.objective-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-600);
  font-weight: 900;
}

.objective-list p {
  margin: 0;
}

.profile-card {
  padding: 34px;
  min-height: 100%;
}

.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 850px;
}

th,
td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--white);
  background: var(--blue-900);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

tbody tr:hover {
  background: #f5fcff;
}

.highlight-row {
  background: rgba(134, 197, 58, 0.12);
  font-weight: 800;
}

.accordion-list {
  display: grid;
  gap: 14px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 30px rgba(4, 38, 58, 0.06);
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 22px 26px;
  color: var(--blue-950);
  font-size: 1.1rem;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--blue-600);
  font-size: 1.3rem;
}

details[open] summary::after {
  content: "–";
}

details p,
details ul {
  padding: 0 26px;
}

details p:last-child {
  padding-bottom: 22px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 105px;
  width: 3px;
  background: linear-gradient(var(--cyan-500), var(--green-500));
  border-radius: 999px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 26px;
  align-items: start;
  padding: 26px;
}

.date-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--green-600));
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 28px rgba(7, 147, 189, 0.22);
}

.timeline-item p:last-child,
.method-grid p:last-child,
.register-card p:last-child {
  margin-bottom: 0;
}

.final-item {
  background: linear-gradient(135deg, rgba(4, 38, 58, 0.96), rgba(7, 85, 119, 0.96));
  color: var(--white);
}

.final-item h3 {
  color: var(--white);
}

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

.method-grid article {
  padding: 26px;
  border-top: 5px solid var(--cyan-500);
}

.method-grid h3 {
  font-size: 1.05rem;
}

.accent-card {
  border-left: 8px solid var(--green-500);
  background: linear-gradient(135deg, var(--white), #f4fff1);
}

.register-section {
  padding-top: 28px;
}

.register-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  padding: clamp(26px, 5vw, 52px);
  background:
    radial-gradient(circle at 95% 10%, rgba(134, 197, 58, 0.18), transparent 32%),
    linear-gradient(135deg, var(--white), #f1fcff);
}

.register-details {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--blue-950);
  color: var(--white);
}

.register-details a:not(.btn) {
  color: var(--cyan-300);
  font-weight: 800;
}

.full-btn {
  width: 100%;
  margin-top: 10px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 30px max(16px, calc((100vw - var(--max-width)) / 2));
  color: var(--white);
  background: var(--blue-950);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--cyan-300);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 920px) {
  .section-grid,
  .register-card,
  .institution-grid,
  .profile-grid,
  .objective-list,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .info-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .navbar {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .hero-banner img {
    min-height: 180px;
  }

  .section {
    padding: 58px 0;
  }

  .section-grid {
    padding-top: 36px;
  }

  .info-panel {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2rem, 14vw, 3.2rem);
  }

  .primary-card,
  .content-card,
  .profile-card,
  .institution-card,
  .register-card {
    border-radius: 20px;
  }

  .cta-row .btn {
    width: 100%;
  }
}

@media print {
  .navbar,
  .cta-row,
  .footer {
    display: none;
  }

  body {
    background: var(--white);
    color: #000;
  }

  .section,
  .section-grid,
  .dark-section {
    width: 100%;
    padding: 24px 0;
  }

  .intro-card,
  .content-card,
  .profile-card,
  .institution-card,
  .method-grid article,
  .timeline-item,
  .register-card {
    box-shadow: none;
    border: 1px solid #bbb;
  }
}
