:root {
  --bg: white;
  --light-text: #e0e0e0;
  --accent: #0f766e;
  --card-bg: #1b2a41;
  --tag-bg: #23395d;
  --hover-accent: #14b8a6;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--light-text);
}

header {
  padding: 2rem;
  text-align: center;
  background: white;
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
  color: white;
}

header p {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-top: 0.5rem;
}

.main-nav {
  background: #12273f;
  display: flex;
  padding: 1.4rem;
  gap: 2rem;
  text-align: center;
  border: 0px solid white;
  justify-content: center;
  flex-direction: row
}

.main-nav a {
  color: #e0e0e0;
  background: #1b2a41;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  gap: 2rem;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid white;
  transition: background 0.3s, color 0.3s;
}

.main-nav a:hover {
  background: var(--hover-accent);
  color: white;
}

.promo {
  background: linear-gradient(90deg, #0f766e, #14b8a6);
  padding: 2rem;
  text-align: center;
  color: white;
}

.promo h2 {
  margin: 0 0 0.5rem 0;
}

.promo p {
  margin: 0;
  font-size: 1rem;
}

.promo-about {
  background: linear-gradient(90deg, #0f766e, #14b8a6);
  padding: 10rem;
  text-align: center;
  color: white;
}

.promo-about h2 {
  margin: 0 0 0.5rem 0;
}

.promo-about p {
  margin: 0;
  font-size: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
}

.tags span {
  background: var(--tag-bg);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #e2e8f0;
  border: 1px solid #334155;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
}

.tags span:hover {
  background: var(--hover-accent);
  color: white;
}

.dashboard-grid-horizontal{
  display: grid;
  gap: 2rem;
  padding: 2rem;
  max-width: 1800px;
  margin: auto;

  /* NEW ↓ two equal-width columns, shrink to one on narrow screens */
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
}

.dashboard-grid-vertical {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  max-width: 1800px;
  margin: auto;
}

.card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(255, 64, 129, 0.4);
}

.card img {
  width: 100%;
  border-radius: 8px;
}

.card h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
}

.card p {
  font-size: 0.9rem;
  color: #cbd5e1;
}

a.card {
  text-decoration: none;
  color: inherit;
  display: block;
  background: var(--card-bg);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

a.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(255, 64, 129, 0.4);
}

a.card h3 {
  color: white;
  text-decoration: none;
}

footer {
  background-color: #12273f;
  color: #cbd5e1;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 4rem;
}

footer a {
  color: #cbd5e1;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.top-auth-button {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: #14b8a6;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0px 4px rgba(0,0,0,0.2);
  z-index: 1;
}

.top-auth-button:hover {
  background: white;
  color: #14b8a6;
  transform: translateY(0px);
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  color: white;
  font-size: 1.4rem;
  margin: 0 0.5rem;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #10b981; /* hover turns green */
}

.title-bar-studies {
  height: 4px;
  width: 100%;
  background-color: #00bcd4; /* cyan / teal-blue */
  margin: 8px 0 20px 0;
  border-radius: 4px;
}

.title-bar-quick-insights {
  height: 4px;
  width: 100%;
  background-color: #00d435; /* cyan / teal-blue */
  margin: 8px 0 20px 0;
  border-radius: 4px;
}

.title-bar-dashboards {
  height: 4px;
  width: 100%;
  background-color: #d42000; /* cyan / teal-blue */
  margin: 8px 0 20px 0;
  border-radius: 4px;
}

.top-menu {
  width: 100%;
  background: linear-gradient(90deg, #0D1B2A, #1B263B);
  display: flex;
  position: fixed;
  justify-content: space-between; /* <<< This is the KEY */
  align-items: center;
  padding: 20px 32px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.menu-left a {
  color: white;
  text-decoration: none;
  margin-right: 20px;
  margin-left: 30px;
  font-size: 16px;
  font-weight: bold;
  font-family: 'Segoe UI', sans-serif;
  transition: color 0.3s;
}

.menu-left a:hover {
  color: #00b894;
}

.menu-right .login-button {
  background-color: #00b894;
  padding: 8px 16px;
  margin-right: 70px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  font-family: 'Segoe UI', sans-serif;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s;
}

.menu-right .login-button:hover {
  background-color: #019875;
}

.menu-icon {
  width: 29px;
  height: 29px;
  margin-right: 12px;
  vertical-align: middle;
}

.center-header {
  text-align: right;
  margin-top: 0px;
  color: white;
}

.logo-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* space between icon and text */
}

.logo-title img.header-logo {
  width: 46px;
  height: 46px;
}

.image_cover{
  border: 1px solid #00C3DB;   /* orange */
  border-radius: 12px;
}

 .plot-title{
    /* a deeper “rich” black, not #000 */
    position: relative;            /* establish containing block */
    color: #0a0a0d;                /* rich black from earlier */
    font-weight: 800;
    margin-bottom: 1.25rem; 
    font-family: 'Segoe UI';
    /* thin shadow gives the letters contrast pop */
    letter-spacing:.5px;
  }

.plot-title-bar   {                  /* pick a length */
  background: #545919;
  border-radius: 2px;
  margin-bottom: 1rem;           /* space before next section */
}

