/* Global defaults, variables, typography, and layout helpers shared by every page */

:root {
  --primary: #1f5fbf;
  --primary-dark: #0f3f83;
  --accent: #e8f2ff;
  --text: #18324a;
  --muted: #5d7288;
  --background: #f8fbff;
  --white: #ffffff;
  --border: #dbe8f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Buttons — reused across pages (currently index.html, but generic enough for any page) */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.75rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid transparent;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--primary-dark);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

/* Card — shared "panel" look previously duplicated across .highlight-card,
   .detail-card, .info-card, and .cta-panel. Add class="card" alongside a
   page-specific class to get the base look, then let the page-specific
   class handle layout (grid columns, gap, etc). */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(15, 63, 131, 0.06);
  padding: 1.8rem;
}

.card h2,
.card h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

.card p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

/* Page-specific: used on the contact page, kept here since it isn't header/footer */
.contact-section {
  margin-left: 40px; /* Increase or decrease this number until it looks right */
}

@media (max-width: 765px) {
  .contact-section {
    margin-left: 0; /* Reset margin for smaller screens */
    /* text-align: center;*/ /* Center the content */
  }
}