/* 1. Import modern, readable Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Roboto:wght@300;400&display=swap');

/* 2. Base Page Layout */
body {
  background-color: #f9fafb;          /* very light neutral gray */
  color: #222;                        /* dark gray text for good contrast */
  font-family: 'Roboto', sans-serif;  /* clean body font */
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;            /* centers content container horizontally */
}

/* 3. Main Content Container */
.container {
  width: 80%;                         /* keeps content away from screen edges */
  max-width: 1200px;
  padding: 40px 0;
}

/* 4. Title and Headers */
h1, h2 {
  font-family: 'Montserrat', sans-serif;  /* modern, bold header font */
  text-align: center;
  color: #1e3a8a;                          /* rich blue for accents */
  margin-bottom: 15px;
}

h1 {
  font-size: 2.2em;
  margin-top: 0;
  margin-bottom: 30px;
}

h2 {
  font-size: 1.6em;
  border-bottom: 2px solid rgba(30, 58, 138, 0.125);      /* subtle line under headers */
  padding-bottom: 6px;
  margin-top: 40px;
}

/* 5. Descriptive Text Boxes */
p {
  line-height: 1.6;
  font-size: 1.05em;
  max-width: 800px;
  margin: 20px auto;                     /* centers paragraphs */
  background-color: white;
  border-radius: 8px;
  padding: 16px 22px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08); /* subtle shadow for lift */
  text-align: center;
}

/* 6. Embedded Charts */
iframe {
  display: block;
  margin: 0 auto 50px auto;   /* centers charts and adds spacing */
  margin: 50px auto;   /* centers charts and adds spacing */
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  width: 100%;
  height: 620px;
  overflow: hidden;
}

.iframe-row {
  display: flex;
  justify-content: space-between;
  gap: 0px; /* spacing between the two iframes */
}

.iframe-row iframe {
  width: 48%; /* or flex: 1; to share space equally */
}

/* bubble Chart */
iframe[src*="bubble.html"] {
  width: 100%;
  max-width: 1050px;
  height: 100%;
  max-height: 750px;
}

/* 7. Footer */
footer {
  text-align: center;
  font-size: 0.9em;
  color: #555;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid #ddd;
}

/* 8. Hover Interactivity for polish */
iframe:hover {
  transform: scale(1.002);
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.intro {
  /* cancel inherited box styles */
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;

  /* custom style */
  font-size: 1.15em;
  line-height: 1.5;
  color: #444;
  text-align: left;
  margin: 0 auto;
  margin-top: 0.75em;
  max-width: 1000px;
  font-weight: 300;
  letter-spacing: 0.2px;
}

.intro-bullet {
  font-size: 1.15em;
  line-height: 1.5;
  color: #444;
  text-align: left;
  margin: 0 auto;
  max-width: 1000px;
  font-weight: 300;
  letter-spacing: 0.2px;
}

ul {
    list-style-type: disc;
    padding-left: 100px; /* Indent the entire list */
}

ul ul {
    list-style-type: circle; /* Open circle for sub-list */
    padding-left: 50px;
}

.iframe-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem; /* space between charts */
}