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

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

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

.promo-about h2 {
  margin: 10 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 {
  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: 1rem 0rem;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 1rem;
}

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;
}

/* move the white text block ~18px upward */
.about-section { transform: translateY(-40px); }

/* tweak value between -10px and -30px */

.promo-about { padding: 4rem 1rem 5rem; }

/* Cards grid */
.about-cards{
  max-width: 1200px;
  margin: 5rem auto 0;
  padding: 0 12px;
  font-family: Inter, 'Segoe UI';
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1200px){ .about-cards{ grid-template-columns: repeat(3,1fr);} }

@media (max-width: 900px) { .about-cards{ grid-template-columns: repeat(2,1fr);} }

@media (max-width: 560px) { .about-cards{ grid-template-columns: 1fr; } }

/* Card shell with gradient border */
.about-card{
  position: relative;
  border-radius: 16px;
  padding: 22px 22px 18px;
  text-align: left;
  color: #fff;
  background: white;
  border: 2px solid transparent;
  background-image:
    linear-gradient(white, white),
    linear-gradient(135deg, #10857B);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 12px 24px rgba(0,0,0,.16);
  transition: transform .2s ease, box-shadow .2s ease;
  font-family: Inter, 'Segoe UI';
}

.about-card h3{
  margin: 18px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 800;
  font-family: Inter, 'Segoe UI';
  color: #404040;
}

.about-card p{
  margin: 0 0 16px;
  font-size: .95rem;
  font-family: Inter, 'Segoe UI';
  color: #404040;
  opacity: .95;
}

/* Primary filled gradient card (like your screenshot's first gradient tile) */
.about-card.primary{
  border: none;
  background: linear-gradient(135deg, #10857B,#10857B);
}

/* Icon badge */
.icon-badge{
  position: absolute;
  top: -18px; left: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: #D9D9D9;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  font-family: Inter, 'Segoe UI';
}

.icon-badge i{ font-size: 18px; }

/* CTA */
.about-card .more{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 10px;
  background: #fff; color: #D9D9D9; text-decoration: none; font-weight: 600; font-family: Inter, 'Segoe UI';
}

.about-card .more:hover{ filter: brightness(.95); }

.about-card h3 .num{
  color: #10857B;          /* or #10b981 or var(--hover-accent) */
  font-weight: 900;        /* optional */
  font-size: 1.85rem;
}
