/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fafafa;
}

/* Container */
.container {
  width: 200%;
  max-width: 1223px;
  margin: auto;
  padding: 20px;
}

/* Header */
header {
  background: #1e3a8a; /* deep blue */
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  border-bottom: 4px solid #2563eb;
}

header h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

header h2 {
  font-size: 1.2em;
  font-weight: 400;
}

.authors {
  margin-top: 10px;
  font-size: 0.9em;
  color: #e0e7ff;
}

/* Sections */
section {
  margin: 40px 0;
}

section h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #1e3a8a;
  border-left: 4px solid #2563eb;
  padding-left: 10px;
}

/* section p, section ul, section table {
  margin-left: 10px;
} */

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

th, td {
  border: 1px solid #ddd;
  padding: 10px;
}

th {
  background: #2563eb;
  color: white;
  text-align: left;
}

/* Links */
a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  background: #1e3a8a;
  color: #fff;
  padding: 20px;
  margin-top: 40px;
}


/* Hero Header */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
}

.hero h1 {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}

.authors {
  font-size: 1em;
  margin-bottom: 10px;
  line-height: 1.6;
}

.authors a {
  color: #2563eb; /* blue like in screenshot */
  text-decoration: none;
}

.authors a:hover {
  text-decoration: underline;
}

.affiliations {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 20px;
}

.buttons {
  margin-top: 20px;
}

.btn {
  display: inline-block;
  background: #333;
  color: #fff;
  padding: 10px 18px;
  margin: 5px;
  border-radius: 25px;
  font-size: 0.95em;
  text-decoration: none;
  transition: background 0.2s;
}

.btn:hover {
  background: #2563eb;
}


/* Infographic Section */

.infographic {
  background: #f9fafb;
  /* padding: 60px 20px; */
}

.infographic-fed {
  background: #f9fafb;
  /* padding: 60px 20px; */
}

.infographic h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
  color: #1e3a8a;
}

.infographic p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #444;
}

/* Grid Layout */
.infographic .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.infographic .card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  text-align: left;
}

.infographic .card h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #2563eb;
}

.infographic .card p, 
.infographic .card ul {
  font-size: 0.95em;
  color: #333;
}

.infographic .card ul {
  padding-left: 18px;
}

.infographic .wide {
  grid-column: span 2;
}

.figure {
  text-align: center;
  margin: 30px 0;
}

.figure img {
  max-width: 90%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.system-figure {
  text-align: center;
  margin: 30px 0px;
}

.system-figure img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.caption {
  font-size: 0.85em;
  color: #555;
  margin-top: 8px;
}

.architecture {
  background: #f9fafb;
  /* padding: 60px 20px; */
}

.architecture h2 {
  text-align: center;
  font-size: 2em;
  color: #1e3a8a;
  margin-bottom: 20px;
}

.architecture p {
  text-align: center;
  margin-bottom: 30px;
  color: #444;
}

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

.architecture .card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.results table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 0.9em;
}

.results table th, 
.results table td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: center;
}

.results table th {
  background-color: #1e3a8a;
  color: white;
}

.results table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.results table tr:hover {
  background-color: #f1f5f9;
}

.gif-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.gif-container img {
  max-width: 300px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


/* Two-column layout for large screens */
.two-column {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Each column takes half width on desktop */
.two-column .column {
  flex: 1;
  min-width: 350px; /* allow shrinking for tablets */
}

/* Make images responsive */
.figure img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* Mobile view: stack vertically */
@media (max-width: 768px) {
  .two-column {
    flex-direction: column;
  }
  .two-column .column {
    min-width: 100%;
  }
}

/* Base styling */
.architecture {
  background: #f9fafb;
  padding: 60px 20px;
}

.architecture h2 {
  text-align: center;
  font-size: 2em;
  color: #1e3a8a;
  margin-bottom: 20px;
}

.system-figure {
  text-align: center;
  margin: 20px auto;
  max-width: 800px;
}

.system-figure img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.system-figure .caption {
  font-size: 0.9em;
  color: #555;
  margin-top: 8px;
}

/* Grid layout */
.architecture .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.architecture .card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.architecture .card:hover {
  transform: translateY(-4px);
}

/* Responsive typography */
.architecture p, 
.architecture ul, 
.architecture ol {
  color: #444;
  line-height: 1.6;
  font-size: 1em;
}

.architecture h3 {
  color: #1e40af;
  margin-bottom: 10px;
  font-size: 1.2em;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .architecture h2 {
    font-size: 1.6em;
  }

  .architecture .grid {
    grid-template-columns: 1fr;
  }
}

.datasets {
  padding: 60px 20px;
  background: #f9fafb;
}

.datasets h2 {
  text-align: center;
  font-size: 2em;
  color: #1e3a8a;
  margin-bottom: 20px;
}

.datasets p {
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
  color: #444;
}

.datasets ul {
  max-width: 800px;
  margin: 0 auto 30px;
  color: #444;
  line-height: 1.6;
}

.table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.table-wrapper {
  overflow-x: auto; /* adds scroll on small screens */
}

.datasets table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}

.datasets table th,
.datasets table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.datasets table th {
  background: #1e3a8a;
  color: #fff;
}

.datasets table tr:nth-child(even) {
  background: #f2f2f2;
}

.datasets table caption {
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 1em;
  color: #1e40af;
}

/* Mobile-specific tweaks */
@media (max-width: 768px) {
  .datasets h2 {
    font-size: 1.6em;
  }
  .datasets table {
    font-size: 0.85em;
  }
}

