/* Global Settings */
:root {
  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --primary-color: #0a1733;
  --secondary-color: #1e3a8a;
  --accent-color: #3b82f6;
  --text-light: #ffffff;
}

body {
  background-color: #ffffff;
  color: #0a1733;
  font-family: var(--bs-body-font-family);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #0a1733;
}

/* Buttons & Interactive Elements */
.btn {
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 23, 51, 0.2);
}

.btn-primary {
  background-color: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #1e3a8a;
  border-color: #1e3a8a;
  color: #ffffff;
}

.btn-outline-light {
  border-color: #ffffff;
  color: #ffffff;
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
  background-color: #ffffff;
  color: #0a1733;
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(10, 23, 51, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #ffffff;
  color: #0a1733;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(10, 23, 51, 0.1);
}

.card-title {
  color: #0a1733;
  font-weight: 700;
}

.card-text {
  color: #0a1733;
}

/* Dark Sections */
.bg-dark-custom {
  background-color: #0a1733;
  color: #ffffff;
}

.bg-dark-custom h1,
.bg-dark-custom h2,
.bg-dark-custom h3,
.bg-dark-custom h4,
.bg-dark-custom h5,
.bg-dark-custom h6,
.bg-dark-custom p,
.bg-dark-custom li,
.bg-dark-custom span {
  color: #000000 !important;
}

.bg-secondary-custom {
  background-color: #1e3a8a;
  color: #ffffff;
}

.bg-secondary-custom h1,
.bg-secondary-custom h2,
.bg-secondary-custom h3,
.bg-secondary-custom h4,
.bg-secondary-custom h5,
.bg-secondary-custom h6,
.bg-secondary-custom p,
.bg-secondary-custom li,
.bg-secondary-custom span {
  color: #ffffff;
}

/* Form Controls */
.form-control {
  border-radius: 8px;
  border: 1px solid #ced4da;
}

.form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

/* Accordion */
.accordion-button {
  font-weight: 600;
  color: #0a1733;
  background-color: #ffffff;
}

.accordion-button:not(.collapsed) {
  background-color: #f0f7ff;
  color: #0a1733;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.accordion-body {
  background-color: #f8f9fa;
  color: #0a1733;
}

/* Utilities */
.text-accent {
  color: #3b82f6;
}

.bg-accent {
  background-color: #3b82f6;
}

/* Hero & Sections */
.hero-section {
  background-color: #ffffff;
  padding: 6rem 0;
}

.section-alt {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

/* Navbar specific overrides to ensure contrast */
.navbar-dark .navbar-nav .nav-link {
  color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #3b82f6;
}

.dropdown-menu {
  border: none;
}

.dropdown-item {
  color: #ffffff;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #3b82f6;
  color: #ffffff;
}

/* Footer Link Overrides */
footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  color: #3b82f6;
  text-decoration: underline;
}

/* Process Steps */
.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #3b82f6;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Carousel */
.carousel-item {
  padding: 4rem 2rem;
  text-align: center;
}

.carousel-control-prev, .carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #0a1733;
  border-radius: 50%;
  padding: 10px;
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease-in;
}

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

/* Cookie Banner */
#cookie-banner {
  transition: opacity 0.3s ease;
}

/* Accessibility Focus */
*:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.card img,
.bg-light img,
.container img {
  display: block;
  width: 100%;
  height: auto;
}
/* Font safety overrides */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
.navbar,
.btn,
input,
textarea,
select {
  font-family: var(--font-sans);
}
/* WP Generator feature helpers */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  z-index: 9999;
  transition: width 120ms ease-out;
}
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 9998;
}
.scroll-top.is-visible {
  opacity: 0.95;
  transform: translateY(0);
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

