/* Main site — jmportalservices.com */

.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #163D5E 100%);
  color: #fff;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}
.hero h1 { color: #fff; font-size: 2.6rem; letter-spacing: -0.02em; }
.hero .tagline { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin: 0.75rem auto 2rem; max-width: 540px; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ─── Projects section ─── */
.section { padding: 3.5rem 1.5rem; }
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title h2 { margin-bottom: 0.4rem; }
.section-title p  { color: var(--color-muted); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.project-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.project-card:hover {
  box-shadow: 0 8px 24px rgba(31,78,121,0.15);
  transform: translateY(-2px);
}
.project-card-header {
  padding: 1.4rem 1.5rem 1rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.project-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.project-icon-blue  { background: var(--color-primary-lt); }
.project-icon-green { background: var(--color-positive-bg); }
.project-card-header-text h3 { color: var(--color-primary); margin-bottom: 0.15rem; }
.project-card-header-text small { color: var(--color-muted); }
.project-card-body  { padding: 1.2rem 1.5rem; flex: 1; }
.project-card-body p { font-size: 0.92rem; color: var(--color-muted); margin-bottom: 1rem; }
.project-features   { list-style: none; padding: 0; margin-bottom: 1.2rem; }
.project-features li {
  font-size: 0.87rem;
  padding: 0.25rem 0;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.project-features li::before { content: '✓'; color: var(--color-positive); font-weight: 700; }
.project-card-footer { padding: 1rem 1.5rem 1.4rem; }

/* ─── Auth badge ─── */
.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2em 0.6em;
  border-radius: 99px;
  margin-top: 0.4rem;
}
.auth-badge-locked { background: var(--color-warning-bg); color: var(--color-warning); }
.auth-badge-open   { background: var(--color-positive-bg); color: var(--color-positive); }

/* ─── About section ─── */
.about-section {
  background: var(--color-primary);
  color: rgba(255,255,255,0.9);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.about-section h2 { color: #fff; margin-bottom: 0.75rem; }
.about-section p  { max-width: 580px; margin: 0 auto 1.5rem; font-size: 0.97rem; }
.about-contact { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.about-contact a { color: #fff; text-decoration: underline; }

@media (max-width: 520px) {
  .hero h1 { font-size: 1.9rem; }
  .project-grid { grid-template-columns: 1fr; }
}
