@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

body {
  margin: 0;
  font-family: Inter, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--light-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header {
  padding: 2rem;
  text-align: center;
  background: #12273f;
}

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-content {
  background: linear-gradient(90deg, white, white);
  padding: 10rem;
  text-align: center;
  color: white;
}

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

.promo-content 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 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  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;
}
.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;
}
.center-header {
  text-align: center;
  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;
}

