/* ============================================================
   custom.css — PAVE Space
   Template: 2085_neuron (Bootstrap 3)
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --accent:       #1e3a5f;
  --accent-light: #2d5a8f;
  --text: #e2e8f0;
  --bg:           #0a0e1a;
}

/* ── Base / Body ────────────────────────────────────────────── */
body {
  background-color: #0a0e1a;
  color: #e2e8f0;
  font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
}

a {
  color: #7dd3fc;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: #bae6fd;
  text-decoration: none;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar.navbar-default {
  background: #0d1526;
  border-bottom: 1px solid #1e3a5f;
  border-top: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.navbar-default .navbar-brand {
  color: #e2e8f0;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #7dd3fc;
}

.navbar-default .navbar-nav > li > a {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #7dd3fc;
  background: transparent;
}

.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li.active > a:hover,
.navbar-default .navbar-nav > li.active > a:focus {
  color: #7dd3fc;
  background: transparent;
  border-bottom: 2px solid #7dd3fc;
}

.navbar-default .navbar-toggle {
  border-color: #1e3a5f;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #94a3b8;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #1e3a5f;
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero-section,
.tp-banner-container,
#hero {
  min-height: 100vh;
  position: relative;
  background-color: #060810;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(30, 58, 95, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(45, 90, 143, 0.2) 0%, transparent 50%);
  overflow: hidden;
}

/* Particle overlay effect */
.hero-section::before,
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(125, 211, 252, 0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 45%, rgba(125, 211, 252, 0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 25%, rgba(125, 211, 252, 0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 65%, rgba(125, 211, 252, 0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 35%, rgba(125, 211, 252, 0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 20% 80%, rgba(125, 211, 252, 0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 10%, rgba(125, 211, 252, 0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 70%, rgba(125, 211, 252, 0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 90%, rgba(125, 211, 252, 0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 50%, rgba(125, 211, 252, 0.5) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* ── Section Padding ────────────────────────────────────────── */
section {
  padding: 80px 0;
}

.page-header-section {
  padding: 60px 0 40px;
  background-color: #060810;
  border-bottom: 1px solid #1e3a5f;
}

.page-header-title {
  font-size: 42px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 12px;
}

.page-header-subtitle {
  font-size: 16px;
  color: #94a3b8;
  margin-bottom: 0;
}

.news-section {
  padding: 60px 0 80px;
  background-color: #0a0e1a;
}

/* ── CTA Secondary (white bg, dark text) ───────────────────── */
.cta-secondary {
  display: inline-block;
  background: #ffffff;
  color: #1e3a5f;
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #1e3a5f;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-secondary:hover,
.cta-secondary:focus {
  background: #f0f4f8;
  color: #1e3a5f;
  text-decoration: none;
}

/* Social icon circle buttons */
.social-icon-btn {
  display: inline-block;
  width: 38px;
  height: 38px;
  background: #1e3a5f;
  border-radius: 50%;
  text-align: center;
  line-height: 38px;
  color: #fff;
  margin-right: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.social-icon-btn:hover,
.social-icon-btn:focus {
  background: #2d5a8f;
  color: #fff;
  text-decoration: none;
}

.social-icon-btn:last-child {
  margin-right: 0;
}

/* ── Buttons (accent) ───────────────────────────────────────── */
.btn-primary,
.btn-accent,
a.btn-primary,
button.btn-primary {
  background-color: #1e3a5f;
  border-color: #1e3a5f;
  color: #e2e8f0;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-accent:hover,
.btn-accent:focus {
  background-color: #2d5a8f;
  border-color: #2d5a8f;
  color: #fff;
}

/* ── Card Styles (generic) ──────────────────────────────────── */
.card,
.feature-box,
.service-box {
  background: #0d1526;
  border: 1px solid #1e3a5f;
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.feature-box:hover,
.service-box:hover {
  border-color: #2d5a8f;
  box-shadow: 0 4px 24px rgba(30, 58, 95, 0.4);
}

/* ── News Cards ─────────────────────────────────────────────── */
.news-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #0d1526;
  border: 1px solid #1e3a5f;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.news-card:hover {
  border-color: #2d5a8f;
  box-shadow: 0 6px 30px rgba(30, 58, 95, 0.5);
  transform: translateY(-3px);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
  display: block;
}

.news-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 24px 24px;
}

.news-date {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: block;
}

.news-date .fa {
  margin-right: 5px;
  color: #7dd3fc;
}

.news-title {
  font-size: 17px;
  font-weight: 700;
  color: #e2e8f0;
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.news-read-more {
  display: inline-block;
  color: #7dd3fc;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
}

.news-read-more:hover,
.news-read-more:focus {
  color: #bae6fd;
  text-decoration: none;
}

.news-read-more .fa {
  margin-left: 5px;
  font-size: 12px;
}

/* ── Team Card ──────────────────────────────────────────────── */
.team-card {
  text-align: center;
  background: #0d1526;
  border: 1px solid #1e3a5f;
  border-radius: 8px;
  padding: 30px 24px;
  margin-bottom: 30px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  border-color: #2d5a8f;
  box-shadow: 0 4px 24px rgba(30, 58, 95, 0.4);
}

.team-card img,
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  border: 3px solid #1e3a5f;
}

.team-card h4 {
  color: #e2e8f0;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card .team-role {
  color: #7dd3fc;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.team-card p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: #060810;
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 1px solid #1e3a5f;
}

footer h3 {
  color: #e2e8f0;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

footer p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links li a {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links li a:hover,
.footer-links li a:focus {
  color: #7dd3fc;
  text-decoration: none;
}

.footer-copyright {
  color: #475569;
  font-size: 13px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #1e3a5f;
}

/* ── Headings & Typography ──────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  color: #e2e8f0;
}

.section-title {
  font-size: 34px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 16px;
}

.section-subtitle {
  color: #94a3b8;
  font-size: 16px;
  margin-bottom: 48px;
}

.text-accent {
  color: #7dd3fc;
}

/* ── Utility ────────────────────────────────────────────────── */
.divider-line {
  border: none;
  border-top: 1px solid #1e3a5f;
  margin: 40px 0;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .page-header-title {
    font-size: 28px;
  }

  section {
    padding: 50px 0;
  }

  .news-section {
    padding: 40px 0 60px;
  }

  .navbar-default .navbar-collapse {
    background: #0d1526;
    border-top: 1px solid #1e3a5f;
  }

  .news-card {
    margin-bottom: 24px;
  }
}
