/* style.css */

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

body {
  font-family: 'Calibri', sans-serif;
  margin: 0;
  padding: 0;
  /* full-screen dark gradient */
  background: linear-gradient(135deg, #102542 0%, #1e3a8a 100%);
  color: #f1f5f9;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  /* subtle mouse-trail light + dark overlay */
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    radial-gradient(circle at var(--x,50%) var(--y,50%), rgba(100,179,255,0.3) 0%, transparent 15%);
  z-index: 0;
  transition: background 0.1s ease;
}

header {
  background: transparent;
  text-align: center;
  padding: 1.2rem 07rem 0.5rem 0.7rem; /* LESS padding: top right bottom left */0
  position: relative;
  z-index: 1;
  animation: fadeInDown 1s ease both;
}

header h1 {
  font-size: 2.4rem;
  margin: 0 0 0.5rem;
  color: #e0f2fe;
}

header p {
  font-size: 1rem;
  font-weight: 300;
  color: #cbd5e1;
  margin: 0;
}

section {
  max-width: 800px;
  margin: 0.4rem auto;         /* LESS vertical margin */
  padding: 0.4rem 1.0rem;      /* LESS padding */
  background: rgba(15,31,58,0.84);
  border-radius: 8px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease both;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid #60a5fa;
  color: #93c5fd;
}

section p,
section ul {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #0f1f3a;
  color: #94a3b8;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0.2rem 0 1.2rem 0;
  font-size: 1.12rem;
}
.main-nav a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border 0.2s;
}
.main-nav a.active,
.main-nav a:hover {
  border-bottom: 2px solid #60a5fa;
  color: #e0f2fe;
}
html {
  scroll-behavior: smooth;
}

/* Utility */
a { color: #38bdf8; text-decoration: none; }
a:hover { text-decoration: underline; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
