/* =============================================================
   BASE — Reset, CSS Variables, Typography, Buttons, Layout
   ============================================================= */

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ----- CSS Variables ----- */
:root {
  --primary:      #1a4fa0;
  --primary-dark: #0f3070;
  --primary-light:#2d6fd4;
  --accent:       #e8a020;
  --accent-dark:  #c47d0a;
  --text:         #1a1a2e;
  --text-muted:   #5a6478;
  --bg:           #ffffff;
  --bg-alt:       #f4f7fc;
  --bg-dark:      #0d1b3e;
  --border:       #dde3ef;
  --success:      #22c55e;
  --shadow:       0 4px 24px rgba(26,79,160,0.10);
  --shadow-lg:    0 12px 48px rgba(26,79,160,0.16);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.3s ease;
}

/* ----- Base ----- */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
img  { max-width: 100%; }

/* ----- Utilities ----- */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }

/* ----- Section Header ----- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(26,79,160,0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,79,160,0.3);
}

.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ----- Scrollbar & Selection ----- */
::selection { background: rgba(26,79,160,0.2); color: var(--text); }
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ----- Notification bell pulse ----- */
.nav-links a .fa-bell {
  animation: bellPulse 2.5s ease-in-out infinite;
  color: var(--accent);
}

@keyframes bellPulse {
  0%, 100% { transform: rotate(0deg); }
  10%       { transform: rotate(15deg); }
  20%       { transform: rotate(-12deg); }
  30%       { transform: rotate(10deg); }
  40%       { transform: rotate(-8deg); }
  50%       { transform: rotate(0deg); }
}
